Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 09:05:21 +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: r417759 - head/games/cre
Message-ID:  <201606290905.u5T95LPp024779@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}
 



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