aboutsummaryrefslogtreecommitdiff
path: root/devel/bpython
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-23 17:22:27 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-23 17:22:27 +0000
commit02d82fe9365c4685fd80ce39b896b99b1dad4f04 (patch)
treeb18ac62cb01732c0aedde0811d6c88fd1704523b /devel/bpython
parent981bc1102bce50c92ef7b117c746475b240c7947 (diff)
downloadports-02d82fe9365c4685fd80ce39b896b99b1dad4f04.tar.gz
ports-02d82fe9365c4685fd80ce39b896b99b1dad4f04.zip
Notes
Diffstat (limited to 'devel/bpython')
-rw-r--r--devel/bpython/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile
index e658f6705e92..15e8b54ca3ad 100644
--- a/devel/bpython/Makefile
+++ b/devel/bpython/Makefile
@@ -17,7 +17,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:${PORTSDIR}/textproc/py-sphinx
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=0:${PORTSDIR}/textproc/py-pygments
OPTIONS_DEFINE= EXAMPLES NLS
+OPTIONS_SUB= yes
+NO_STAGE= yes
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYDISTUTILS_BUILD_TARGET= build bdist_egg
@@ -26,15 +28,9 @@ MAN1= bpython.1
MAN5= bpython-config.5
PORTEXAMPLES= light.theme sample-config sample.theme
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+NLS_USES= gettext
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/build\/man\/bpython/d; /data\/bpython.desktop/d' ${WRKSRC}/${PYSETUP}