Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2015 12:14:12 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404848 - head/textproc/pootle
Message-ID:  <201512301214.tBUCECHS058949@repo.freebsd.org>

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



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