Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2015 11:27:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402484 - head/devel/gtgt
Message-ID:  <201511271127.tARBRRbZ001288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Nov 27 11:27:27 2015
New Revision: 402484
URL: https://svnweb.freebsd.org/changeset/ports/402484

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Switch to options helpers
  - Fix installation: no files were installed

Modified:
  head/devel/gtgt/Makefile

Modified: head/devel/gtgt/Makefile
==============================================================================
--- head/devel/gtgt/Makefile	Fri Nov 27 11:27:05 2015	(r402483)
+++ head/devel/gtgt/Makefile	Fri Nov 27 11:27:27 2015	(r402484)
@@ -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 gener
 
 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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511271127.tARBRRbZ001288>