2013-09-20 17:04:43 +00:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2001-02-13 11:41:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gtgt
|
2009-02-20 16:32:18 +00:00
|
|
|
PORTVERSION= 3.2.0
|
2001-02-13 11:41:08 +00:00
|
|
|
CATEGORIES= devel
|
2007-09-03 09:19:20 +00:00
|
|
|
MASTER_SITES= SF
|
2001-02-13 11:41:08 +00:00
|
|
|
|
2001-06-22 06:04:55 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= General (or GNU) template generation tools
|
2001-02-13 11:41:08 +00:00
|
|
|
|
2009-02-20 16:32:18 +00:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2001-02-13 11:41:08 +00:00
|
|
|
|
2007-09-03 09:19:20 +00:00
|
|
|
PORTDOCS= autoconf.html automake.html \
|
|
|
|
company-license.long company-license.short \
|
|
|
|
gtgt.gif gtgt.html gtgt.txt \
|
|
|
|
index.html libtool.html
|
2009-02-20 16:32:18 +00:00
|
|
|
PLIST_FILES= ${SCRIPTS:S/^/bin\//}
|
|
|
|
|
|
|
|
SCRIPTS= gcng gptg gscg
|
|
|
|
|
2013-09-20 17:04:43 +00:00
|
|
|
NO_STAGE= yes
|
2009-02-20 16:32:18 +00:00
|
|
|
post-patch:
|
|
|
|
.for file in ${SCRIPTS}
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^#!.*|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/scripts/${file}
|
|
|
|
.endfor
|
2007-09-03 09:19:20 +00:00
|
|
|
|
|
|
|
do-install:
|
2009-02-20 16:32:18 +00:00
|
|
|
.for file in ${SCRIPTS}
|
2007-09-03 09:19:20 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2005-10-16 15:31:03 +00:00
|
|
|
|
2001-02-13 11:41:08 +00:00
|
|
|
.include <bsd.port.mk>
|