svn commit: r335902 - head/misc/geekcode

Danilo Egea Gondolfo danilo at FreeBSD.org
Sun Dec 8 15:08:10 UTC 2013


Author: danilo
Date: Sun Dec  8 15:08:09 2013
New Revision: 335902
URL: http://svnweb.freebsd.org/changeset/ports/335902

Log:
  - Add stage support
  - Add LICENSE

Modified:
  head/misc/geekcode/Makefile

Modified: head/misc/geekcode/Makefile
==============================================================================
--- head/misc/geekcode/Makefile	Sun Dec  8 15:03:15 2013	(r335901)
+++ head/misc/geekcode/Makefile	Sun Dec  8 15:08:09 2013	(r335902)
@@ -9,19 +9,16 @@ MASTER_SITES=	SF
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Geek Code Generator
 
+LICENSE=	GPLv2
+
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 
 PLIST_FILES=	bin/geekcode
 PORTDOCS=	geekcode.txt
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/geekcode.txt ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/geekcode.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list