Date: Wed, 2 Jul 2014 06:40:05 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360140 - head/textproc/py-reverend Message-ID: <201407020640.s626e5IC071712@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Wed Jul 2 06:40:04 2014 New Revision: 360140 URL: http://svnweb.freebsd.org/changeset/ports/360140 QAT: https://qat.redports.org/buildarchive/r360140/ Log: 1: Stagify. 2: use options helper. Approved by: portmgr@ (blanket approval) Modified: head/textproc/py-reverend/Makefile head/textproc/py-reverend/pkg-descr Modified: head/textproc/py-reverend/Makefile ============================================================================== --- head/textproc/py-reverend/Makefile Wed Jul 2 06:35:18 2014 (r360139) +++ head/textproc/py-reverend/Makefile Wed Jul 2 06:40:04 2014 (r360140) @@ -14,21 +14,16 @@ COMMENT= A simple Bayesian classifier wr USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= Reverend +OPTIONS_DEFINE= EXAMPLES EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -.if defined(WITHOUT_EXAMPLES) -PORTEXAMPLES= "@comment " -.else -PORTEXAMPLES= "" -.endif -PLIST_SUB= PORTEXAMPLES=${PORTEXAMPLES} +.include <bsd.port.options.mk> -NO_STAGE= yes post-install: -.if !defined(WITHOUT_EXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include <bsd.port.mk> Modified: head/textproc/py-reverend/pkg-descr ============================================================================== --- head/textproc/py-reverend/pkg-descr Wed Jul 2 06:35:18 2014 (r360139) +++ head/textproc/py-reverend/pkg-descr Wed Jul 2 06:40:04 2014 (r360140) @@ -11,4 +11,4 @@ Stuff you can do with the Reverend: * is your code more like Guido's or Peter's Author: Amir Bakhtiar -WWW: http://www.divmod.org/trac/wiki/DivmodReverend +WWW: http://www.divmod.org/trac/wiki/DivmodReverend
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407020640.s626e5IC071712>