svn commit: r417759 - head/games/cre

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 29 09:05:22 UTC 2016


Author: amdmi3
Date: Wed Jun 29 09:05:20 2016
New Revision: 417759
URL: https://svnweb.freebsd.org/changeset/ports/417759

Log:
  - Fix license
  - Switch to options helpers

Modified:
  head/games/cre/Makefile

Modified: head/games/cre/Makefile
==============================================================================
--- head/games/cre/Makefile	Wed Jun 29 06:00:56 2016	(r417758)
+++ head/games/cre/Makefile	Wed Jun 29 09:05:20 2016	(r417759)
@@ -11,7 +11,9 @@ DISTNAME=	${PORTNAME}_${DISTVERSION}_src
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Corewars Redcode Evolver
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+ PD
+LICENSE_COMB=	multi
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYING.TXT
 
 USES=		dos2unix
 DOS2UNIX_GLOB=	*.txt
@@ -19,8 +21,9 @@ NO_WRKSUBDIR=	yes
 BUILD_WRKSRC=	${WRKSRC}/src
 
 PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	CRE_Manual.txt Exhaust_README.txt
 
-PORTDOCS=	*.txt
+OPTIONS_DEFINE=	DOCS
 
 post-extract:
 	@${CP} ${FILESDIR}/${MAKEFILE} ${BUILD_WRKSRC}
@@ -36,6 +39,8 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-head mailing list