From a8f2f7c9dbfd99c7f1be6ef0fee4dfa2091af15b Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 27 Nov 2015 11:27:27 +0000 Subject: - Add LICENSE - Add NO_ARCH - Switch to options helpers - Fix installation: no files were installed --- devel/gtgt/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'devel') diff --git a/devel/gtgt/Makefile b/devel/gtgt/Makefile index ba7f4166cd53..1077a9115d52 100644 --- a/devel/gtgt/Makefile +++ b/devel/gtgt/Makefile @@ -3,6 +3,7 @@ PORTNAME= gtgt PORTVERSION= 3.2.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF @@ -11,23 +12,29 @@ COMMENT= General (or GNU) template generation tools RUN_DEPENDS= bash:${PORTSDIR}/shells/bash +LICENSE= GPLv2 # or later (though COPYING has GPLv3) + USES= shebangfix NO_BUILD= yes +NO_ARCH= 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 -SHEBANG_FILES= scripts/gcng scripts/gptg scripts/gscg +PLIST_FILES= ${SCRIPTS:S/^/bin\//} +SHEBANG_FILES= ${SCRIPTS:S/^/scripts\//} OPTIONS_DEFINE= DOCS do-install: .for f in ${SCRIPTS} - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${f} ${STAGEDIR}${PREFIX}/bin .endfor + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} -- cgit