svn commit: r404848 - head/textproc/pootle
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Dec 30 12:14:13 UTC 2015
Author: sunpoet
Date: Wed Dec 30 12:14:12 2015
New Revision: 404848
URL: https://svnweb.freebsd.org/changeset/ports/404848
Log:
- Add NO_ARCH
- Add DOCS to OPTIONS_DEFINE
- Convert to new options target helper
Approved by: portmgr (blanket)
Modified:
head/textproc/pootle/Makefile
Modified: head/textproc/pootle/Makefile
==============================================================================
--- head/textproc/pootle/Makefile Wed Dec 30 12:14:07 2015 (r404847)
+++ head/textproc/pootle/Makefile Wed Dec 30 12:14:12 2015 (r404848)
@@ -28,6 +28,7 @@ RUN_DEPENDS= translate-toolkit>=1.11.0:$
# actually diff-match-patch is a dependency of translate-toolkit,
# but only this port uses it.
+NO_ARCH= yes
USES= gettext python tar:bzip2
USE_PYTHON= autoplist distutils
@@ -42,7 +43,7 @@ SUB_LIST+= PYTHON_CMD="${PYTHON_CMD}"
PORTDOCS= CREDITS INSTALL LICENSE
-OPTIONS_DEFINE= LDAP MEMCACHED MYSQL PGSQL
+OPTIONS_DEFINE= DOCS LDAP MEMCACHED MYSQL PGSQL
OPTIONS_DEFAULT=MEMCACHED MYSQL
MEMCACHED_DESC= Use memcached to improve performance
@@ -67,7 +68,7 @@ pre-configure:
-e "s/,<1.5//g" \
${WRKSRC}/requirements/base.txt
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}/${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}/${DOCSDIR}
More information about the svn-ports-all
mailing list