Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports

using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
This commit is contained in:
Antoine Brodin 2015-07-29 22:09:53 +00:00
parent 71c37a22df
commit 6e381a9d53
62 changed files with 22 additions and 81 deletions

View file

@ -40,7 +40,11 @@ perl_CMD?= ${LOCALBASE}/bin/perl
php_OLD_CMD?= /usr/bin/php
php_CMD?= ${LOCALBASE}/bin/php
python_OLD_CMD?= /usr/bin/python
.if ${USES:Mpython*}
python_CMD?= ${PYTHON_CMD}
.else
python_CMD?= ${LOCALBASE}/bin/python
.endif
ruby_OLD_CMD?= /usr/bin/ruby
ruby_CMD?= ${LOCALBASE}/bin/ruby
tcl_OLD_CMD?= /usr/bin/tclsh

View file

@ -33,6 +33,5 @@ INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-gtk2-module=no
GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \
org.gnome.antler.gschema.xml
python_CMD= ${PYTHON_CMD}
.include <bsd.port.mk>

View file

@ -18,6 +18,5 @@ USE_PYTHON= autoplist distutils
USES= python:2 shebangfix
SHEBANG_FILES= bin/py${PORTNAME}
python_CMD= ${PYTHON_CMD}
.include <bsd.port.mk>

View file

@ -24,8 +24,7 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDATA= airports places stations zctas zones
SHEBANG_FILES= ${PORTNAME}
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
.include <bsd.port.pre.mk>

View file

@ -24,7 +24,6 @@ CONFIGURE_ARGS= --include ${LOCALBASE}/include --lib ${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}
SHEBANG_FILES= ${CONFIGURE_SCRIPT} boodler.py
python_CMD= ${PYTHON_CMD}
SUB_FILES= boodler-wrapper
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}

View file

