# ex:ts=8 # New ports collection makefile for: gtgt # Date created: Feb 13, 2001 # Whom: Ying-Chieh Liao # # $FreeBSD: ports/devel/gtgt/Makefile,v 1.15 2012/11/17 05:55:46 svnexp Exp $ # PORTNAME= gtgt PORTVERSION= 3.2.0 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= General (or GNU) template generation tools RUN_DEPENDS= bash:${PORTSDIR}/shells/bash NO_BUILD= yes PORTDOCS= autoconf.html automake.html \ company-license.long company-license.short \ gtgt.gif gtgt.html gtgt.txt \ index.html libtool.html PLIST_FILES= ${SCRIPTS:S/^/bin\//} SCRIPTS= gcng gptg gscg post-patch: .for file in ${SCRIPTS} @${REINPLACE_CMD} -e \ 's|^#!.*|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/scripts/${file} .endfor do-install: .for file in ${SCRIPTS} ${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 .include