diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-04 10:48:50 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-04 10:48:50 +0000 |
commit | 0c06111c464371ac05e6e30d841fc4e86a2d5700 (patch) | |
tree | aea79b8d9b683f52f70634531007aeb451f8f1ed /security/cfv | |
parent | 60820d612b8a6b4b5700dd02145552bb0d6011f2 (diff) | |
download | ports-0c06111c464371ac05e6e30d841fc4e86a2d5700.tar.gz ports-0c06111c464371ac05e6e30d841fc4e86a2d5700.zip |
Notes
Diffstat (limited to 'security/cfv')
-rw-r--r-- | security/cfv/Makefile | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/security/cfv/Makefile b/security/cfv/Makefile index 6e800c7f305d..79093f344ad8 100644 --- a/security/cfv/Makefile +++ b/security/cfv/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: cfv -# Date created: Jul 20, 2001 -# Whom: ijliao -# +# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> # $FreeBSD$ -# PORTNAME= cfv PORTVERSION= 1.18.3 @@ -22,25 +17,18 @@ INSTALL_TARGET= install-wrapper MAN1= cfv.1 -OPTIONS= # start blank to enable it through the pre.mk fence +OPTIONS_DEFINE_i386= PSYCO +PSYCO_DESC= Enable devel/py-psyco optimization support post-patch: @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if ${ARCH} == "i386" -OPTIONS+= PSYCO "Enable devel/py-psyco optimization support" off -.else -.undef WITH_PSYCO - -WITHOUT_PSYCO= yes -.endif - -.if defined(WITH_PSYCO) +.if ${PORT_OPTIONS:MPSYCO} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco EXTRA_PATCHES+= ${FILESDIR}/extra-psyco-patch-Makefile .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |