summaryrefslogtreecommitdiff
path: root/devel/terminality/Makefile
blob: a5a6e54c2f8cabf7cb86baf7067beb6968f97f39 (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.9
CATEGORIES=	devel
MASTER_SITES= 	http://members.optushome.com.au/darkmoon7/
DISTNAME=	tn-${PORTVERSION}

MAINTAINER=	ports@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

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

.include <bsd.port.mk>