summaryrefslogtreecommitdiff
path: root/devel/terminality/Makefile
blob: 74043f8960504f98702d41b5984f293d46c550c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ex:ts=8
# New ports collection makefile for:	terminality
# Date created:			Apr 28, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	terminality
PORTVERSION=	1.8
CATEGORIES=	devel
MASTER_SITES= 	http://members.optushome.com.au/darkmoon7/
DISTNAME=	tn-${PORTVERSION}

MAINTAINER=	ijliao@FreeBSD.org

WRKSRC=		${WRKDIR}/tn
USE_GMAKE=	yes
MAKE_ENV=	CPP=${CXX} INSTALL="${INSTALL}" INSTALL_DATA="${INSTALL_DATA}"

post-patch:
	@find ${WRKSRC} -name Makefile | xargs \
		${PERL} -pi -e "s, -lstdc\\+\\+,,g"
	@${PERL} -pi -e "s,make,gmake,g ; \
		s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/terminality
	${CP} -R ${WRKSRC}/doc/ ${PREFIX}/share/doc/terminality
.endif

.include <bsd.port.mk>