aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-06-29 17:05:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-06-29 17:05:20 +0800
commita4e9155d2039d890617f901c6e370881b4aa5d74 (patch)
tree109ef9991c9cde38096f534def93e30aa94384b6 /games
parent70beb54e100fece8b2fce42a04811d676b54d850 (diff)
downloadfreebsd-ports-gnome-a4e9155d2039d890617f901c6e370881b4aa5d74.tar.gz
freebsd-ports-gnome-a4e9155d2039d890617f901c6e370881b4aa5d74.tar.zst
freebsd-ports-gnome-a4e9155d2039d890617f901c6e370881b4aa5d74.zip
- Fix license
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r--games/cre/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/cre/Makefile b/games/cre/Makefile
index 262942db51bd..6f24af08c4a1 100644
--- a/games/cre/Makefile
+++ b/games/cre/Makefile
@@ -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}