@ -28,8 +28,6 @@ INSTALLS_ICONS= yes
SHEBANG_FILES= src/*.py
SHEBANG_LANG= python
python_OLD_CMD= /usr/bin/python
python_CMD= ${PYTHON_CMD}
GLIB_SCHEMAS= org.gnome.Lollypop.gschema.xml

View file

@ -31,7 +31,6 @@ USES= python shebangfix
WRKDOC= ${WRKDIR}/${PORTNAME}-pdf-${DISTVERSION:S,a,,}
WRKSRC= ${WRKDIR}/${PORTNAME}-bin-${DISTVERSION}
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
.include <bsd.port.options.mk>

View file

@ -25,7 +25,6 @@ CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
--boost-lib-dir="${PYTHON_LIBDIR},${LOCALBASE}/lib" \
--boost-python-libname="boost_python"
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= configure.py
USE_PYTHON= distutils autoplist

View file

@ -24,7 +24,6 @@ USE_LDCONFIG= yes
USES= gmake iconv perl5 pkgconfig python scons shebangfix
USE_PERL5= build
SHEBANG_FILES= python/*.py
python_CMD= ${PYTHON_CMD}
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
INSTALL_TARGET= install-lib install-headers --install-sandbox=${STAGEDIR}

View file

@ -17,8 +17,7 @@ GH_PROJECT= nagios-plugin-mongodb
GH_TAGNAME= 9d17373
USES= python shebangfix
SHEBANG_FILES= ${WRKSRC}/check_mongodb.py
python_OLD_CMD= "/usr/bin/env\ python"
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
NO_BUILD= yes
PLIST_FILES= libexec/nagios/check_mongodb

View file

@ -22,7 +22,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION:R}
SHEBANG_FILES= ${WRKSRC}/tools/splitconfig
python_CMD= ${PYTHON_CMD}
CONFIGURE_ARGS= --enable-shared \
--disable-dependency-tracking

View file

@ -23,7 +23,6 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
INSTALL_TARGET= install-strip
SHEBANG_FILES= tools/splitconfig
python_CMD= ${PYTHON_CMD}
CONFIGURE_ARGS= --enable-shared

View file

@ -29,7 +29,6 @@ USE_LDCONFIG= yes
SHEBANG_FILES= ${WRKSRC}/src/templates/beamer/wscript \
${WRKSRC}/src/templates/pdflatex/wscript
python_CMD= ${PYTHON_CMD}
PLIST_SUB= PORTVERSION="${PORTVERSION}"

View file

@ -17,7 +17,6 @@ NO_ARCH= yes
USES= gettext python shebangfix tar:bzip2
SHEBANG_FILES= src/tel.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
USE_PYTHON= distutils
post-patch:

View file

@ -24,7 +24,6 @@ USES= shebangfix python:2.7
USE_PYTHON= distutils autoplist
SHEBANG_LANG= python python2
python_CMD= ${PYTHON_CMD}
python2_OLD_CMD= /usr/bin/env python
python2_CMD= ${PYTHON_CMD}
SHEBANG_FILES= cvs2svn cvs2git cvs2bzr *.py \

View file

@ -14,7 +14,6 @@ COMMENT= Python module for writing inline assembler programs
FETCH_BEFORE_ARGS=-o ${DISTFILES}
USES= dos2unix python shebangfix
SHEBANG_FILES= examples/*.py
python_CMD= ${PYTHON_CMD}
USE_PYTHON= distutils autoplist
PORTDOCS= InlineEgg.html Changelog README

View file

@ -18,8 +18,7 @@ USES= python:2 shebangfix
USE_PYTHON= autoplist distutils
SHEBANG_FILES= gflags2man.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
PROJECTHOST= python-gflags

View file

@ -22,7 +22,6 @@ INSTALL_WRKSRC= ${WRKSRC}/python
SHEBANG_LANG= python
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= ${BUILD_WRKSRC}/config/s2py.py
MAKE_ENV+= PYTHON_VERSION=${PYTHON_VERSION}

View file

@ -18,6 +18,5 @@ NO_ARCH= yes
SHEBANG_FILES= scripts/ioflo
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
.include <bsd.port.mk>

View file

@ -33,9 +33,8 @@ USES= python shebangfix
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
SHEBANG_FILES= pip/__init__.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= pip/__init__.py
python_OLD_CMD= /usr/bin/env python
GH_ACCOUNT= pypa

View file

@ -17,7 +17,6 @@ LIB_DEPENDS= libmtbl.so:${PORTSDIR}/devel/mtbl
USE_PYTHON= distutils autoplist
USES= python shebangfix uniquefiles:dirs
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
SHEBANG_FILES= examples/*.py examples/*/*.py

View file

@ -36,7 +36,6 @@ EXCLUDE= gen 'module/*.py[co]' 'renpy/*.py[co]'
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
SHEBANG_FILES= renpy.py launcher/game/tkaskdir.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
BUILD_WRKSRC= ${WRKSRC}/module
INSTALL_WRKSRC= ${BUILD_WRKSRC}
MAKE_ENV+= RENPY_DEPS_INSTALL="${LOCALBASE}"

View file

@ -26,7 +26,6 @@ USES= dos2unix python
USES+= shebangfix
SHEBANG_FILES= *.py dynagen pemu-start.sh
SHEBANG_LANG= python_env python_bol python_cnf
python_CMD= ${PYTHON_CMD}
python_env_OLD_CMD=/usr/bin/env[[:space:]]*python
python_env_CMD= ${PYTHON_CMD}
python_bol_OLD_CMD=the an incredible combination

View file

@ -19,7 +19,6 @@ INSTALL_ICONS= yes
USES= python shebangfix
SHEBANG_FILES= myBudget.py
python_CMD= ${PYTHON_CMD}
OPTIONS_DEFINE= DOCS

View file

@ -21,7 +21,6 @@ RUN_DEPENDS= avbin>=0:${PORTSDIR}/multimedia/avbin
USES= python shebangfix zip
SHEBANG_FILES= run_game.py
python_OLD_CMD= /usr/bin/env python
python_CMD?= ${PYTHON_CMD}
USE_GNOME= pygtk2 librsvg2
PORTDOCS= README.txt

View file

