svn commit: r401378 - head/textproc/yould
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Nov 12 17:21:44 UTC 2015
Author: amdmi3
Date: Thu Nov 12 17:21:43 2015
New Revision: 401378
URL: https://svnweb.freebsd.org/changeset/ports/401378
Log:
- Add LICENSE
- Add NO_ARCH
- Optionize DOCS
- Switch to options helpers
Modified:
head/textproc/yould/Makefile
Modified: head/textproc/yould/Makefile
==============================================================================
--- head/textproc/yould/Makefile Thu Nov 12 17:21:27 2015 (r401377)
+++ head/textproc/yould/Makefile Thu Nov 12 17:21:43 2015 (r401378)
@@ -10,12 +10,19 @@ MASTER_SITES= CHEESESHOP/source/y/${PORT
MAINTAINER= ports at FreeBSD.org
COMMENT= Pronounceable word generator
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= python
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
PORTDOCS= NEWS.txt README.txt
-post-install:
- @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
- @cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list