Date: Wed, 23 Oct 2013 17:22:27 +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: r331397 - head/devel/bpython Message-ID: <201310231722.r9NHMRxp068340@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Oct 23 17:22:27 2013 New Revision: 331397 URL: http://svnweb.freebsd.org/changeset/ports/331397 Log: - Convert to new options helper Modified: head/devel/bpython/Makefile Modified: head/devel/bpython/Makefile ============================================================================== --- head/devel/bpython/Makefile Wed Oct 23 17:22:12 2013 (r331396) +++ head/devel/bpython/Makefile Wed Oct 23 17:22:27 2013 (r331397) @@ -17,7 +17,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sp 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310231722.r9NHMRxp068340>