@ -24,8 +24,7 @@ USES= dos2unix python:2 shebangfix zip
DOS2UNIX_FILES= *.txt bin/*.py
DOS2UNIX_REGEX= .*.[^pt][^nt][^gf]
SHEBANG_FILES= run_game.py bin/mainmenu.py
python_OLD_CMD?= /usr/bin/env python
python_CMD?= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS

View file

@ -26,7 +26,6 @@ GH_TAGNAME= d95263f
USES= python:2 shebangfix
SHEBANG_FILES= schwarzweiss_start.py data/*.py
python_OLD_CMD= /usr/bin/env python
python_CMD?= ${PYTHON_CMD}
PORTDOCS= readme.txt
OPTIONS_DEFINE= DOCS

View file

@ -24,8 +24,7 @@ WITH_ZLIB= yes
MAKEFILE= makefile
SHEBANG_FILES= pack.py unpack.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
INSTALLS_ICONS= yes

View file

@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/Super-Mario-Bros-Python-v${DISTVERSION}release
USES= shebangfix python:2 zip
SHEBANG_FILES= gamelib/*.py start.py
python_OLD_CMD= /usr/bin/env python
python_CMD?= ${PYTHON_CMD}
PORTDOCS= changelog.txt readme.txt
OPTIONS_DEFINE= DOCS

View file

@ -25,7 +25,6 @@ CMAKE_ARGS= -DWITH_PYTHON_INSTALL:BOOL=OFF \
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF \
-DWITH_INSTALL_PORTABLE:BOOL=FALSE
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= release/bin/blender-thumbnailer.py \
release/scripts/modules/bl_i18n_utils/merge_po.py \
release/scripts/modules/bl_i18n_utils/utils_rtl.py \

View file

@ -24,7 +24,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= python:run shebangfix
SHEBANG_FILES= imgv.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
post-patch:
@${REINPLACE_CMD} -e \

View file

@ -25,8 +25,7 @@ USES= python shebangfix tar:xz
WRKSRC= ${WRKDIR}/${DISTNAME}/swig/python
SHEBANG_FILES= scripts/*.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
NUMPY_BUILD_DEPENDS= ${PKGNAMEPREFIX}numpy>=1.0.0:${PORTSDIR}/math/py-numpy
NUMPY_RUN_DEPENDS= ${PKGNAMEPREFIX}numpy>=1.0.0:${PORTSDIR}/math/py-numpy

View file

@ -37,8 +37,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.3.2:${PORTSDIR}/www/py-beau
webkit-gtk3>=2.4.8:${PORTSDIR}/www/webkit-gtk3 \
yelp>=3.14.1:${PORTSDIR}/x11/yelp
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= bin/variety data/scripts/*
USES= desktop-file-utils gettext python:2 shebangfix

View file

@ -31,7 +31,6 @@ INSTALL_TARGET= install-strip
CONFIGURE_ARGS+=--enable-compile-warnings=no
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
pre-configure:
cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh

View file

@ -29,7 +29,6 @@ PLIST_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} ${PYLIB_FILES:C/^.*/bin\/&/g}
SHEBANG_LANG= python
SHEBANG_FILES= ${SCRIPT_FILES:C/^.*/&\.py/g} \
../../Lib/tabnanny.py ../../Lib/timeit.py
python_CMD= ${PYTHON_CMD}
UNIQUE_SUFFIX= -${PYTHON_VER}
UNIQUE_SUFFIX_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} \

View file

@ -27,8 +27,7 @@ USES= alias compiler cpe execinfo gmake python:2 shebangfix tar:xz
CPE_VENDOR= google
SHEBANG_FILES= build/gyp/gyp
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
.include <bsd.port.pre.mk>

View file

@ -31,8 +31,7 @@ SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
TUMGREYSPF_USER=${TUMGREYSPF_USER}
SHEBANG_FILES= *
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
TUMGREYSPF_DIR?= /var/db/${PORTNAME}
TUMGREYSPF_USER?= nobody

View file

@ -35,7 +35,6 @@ DATADIR= ${PREFIX}/share/gimp
SHEBANG_FILES= tools/xml2po.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
post-patch:
# Install to the same directory as when configuring --with-gimp

