diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-06-29 09:05:20 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-06-29 09:05:20 +0000 |
commit | 7f89961aed3fcc06e45845c137e00ed7a5b84e0a (patch) | |
tree | 109ef9991c9cde38096f534def93e30aa94384b6 /games | |
parent | 3124f36a1dac97e0c20f96eaaed0164566fd3e4a (diff) |
- Fix license
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=417759
Diffstat (limited to 'games')
-rw-r--r-- | games/cre/Makefile | 9 |
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} |