View file

@ -17,7 +17,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:${PORTSDIR}/devel/py-config
USES= python:run shebangfix tar:bzip2
SHEBANG_FILES= pastebinit
python_OLD_CMD= /usr/bin/python3
python_CMD= ${PYTHON_CMD}
NO_BUILD= yes
PLIST_FILES= bin/pastebinit

View file

@ -20,8 +20,7 @@ GH_TAGNAME= bea99d9
USES= shebangfix python tar:bzip2
SHEBANG_FILES= *.py
python_OLD_CMD?= /usr/bin/env python
python_CMD?= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
USE_GNOME= pygtk2
PORTDOCS= CHANGELOG README.md

View file

@ -34,7 +34,6 @@ USES= python:2.7 shebangfix
SHEBANG_FILES= tools/validate-yaml.py tools/read-dependencies \
tools/read-version tools/hacking.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
USE_PYTHON= autoplist distutils
PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd"

View file

@ -26,7 +26,6 @@ USE_CSTD= c11
USES= compiler:c11 gmake libtool pathfix pkgconfig python:run shebangfix tar:xz
SHEBANG_FILES= tools/gupnp-binding-tool
python_CMD= ${PYTHON_CMD}
.include <bsd.port.pre.mk>

View file

@ -33,7 +33,6 @@ PORTDOCS= html \
SHEBANG_FILES= compilers/idlac/*.py testsuite/*.py testsuite/tests/*.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
CONFIGURE_ARGS= --with-appli-perso="corba dsa moma" \
--with-proto-perso="giop soap srp" \

View file

@ -18,7 +18,6 @@ LIB_DEPENDS= libnmsg.so:${PORTSDIR}/net/nmsg
USE_PYTHON= distutils autoplist
USES= python shebangfix uniquefiles:dirs
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
SHEBANG_FILES= examples/*.py

View file

@ -18,7 +18,6 @@ USE_PYTHON= distutils autoplist
SHEBANG_LANG= python
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= *.py \
pysphere/ZSI/*.py \
pysphere/ZSI/generate/*.py \

View file

@ -28,7 +28,6 @@ USES= cpe gmake python:build shebangfix
USE_RC_SUBR= rabbitmq
SHEBANG_FILES= calculate-relative plugins-src/rabbitmq-amqp1.0/codegen.py
python_OLD_CMD= .*python
python_CMD= ${PYTHON_CMD}
USERS= rabbitmq
GROUPS= rabbitmq

View file

@ -405,8 +405,7 @@ USE_RC_SUBR= samba_server
SUB_FILES= pkg-message README.FreeBSD
# Make sure that the right version of Python is used by the tools
# https://bugzilla.samba.org/show_bug.cgi?id=7305
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= ${SETENV} python
python_OLD_CMD= /usr/bin/env python
SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/*
# No fancy color error messages
.if ${COMPILER_TYPE} == "clang"

View file

@ -400,8 +400,7 @@ USE_RC_SUBR= samba_server
SUB_FILES= pkg-message README.FreeBSD
# Make sure that the right version of Python is used by the tools
# https://bugzilla.samba.org/show_bug.cgi?id=7305
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= ${SETENV} python
python_OLD_CMD= /usr/bin/env python
SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/*
# No fancy color error messages
.if ${COMPILER_TYPE} == "clang"

View file

@ -403,8 +403,7 @@ USE_RC_SUBR= samba_server
SUB_FILES= pkg-message README.FreeBSD
# Make sure that the right version of Python is used by the tools
# https://bugzilla.samba.org/show_bug.cgi?id=7305
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= ${SETENV} python
python_OLD_CMD= /usr/bin/env python
SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/*
# No fancy color error messages
.if ${COMPILER_TYPE} == "clang"

View file

@ -24,7 +24,6 @@ USE_OPENSSL= yes
USE_RC_SUBR= xorp
SHEBANG_FILES= xrl/scripts/clnt-gen xrl/scripts/tgt-gen
python_OLD_CMD= .*python
python_CMD= ${PYTHON_CMD}
SUB_FILES= pkg-message
XORP_SAMPLECONF= rtrmgr/config/multicast4.boot

View file

@ -17,9 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gtk2>=2.24.0:${PORTSDIR}/x11-toolkits/py-gtk
NO_BUILD= yes
python_OLD_CMD= /usr/bin/env python
# we want a versioned python command
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
SHEBANG_FILES= ${XPN}
SUB_FILES= ${PORTNAME}

View file

@ -19,7 +19,6 @@ USES= python shebangfix
USE_PYTHON= distutils autoplist
SHEBANG_FILES= samples/*.py
python_OLD_CMD= .*
python_CMD= ${PYTHON_CMD}
OPTIONS_DEFINE= DOCS EXAMPLES

View file

@ -13,6 +13,5 @@ COMMENT= Manage intrusion attempts recorded in the system log
USES= python shebangfix
SHEBANG_FILES= abck
python_OLD_CMD= /usr/local/bin/python
python_CMD= ${PYTHON_CMD}
.include <bsd.port.mk>

View file

@ -20,7 +20,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USES= python shebangfix tar:tgz
SHEBANG_FILES= samples/*.py
python_OLD_CMD= .*
python_CMD= ${PYTHON_CMD}
USE_PYTHON= distutils autoplist
PORTDOCS= README

View file

@ -34,8 +34,7 @@ SHEBANG_FILES= a2x.py \
filters/graphviz/graphviz2png.py \
filters/music/music2png.py \
filters/code/code-filter.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
post-patch:
@${REINPLACE_CMD} -e '/^INSTALL_PROG/ s|INSTALL_PROGRAM|INSTALL_SCRIPT|; s|\.conf|&.sample|' ${WRKSRC}/Makefile.in

View file

@ -14,7 +14,6 @@ USES= python:2 shebangfix
USE_PYTHON= distutils autoplist
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= py2html
.include <bsd.port.mk>

View file

@ -42,7 +42,6 @@ SUB_FILES= pkg-message
SUB_LIST+= USER=${USERS}
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= bin/calendarserver_* \
bin/icalendar_split \

View file

@ -23,7 +23,6 @@ SHEBANG_FILES= admin/CTK/CTK-run.pre admin/server.py \
doc/test_images.py doc/test_links.py \
po/admin/generate_POTFILESin.py po/po_stats.py \
qa/fcgi.py qa/run-tests.py
python_CMD= ${PYTHON_CMD}
USE_RC_SUBR= cherokee
USE_OPENSSL= yes
GNU_CONFIGURE= yes

View file

@ -21,8 +21,7 @@ USE_LDCONFIG= yes
USES= cmake pkgconfig python:2,build shebangfix tar:xz
SHEBANG_FILES= gen-config.py libhpack/huffman-gen.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
post-patch:
@${REINPLACE_CMD} -e 's|STATIC|SHARED|' ${WRKSRC}/libchula/CMakeLists.txt ${WRKSRC}/libhpack/CMakeLists.txt

View file

@ -26,7 +26,6 @@ USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= Djblets
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
SHEBANG_FILES= contrib/internal/build-media.py
.include <bsd.port.mk>

View file

@ -20,7 +20,6 @@ CONFLICTS= varnish-2.* varnish-3.*
USES= autoreconf cpe gmake libtool pkgconfig python:2,build readline shebangfix
SHEBANG_FILES= lib/libvcc/vmodtool.py
python_OLD_CMD= /usr/bin/env python
python_CMD= ${PYTHON_CMD}
CPE_VENDOR= varnish-cache
CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes

View file

@ -26,8 +26,7 @@ LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \
USES= fam gettext iconv:translit pathfix pkgconfig python:2 \
shared-mime-info shebangfix
SHEBANG_FILES= doc/asciidoc/asciidoc.py
python_OLD_CMD= ${SETENV} python
python_CMD= ${PYTHON_CMD}
python_OLD_CMD= /usr/bin/env python
USE_XORG= xcomposite xft xinerama xkbfile xpm xrandr
USE_CSTD= gnu89
GNU_CONFIGURE= yes