Index: head/science/avogadro/Makefile =================================================================== --- head/science/avogadro/Makefile (revision 371452) +++ head/science/avogadro/Makefile (revision 371453) @@ -1,68 +1,68 @@ # Created by: Troels Kofoed Jacobsen # $FreeBSD$ PORTNAME= avogadro PORTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= science MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Advanced molecular editor and viewer LICENSE= GPLv2 # (or later) BUILD_DEPENDS= eigen2>2:${PORTSDIR}/math/eigen2 LIB_DEPENDS= libopenbabel.so:${PORTSDIR}/science/openbabel OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT=PYTHON OPTIONS_SUB= yes USES= cmake desktop-file-utils pkgconfig tar:bzip2 USE_GL= glu gl USE_QT4= gui network opengl \ linguist_build moc_build qmake_build rcc_build uic_build CMAKE_ARGS= -DENABLE_GLSL=OFF \ -DQT_MKSPECS_RELATIVE=share/qt4/mkspecs USE_LDCONFIG= yes CFLAGS+= -idirafter ${LOCALBASE}/include/eigen2 \ -idirafter ${LOCALBASE}/include \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MPYTHON} -USE_PYTHON= 2 +USES+= python:2 BUILD_DEPENDS+= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}sip>0:${PORTSDIR}/devel/py-sip LIB_DEPENDS+= libboost_python.so:${PORTSDIR}/devel/boost-python-libs RUN_DEPENDS+= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}sip>0:${PORTSDIR}/devel/py-sip CMAKE_ARGS+= -DENABLE_PYTHON=ON \ -DPYTHON_INCLUDE_DIR:PATH=${WRKDIR}/include/${PYTHON_VERSION} .else CMAKE_ARGS+= -DENABLE_PYTHON=OFF .endif post-patch: @${REINPLACE_CMD} -e \ '/FLAGS_RELEASE/s|^|#| ; \ /PC_FILES/s|$${LIB_INSTALL_DIR}|libdata|' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|share/man|man|' ${WRKSRC}/doc/CMakeLists.txt pre-configure: .if ${PORT_OPTIONS:MPYTHON} @${MKDIR} ${WRKDIR}/include/${PYTHON_VERSION} @${FIND} ${PYTHON_INCLUDEDIR} ! -name "pyport.h" -type f \ -maxdepth 1 | ${XARGS} -J % ${LN} -sf % \ ${WRKDIR}/include/${PYTHON_VERSION} @${SED} -e 's|^#ifdef _PY_PORT_CTYPE_UTF8_ISSUE|#if 0|' \ ${PYTHON_INCLUDEDIR}/pyport.h > \ ${WRKDIR}/include/${PYTHON_VERSION}/pyport.h .endif .include Index: head/science/brian/Makefile =================================================================== --- head/science/brian/Makefile (revision 371452) +++ head/science/brian/Makefile (revision 371453) @@ -1,23 +1,21 @@ # Created by: wenheping@gmail.com # $FreeBSD$ PORTNAME= brian PORTVERSION= 1.4.1 PORTREVISION= 4 CATEGORIES= science python MASTER_SITES= CHEESESHOP MAINTAINER= wen@FreeBSD.org COMMENT= Clock-driven simulator for spiking neural networks BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.1.0:${PORTSDIR}/math/py-numpy \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/science/gramps/Makefile =================================================================== --- head/science/gramps/Makefile (revision 371452) +++ head/science/gramps/Makefile (revision 371453) @@ -1,64 +1,63 @@ # Created by: Andreas Fehlner # $FreeBSD$ PORTNAME= gramps PORTVERSION= 3.4.8 PORTREVISION= 3 CATEGORIES= science gnome python MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GTK/GNOME-based genealogy program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb \ ${PYTHON_PKGNAMEPREFIX}icu>=1.8:${PORTSDIR}/devel/py-icu \ ${PYXML} USE_BDB= 5+ -USE_PYTHON= yes -USES= desktop-file-utils gettext shared-mime-info gmake +USES= desktop-file-utils gettext shared-mime-info gmake python USE_GNOME= pygtk2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-mime-install CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALLS_OMF= yes INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= ENCHANT PYWEBKITGTK GNOME GRAPHVIZ EXIV OPTIONS_DEFAULT= PYWEBKITGTK GRAPHVIZ EXIV ENCHANT_DESC= Spellchecking support PYWEBKITGTK_DESC= Use webkit backend for Geographic view EXIV_DESC= Managing exiv metadata support .include .if ${PORT_OPTIONS:MGNOME} USE_GNOME= pygnome2 pygnomeextras gnomedocutils .endif .if ${PORT_OPTIONS:MENCHANT} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant .endif .if ${PORT_OPTIONS:MPYWEBKITGTK} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}webkitgtk>=0:${PORTSDIR}/www/py-webkitgtk .endif .if ${PORT_OPTIONS:MGRAPHVIZ} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}graphviz>-0:${PORTSDIR}/graphics/py-graphviz .endif .if ${PORT_OPTIONS:MEXIV} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exiv2>=0.1.3:${PORTSDIR}/graphics/py-exiv2 .endif pre-extract: @${ECHO_MSG} "==========================================================" @${ECHO_MSG} "*WARNING*: The Berkeley DB has been upgraded to version 5." @${ECHO_MSG} "Cancel this installation now and export your databases if" @${ECHO_MSG} "you are upgrading from a Gramps version older than 3.4.X" @${ECHO_MSG} "==========================================================" @sleep 5 .include Index: head/science/libsvm/Makefile =================================================================== --- head/science/libsvm/Makefile (revision 371452) +++ head/science/libsvm/Makefile (revision 371453) @@ -1,93 +1,93 @@ # Created by: Chia-Hsing Yu # $FreeBSD$ PORTNAME= libsvm PORTVERSION= 3.18 CATEGORIES= science math MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \ http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//} MAINTAINER= rafan@FreeBSD.org COMMENT= Library for Support Vector Machines LICENSE= BSD LICENSE_FILE= ${WRKSRC}/COPYRIGHT OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_DEFAULT= OPTIMIZED_CFLAGS USES= zip USE_LDCONFIG= yes ALL_TARGET= all lib .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-python" CATEGORIES+= python -USE_PYTHON= yes +USES+= python MAKE_ARGS= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} TXT_DOCS= README.python NO_BUILD= yes .else TXT_DOCS= COPYRIGHT README FAQ.html README.tools TOOLS= tools/checkdata.py tools/easy.py tools/grid.py tools/subset.py SUB_FILES= pkg-message SUB_LIST= DATADIR=${DATADIR} .endif .include .if ${PORT_OPTIONS:MDOCS} PORTDOCS= ${TXT_DOCS} .endif .if ${PORT_OPTIONS:MOCFLAGS} # same as LIBSVM itself CFLAGS= -Wall -Wconversion -O3 .endif post-patch: .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-python" @${CP} ${WRKSRC}/python/README ${WRKSRC}/README.python .else @${CP} ${WRKSRC}/tools/README ${WRKSRC}/README.tools .endif .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-python" do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/python/svm.py ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/python/svmutil.py ${STAGEDIR}${PYTHON_SITELIBDIR} .else do-install: ${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/svm.h ${STAGEDIR}${PREFIX}/include/ ${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${STAGEDIR}${PREFIX}/lib/ ${LN} -sf libsvm.so.2 ${STAGEDIR}${PREFIX}/lib/libsvm.so ${MKDIR} ${STAGEDIR}${DATADIR} for f in ${TOOLS}; do \ ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DATADIR}; \ done .endif post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} for f in ${TXT_DOCS}; do \ ${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \ done .endif .include Index: head/science/mei/Makefile =================================================================== --- head/science/mei/Makefile (revision 371452) +++ head/science/mei/Makefile (revision 371453) @@ -1,33 +1,32 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= mei PORTVERSION= 1.0.4 PORTREVISION= 1 CATEGORIES= science parallel MASTER_SITES= http://code-saturne.org/releases/ MAINTAINER= thierry@FreeBSD.org COMMENT= Code_Saturne Mathematical Expression Interpreter LICENSE= LGPL21 LIB_DEPENDS= libbft.so:${PORTSDIR}/science/bft BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 -USES= libtool +USES= libtool python USE_LDCONFIG= yes -USE_PYTHON= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_PYEXE=${PYTHON_CMD} CONFIGURE_ARGS= --with-bft=${LOCALBASE} INSTALL_TARGET= install-strip .if defined(MAINTAINER_MODE) regression-test: (cd ${WRKSRC}/tests && \ ${MAKE} check && \ ./mei_test ) .endif .include Index: head/science/openbabel/Makefile =================================================================== --- head/science/openbabel/Makefile (revision 371452) +++ head/science/openbabel/Makefile (revision 371453) @@ -1,49 +1,49 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= openbabel PORTVERSION= 2.3.2 PORTREVISION= 1 CATEGORIES= science MASTER_SITES= SF MAINTAINER= makc@FreeBSD.org COMMENT= Chemistry file translation program BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:${PORTSDIR}/math/eigen3 CONFLICTS_INSTALL= babel-* USE_GNOME= libxml2 USES= cmake:outsource CMAKE_ARGS= -DBUILD_GUI=off USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" OPTIONS_DEFINE= CAIRO PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes CAIRO_DESC= PNG support via cairo library CAIRO_LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo CAIRO_USES= pkgconfig .include .if ${PORT_OPTIONS:MPYTHON} -USE_PYTHON= yes +USES+= python CMAKE_ARGS+= -DPYTHON_BINDINGS=on .endif post-patch: .if !${PORT_OPTIONS:MCAIRO} ${REINPLACE_CMD} -e '/find_package(Cairo)/d' \ ${WRKSRC}/CMakeLists.txt .endif ${REINPLACE_CMD} -e '/pkgconfig/s,$${LIB_INSTALL_DIR},libdata,' \ ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e 's,share/man,man,' \ ${WRKSRC}/doc/CMakeLists.txt .include Index: head/science/py-DendroPy/Makefile =================================================================== --- head/science/py-DendroPy/Makefile (revision 371452) +++ head/science/py-DendroPy/Makefile (revision 371453) @@ -1,22 +1,22 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= DendroPy PORTVERSION= 3.12.0 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Phylogenetic computing library LICENSE= BSD3CLAUSE -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USES= python +USE_PYTHON= distutils post-install: @${CAT} ${PKGMESSAGE} .include Index: head/science/py-coards/Makefile =================================================================== --- head/science/py-coards/Makefile (revision 371452) +++ head/science/py-coards/Makefile (revision 371453) @@ -1,19 +1,18 @@ # Created by: Johannes Meixner # $FreeBSD$ PORTNAME= coards PORTVERSION= 1.0.5 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= xmj@chaot.net COMMENT= COARDS compliant time parser LICENSE= MIT -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include Index: head/science/py-h5py/Makefile =================================================================== --- head/science/py-h5py/Makefile (revision 371452) +++ head/science/py-h5py/Makefile (revision 371453) @@ -1,45 +1,43 @@ # Created by: TAOKA Fumiyoshi # $FreeBSD$ PORTNAME= h5py PORTVERSION= 2.3.0 PORTREVISION= 1 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= xmj@chaot.net COMMENT= General-purpose Python interface to the HDF5 library LICENSE= BSD BUILD_DEPENDS= ${PYNUMPY} \ cython:${PORTSDIR}/lang/cython RUN_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 USE_GITHUB= yes GH_ACCOUNT= h5py GH_COMMIT= c8c63eb GH_TAGNAME= ${GH_COMMIT} -USE_PYTHON= yes -USE_PYDISTUTILS= yes - -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist PORTDOCS= README.rst PORTEXAMPLES= multiprocessing_example.py \ threading_example.py OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/science/py-hcluster/Makefile =================================================================== --- head/science/py-hcluster/Makefile (revision 371452) +++ head/science/py-hcluster/Makefile (revision 371453) @@ -1,22 +1,21 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= hcluster PORTVERSION= 0.2.0 PORTREVISION= 7 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wenheping@gmail.com COMMENT= Hierarchical Clustering Package For Scipy BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/py-mdp/Makefile =================================================================== --- head/science/py-mdp/Makefile (revision 371452) +++ head/science/py-mdp/Makefile (revision 371453) @@ -1,36 +1,35 @@ # Created by: Li-Lun Wang # $FreeBSD$ PORTNAME= mdp PORTVERSION= 3.3 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= SF/${PORTNAME}-toolkit/${PORTNAME}-toolkit/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= 5u623l20@gmail.com COMMENT= Modular toolkit for Data Processing LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYNUMPY} -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= LIBSVM PP SCIPY LIBSVM_DESC= Provide the LibSVMClassifier node PP_DESC= Provide the Parallel Python PPScheduler SCIPY_DESC= Instal SciPy versions of eigensolver, FFT and convolution LIBSVM_RUN_DEPENDS= libsvm>2.91:${PORTSDIR}/science/libsvm \ libsvm-python>2.91:${PORTSDIR}/science/libsvm-python PP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pp>0:${PORTSDIR}/devel/py-pp SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.5.2:${PORTSDIR}/science/py-scipy .include Index: head/science/py-mlpy/Makefile =================================================================== --- head/science/py-mlpy/Makefile (revision 371452) +++ head/science/py-mlpy/Makefile (revision 371453) @@ -1,28 +1,27 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= mlpy PORTVERSION= 3.5.0 PORTREVISION= 2 CATEGORIES= science python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= High performance Python package for predictive modeling LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ cython>0:${PORTSDIR}/lang/cython RUN_DEPENDS:= ${BUILD_DEPENDS} LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include -I${PYTHON_SITELIBDIR}/numpy/core LDFLAGS+= -L${LOCALBASE}/lib -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/py-netCDF4/Makefile =================================================================== --- head/science/py-netCDF4/Makefile (revision 371452) +++ head/science/py-netCDF4/Makefile (revision 371453) @@ -1,57 +1,56 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= netCDF4 PORTVERSION= 1.0.8 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= GH PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= 5u623l20@gmail.com COMMENT= Python Interface to the NetCDF Library (versions 3 and 4) LICENSE= MIT BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 \ libnetcdf.so:${PORTSDIR}/science/netcdf RUN_DEPENDS= ${PYNUMPY} USE_GITHUB= yes GH_ACCOUNT= Unidata GH_PROJECT= netcdf4-python GH_TAGNAME= v${PORTVERSION}rel GH_COMMIT= 1344040 -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${ECHO_CMD} -n > ${WRKSRC}/setup.cfg @${ECHO_CMD} "[options]" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "use_ncconfig=True" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "ncconfig=${LOCALBASE}/bin/nc-config" \ >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "[directories]" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "HDF5_libdir=${LOCALBASE}/lib" \ >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "HDF5_incdir=${LOCALBASE}/include" \ >> ${WRKSRC}/setup.cfg post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/science/py-paida/Makefile =================================================================== --- head/science/py-paida/Makefile (revision 371452) +++ head/science/py-paida/Makefile (revision 371453) @@ -1,21 +1,20 @@ # Created by: Vsevolod Stakhov # $FreeBSD$ PORTNAME= paida PORTVERSION= 3.2.1.2.10 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-3.2.1_2.10.1 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-3.2.1_2.10.1 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter MAINTAINER= ports@FreeBSD.org COMMENT= Pure Python scientific analysis package -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/py-pupynere/Makefile =================================================================== --- head/science/py-pupynere/Makefile (revision 371452) +++ head/science/py-pupynere/Makefile (revision 371453) @@ -1,23 +1,22 @@ # Created by: Johannes Meixner # $FreeBSD$ PORTNAME= pupynere PORTVERSION= 1.0.15 PORTREVISION= 4 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= xmj@chaot.net COMMENT= Python module for reading and writing NetCDF files LICENSE= MIT BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include Index: head/science/py-pyaixi/Makefile =================================================================== --- head/science/py-pyaixi/Makefile (revision 371452) +++ head/science/py-pyaixi/Makefile (revision 371453) @@ -1,41 +1,39 @@ # Created by: Johannes Meixner # $FreeBSD$ PORTNAME= pyaixi PORTVERSION= 1.0.3 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= xmj@chaot.net COMMENT= Implementation of the MC-AIXI-CTW AI algorithm LICENSE= CCbySA LICENSE_NAME= Creative Commons Attribution-ShareAlike 3.0 \ Unported License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell dist-sell -USES= dos2unix -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= dos2unix python:2 +USE_PYTHON= distutils autoplist PORTDOCS= changelog.txt \ todo.txt PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} \ ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/conf/|} \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/science/py-pydap/Makefile =================================================================== --- head/science/py-pydap/Makefile (revision 371452) +++ head/science/py-pydap/Makefile (revision 371453) @@ -1,48 +1,47 @@ # Created by: Johannes Meixner # $FreeBSD$ PORTNAME= pydap PORTVERSION= 3.1.1 PORTREVISION= 2 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Pydap-${PORTVERSION} MAINTAINER= xmj@chaot.net COMMENT= Implementation of the Opendap/DODS protocol LICENSE= MIT BUILD_DEPENDS= paver:${PORTSDIR}/devel/py-paver \ ${PYNUMPY} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>0:${PORTSDIR}/www/py-httplib2 \ ${PYTHON_PKGNAMEPREFIX}Genshi>0:${PORTSDIR}/textproc/py-genshi \ ${PYTHON_PKGNAMEPREFIX}Paste>0:${PORTSDIR}/www/py-paste \ ${PYTHON_PKGNAMEPREFIX}PasteDeploy>0:${PORTSDIR}/www/py-pastedeploy \ ${PYTHON_PKGNAMEPREFIX}PasteScript>0:${PORTSDIR}/www/py-pastescript \ ${PYNUMPY} OPTIONS_DEFINE= DOCS -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS= * .buildinfo .include .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx \ ${PYTHON_PKGNAMEPREFIX}coards>0:${PORTSDIR}/science/py-coards \ ${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments PYDISTUTILS_BUILD_TARGET+= build_sphinx post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .include Index: head/science/py-pydicom/Makefile =================================================================== --- head/science/py-pydicom/Makefile (revision 371452) +++ head/science/py-pydicom/Makefile (revision 371453) @@ -1,19 +1,18 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= pydicom PORTVERSION= 0.9.8 CATEGORIES= science python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Read, modify, and write DICOM files with Python code LICENSE= MIT -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/py-scikit-learn/Makefile =================================================================== --- head/science/py-scikit-learn/Makefile (revision 371452) +++ head/science/py-scikit-learn/Makefile (revision 371453) @@ -1,36 +1,34 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ PORTNAME= scikit-learn PORTVERSION= 0.15.0 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= ${MASTER_SITE_CHEESESHOP} MASTER_SITE_SUBDIR=source/s/scikit-learn PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= demon@FreeBSD.org COMMENT= Machine learning algorithms for python BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0.8.0:${PORTSDIR}/science/py-scipy -USES= fortran +USES= fortran python OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= CBLAS ATLAS OPTIONS_DEFAULT= CBLAS CBLAS_DESC= Use math/cblas as BLAS library ATLAS_DESC= Use math/atlas as BLAS library CBLAS_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/cblas ATLAS_LIB_DEPENDS= libcblas.so:${PORTSDIR}/math/atlas LATEST_LINK= py-${PORTNAME} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USE_PYTHON= distutils autoplist .include Index: head/science/py-scimath/Makefile =================================================================== --- head/science/py-scimath/Makefile (revision 371452) +++ head/science/py-scimath/Makefile (revision 371453) @@ -1,24 +1,23 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= scimath PORTVERSION= 4.1.2 PORTREVISION= 3 CATEGORIES= science math python MASTER_SITES= http://www.enthought.com/repo/ets/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Scientific and Mathematical calculations LICENSE= BSD3CLAUSE LGPL3 LICENSE_COMB= dual BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traits>=3.6.0:${PORTSDIR}/devel/py-traits RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/py-ws2300/Makefile =================================================================== --- head/science/py-ws2300/Makefile (revision 371452) +++ head/science/py-ws2300/Makefile (revision 371453) @@ -1,23 +1,22 @@ # Created by: Stefan Bethke # $FreeBSD$ PORTNAME= ws2300 PORTVERSION= 1.9 CATEGORIES= science python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}-1 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= stb@lassitu.de COMMENT= Driver for the LaCrosse WS-2300 weather station LICENSE= AGPLv3 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist post-install: ${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${STAGEDIR}${PREFIX}/bin/ws2300 ${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${STAGEDIR}${PREFIX}/man/man1/ .include Index: head/science/pybrain/Makefile =================================================================== --- head/science/pybrain/Makefile (revision 371452) +++ head/science/pybrain/Makefile (revision 371453) @@ -1,26 +1,25 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= pybrain PORTVERSION= 0.3.2 PORTREVISION= 1 CATEGORIES= science python DISTNAME= PyBrain-${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= PyBrain is the swiss army knife for neural networking LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.1:${PORTSDIR}/science/py-scipy GH_ACCOUNT= ${PORTNAME} GH_COMMIT= a56fafc USE_GITHUB= yes -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/pycdf/Makefile =================================================================== --- head/science/pycdf/Makefile (revision 371452) +++ head/science/pycdf/Makefile (revision 371453) @@ -1,25 +1,24 @@ # Created by: wenheping@gmail.com # $FreeBSD$ PORTNAME= pycdf PORTVERSION= 0.6.3 PORTREVISION= 4 CATEGORIES= science python MASTER_SITES= SF/pysclint/${PORTNAME}/${PORTNAME}-${PORTVERSION}b DISTNAME= ${PORTNAME}-0.6-3b MAINTAINER= ports@FreeBSD.org COMMENT= Python Interface to the Unidata NetCDF Library BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf RUN_DEPENDS:= ${BUILD_DEPENDS} LDFLAGS+= "-L${LOCALBASE}/lib" -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist WRKSRC= ${WRKDIR}/${DISTNAME} .include Index: head/science/pynn/Makefile =================================================================== --- head/science/pynn/Makefile (revision 371452) +++ head/science/pynn/Makefile (revision 371453) @@ -1,22 +1,22 @@ # Created by: Ju Pengfei # $FreeBSD$ PORTNAME= pynn PORTVERSION= 0.7.5 PORTREVISION= 3 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyNN-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simulator-independent language for building neuronal network models BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= PyNN .include Index: head/science/pyteomics/Makefile =================================================================== --- head/science/pyteomics/Makefile (revision 371452) +++ head/science/pyteomics/Makefile (revision 371453) @@ -1,21 +1,20 @@ # $FreeBSD$ PORTNAME= pyteomics PORTVERSION= 2.4.0 PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Python modules for proteomics data analysis RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:${PORTSDIR}/math/py-matplotlib \ ${PYNUMPY} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/pyteomics.biolccc/Makefile =================================================================== --- head/science/pyteomics.biolccc/Makefile (revision 371452) +++ head/science/pyteomics.biolccc/Makefile (revision 371453) @@ -1,16 +1,15 @@ # $FreeBSD$ PORTNAME= pyteomics.biolccc PORTVERSION= 1.5.0 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Python bindings for BioLCCC -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/science/sigrok-firmware-utils/Makefile =================================================================== --- head/science/sigrok-firmware-utils/Makefile (revision 371452) +++ head/science/sigrok-firmware-utils/Makefile (revision 371453) @@ -1,43 +1,43 @@ # Created by: Uffe Jakobsen # $FreeBSD$ PORTNAME= firmware PORTVERSION= 20140418 CATEGORIES= science MASTER_SITES= #none PKGNAMEPREFIX= sigrok- PKGNAMESUFFIX= -utils DISTFILES= #none MAINTAINER= uffe@uffe.org COMMENT= Sigrok firmware extraction utils LICENSE= GPLv2 -USE_PYTHON= 3 +USES= python:3 NO_BUILD= yes PORTDOCS= README.parsepe PY_FILES= parsepe.py parseelf.py EX_FILES= sigrok-fwextract-hantek-dso \ sigrok-fwextract-saleae-logic16 \ sigrok-fwextract-sysclk-lwla PLIST_FILES= ${PY_FILES:S,^,bin/,} \ ${EX_FILES:S,^,bin/,} \ ${EX_FILES:S,^,man/man1/,:S,$,.1.gz,} do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${FILESDIR}/README.parsepe ${STAGEDIR}${DOCSDIR} .for fil in ${PY_FILES} ${INSTALL_SCRIPT} ${FILESDIR}/${fil} ${STAGEDIR}${PREFIX}/bin .endfor .for fil in ${EX_FILES} ${INSTALL_SCRIPT} ${FILESDIR}/${fil} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/${fil}.1 ${STAGEDIR}${MANDIRS}/man1 .endfor .include Index: head/science/veusz/Makefile =================================================================== --- head/science/veusz/Makefile (revision 371452) +++ head/science/veusz/Makefile (revision 371453) @@ -1,30 +1,28 @@ # Created by: Stas Timokhin # $FreeBSD$ PORTNAME= veusz PORTVERSION= 1.19.1 PORTREVISION= 2 CATEGORIES= science kde MASTER_SITES= http://download.gna.org/veusz/ MAINTAINER= devel@stasyan.com COMMENT= Scientific plotting package LICENSE= GPLv2 RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \ ${PYTHON_PKGNAMEPREFIX}qt4-svg>0:${PORTSDIR}/graphics/py-qt4-svg BUILD_DEPENDS:= ${RUN_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes - +USES= python +USE_PYTHON= distutils autoplist post-patch: @${REINPLACE_CMD} \ -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \ ${WRKSRC}/setup.py .include Index: head/security/arm/Makefile =================================================================== --- head/security/arm/Makefile (revision 371452) +++ head/security/arm/Makefile (revision 371453) @@ -1,57 +1,56 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= arm DISTVERSION= 1.4.5.0 CATEGORIES= security net python MASTER_SITES= https://archive.torproject.org/arm/ \ http://www.c-s.li/ports/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Terminal status monitor for Tor LICENSE= GPLv3 -USE_PYTHON= yes -USE_PYDISTUTILS=yes -USES= tar:bzip2 +USE_PYTHON= distutils +USES= python tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} PORTDOCS= armrc.sample OPTIONS_DEFINE= TOR \ DOCS OPTIONS_DEFAULT=TOR DOCS TOR_DESC= Enable local tor support .include .if ${PORT_OPTIONS:MTOR} RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof \ tor:${PORTSDIR}/security/tor .endif .include post-patch: .if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e 's,/usr/share/doc,${PREFIX}/share/doc,g' \ ${WRKSRC}/setup.py .else @${REINPLACE_CMD} -e 's,/usr/share/doc/,${WRKSRC}/src,g' \ ${WRKSRC}/setup.py .endif @${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,g' \ ${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall @${REINPLACE_CMD} -e 's,/usr/share/man/man1,${PREFIX}/man/man1,g' \ ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's,/usr/share,${PYTHON_SITELIBDIR},g' \ ${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall \ ${WRKSRC}/src/gui/controller.py .include Index: head/security/belier/Makefile =================================================================== --- head/security/belier/Makefile (revision 371452) +++ head/security/belier/Makefile (revision 371453) @@ -1,20 +1,19 @@ # Created by: rokaz # $FreeBSD$ PORTNAME= belier PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= http://www.ohmytux.com/belier/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= romain.garbage@gmail.com COMMENT= easily cross several machines with ssh RUN_DEPENDS= expect>=5.42.1:${PORTSDIR}/lang/expect -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/blindelephant/Makefile =================================================================== --- head/security/blindelephant/Makefile (revision 371452) +++ head/security/blindelephant/Makefile (revision 371453) @@ -1,42 +1,41 @@ # Created by: Niels Heinen # $FreeBSD$ PORTNAME= blindelephant PORTVERSION= 1.0 PORTREVISION= 20100819 CATEGORIES= security www MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://people.freebsd.org/~niels/distfiles/ MASTER_SITE_SUBDIR= niels DISTNAME= ${PORTNAME}-${PORTREVISION} MAINTAINER= ports@FreeBSD.org COMMENT= Fingerprint the web applications used by a web site LICENSE= LGPL3 -USES= tar:bzip2 -USE_PYTHON= yes -USE_PYDISTUTILS= YES +USES= python tar:bzip2 +USE_PYTHON= distutils SUB_FILES= ${PORTNAME}.sh SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS PORTDOCS= README Blind_Elephant_BlackHat_2010.pdf post-extract: @${MV} ${WRKSRC}/src/* ${WRKSRC} @${MV} "${WRKSRC}/doc/Blind Elephant - BlackHat 2010.pdf" \ ${WRKSRC}/Blind_Elephant_BlackHat_2010.pdf post-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DOCSDIR} . for I in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${I} ${STAGEDIR}${DOCSDIR} . endfor .include Index: head/security/botan110/Makefile =================================================================== --- head/security/botan110/Makefile (revision 371452) +++ head/security/botan110/Makefile (revision 371453) @@ -1,75 +1,74 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= botan PORTVERSION= 1.10.8 CATEGORIES= security MASTER_SITES= http://files.randombit.net/botan/v1.10/ PKGNAMESUFFIX= 110 DISTNAME= Botan-${PORTVERSION} EXTRACT_SUFX= .tbz MAINTAINER= lapo@lapo.it COMMENT= Portable, easy to use, and efficient C++ crypto library LICENSE= BSD LICENSE_FILE= ${WRKSRC}/doc/license.txt LATEST_LINK= botan${PKGNAMESUFFIX} OPTIONS_DEFINE= SSL GMP ECC DOCS OPTIONS_DEFAULT= SSL GMP ECC ECC_DESC= ECC support -USES= compiler gmake tar:bzip2 -USE_PYTHON_BUILD= yes +USES= compiler gmake python:build tar:bzip2 HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py CONFIGURE_ARGS= --prefix=${PREFIX} --with-bzip2 --with-zlib MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" USE_LDCONFIG= yes PLIST_FILES= bin/botan-config-1.10 lib/libbotan-1.10.a lib/libbotan-1.10.so lib/libbotan-1.10.so.0 \ lib/libbotan-1.10.so.0.8 libdata/pkgconfig/botan-1.10.pc DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PORTDOCS= * .include .if ${PORT_OPTIONS:MSSL} USE_OPENSSL= yes CONFIGURE_ARGS+=--with-openssl .endif .if ${PORT_OPTIONS:MGMP} LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp CONFIGURE_ARGS+=--with-gnump MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib" .endif .if ${PORT_OPTIONS:MECC} BUILD_DEPENDS+= ${LOCALBASE}/include/boost/tr1/memory.hpp:${PORTSDIR}/devel/boost-libs CONFIGURE_ARGS+=--with-tr1-implementation=boost CXXFLAGS+= -I${LOCALBASE}/include .else CONFIGURE_ARGS+=--with-tr1-implementation=none .endif .include CONFIGURE_ARGS+=--cc ${COMPILER_TYPE} post-patch: ${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ ${WRKSRC}/configure.py .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/DOCDIR/d' \ ${WRKSRC}/src/build-data/makefile/unix_shr.in .endif post-install: @(cd "${STAGEDIR}${PREFIX}"; ${FIND} -s include/botan-1.10 -not -type d) >> ${TMPPLIST} @${ECHO_CMD} @dirrm include/botan-1.10/botan >> ${TMPPLIST} @${ECHO_CMD} @dirrm include/botan-1.10 >> ${TMPPLIST} .include Index: head/security/cfv/Makefile =================================================================== --- head/security/cfv/Makefile (revision 371452) +++ head/security/cfv/Makefile (revision 371453) @@ -1,21 +1,21 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= cfv PORTVERSION= 1.18.3 CATEGORIES= security MASTER_SITES= SF MAINTAINER= matthew@reztek.cz COMMENT= Utility to both test and create .sfv, .csv, and md5sum files -USE_PYTHON= 2 +USES= python:2 ALL_TARGET= cfv.wrapper INSTALL_TARGET= install-wrapper MAKE_ARGS= PYTHON=${PYTHON_CMD} post-patch: @${REINPLACE_CMD} -e "s,%%SITELIBDIR%%,${PYTHON_SITELIBDIR},g" \ -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile .include Index: head/security/clamav/Makefile =================================================================== --- head/security/clamav/Makefile (revision 371452) +++ head/security/clamav/Makefile (revision 371453) @@ -1,210 +1,210 @@ # Created by: markun@onohara.to # $FreeBSD$ PORTNAME= clamav PORTVERSION= 0.98.4 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= SF MAINTAINER= garga@FreeBSD.org COMMENT= Command line virus scanner written entirely in C LICENSE= GPLv2 LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \ libcurl.so:${PORTSDIR}/ftp/curl OPTIONS_DEFINE= ARC ARJ LHA UNZOO UNRAR LLVM TESTS MILTER LDAP ICONV STDERR \ EXPERIMENTAL DOCS IPV6 DMG_XAR ARC_DESC= Enable arch archives support ARJ_DESC= Enable arj archives support LHA_DESC= Enable lha archives support UNZOO_DESC= Enable zoo archives support UNRAR_DESC= Enable rar archives support LLVM_DESC= Enable JIT Bytecode compiler (bundled LLVM) TESTS_DESC= Run compile-time tests (req. python) MILTER_DESC= Compile the milter interface STDERR_DESC= Print logs to stderr instead of stdout EXPERIMENTAL_DESC= Build experimental code DMG_XAR_DESC= Enable DMG and XAR archives support OPTIONS_DEFAULT= ARC ARJ LHA UNZOO UNRAR LLVM DOCS IPV6 DMG_XAR ARC_RUN_DEPENDS= arc:${PORTSDIR}/archivers/arc ARJ_RUN_DEPENDS= arj:${PORTSDIR}/archivers/arj LHA_RUN_DEPENDS= lha:${PORTSDIR}/archivers/lha UNZOO_RUN_DEPENDS= unzoo:${PORTSDIR}/archivers/unzoo UNRAR_CONFIGURE_ENABLE= unrar MILTER_CONFIGURE_ENABLE=milter TESTS_CONFIGURE_ENABLE= check TESTS_BUILD_DEPENDS= ${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck ICONV_CONFIGURE_ON= --with-iconv ICONV_CONFIGURE_OFF= --without-iconv ICONV_USES= iconv EXPERIMENTAL_CONFIGURE_ENABLE= experimental IPV6_CONFIGURE_ENABLE= ipv6 DMG_XAR_CONFIGURE_ENABLE= xml DMG_XAR_USE= GNOME=libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake libtool INSTALL_TARGET= install-strip USE_RC_SUBR= clamav-clamd clamav-freshclam PORTDOCS= * DBDIR= /var/db/clamav LOGDIR= /var/log/clamav RUNDIR= /var/run/clamav PLIST_SUB+= DBDIR=${DBDIR} \ LOGDIR=${LOGDIR} \ RUNDIR=${RUNDIR} \ CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} PY_NO_THREAD= ${WRKDIR}/.python-has-no-threads OPTIONS_SUB= yes CONFIGURE_ARGS= --libdir=${PREFIX}/lib \ --with-dbdir=${DBDIR} \ --with-zlib=/usr \ --disable-clamuko \ --disable-clamav \ --enable-bigstack \ --enable-readdir_r \ --enable-gethostbyname_r \ --disable-dependency-tracking \ --enable-clamdtop CPPFLAGS+= -I${LOCALBASE}/include \ ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib \ ${PTHREAD_LIBS} # This port has a problem with -pthread, # force to use -lthr until it's not fixed. PTHREAD_LIBS= -lthr CONFLICTS?= clamav-milter-[0-9]* CLAMAVUSER?= clamav CLAMAVGROUP?= clamav CLAMAV_CLAMD_SOCKET?= ${RUNDIR}/clamd.sock CLAMAV_MILTER_SOCKET?= ${RUNDIR}/clmilter.sock SUB_FILES= pkg-deinstall SUB_LIST+= DBDIR=${DBDIR} \ LOGDIR=${LOGDIR} \ RUNDIR=${RUNDIR} \ CHMOD=${CHMOD} \ CHOWN=${CHOWN} \ CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} \ CLAMAV_CLAMD_SOCKET=${CLAMAV_CLAMD_SOCKET} \ CLAMAV_MILTER_SOCKET=${CLAMAV_MILTER_SOCKET} SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \ -e 's|^\#?((Update)?LogFile) .*/([a-z]+\.log)$$|\1 ${LOGDIR}/\3|' \ -e 's|^\#?(PidFile) .*/([a-z\-]+\.pid)$$|\1 ${RUNDIR}/\2|' \ -e 's|^\#?(LocalSocket) .*$$|\1 ${CLAMAV_CLAMD_SOCKET}|' \ -e 's|^\#?(User) .*$$|\1 ${CLAMAVUSER}|' \ -e 's|^\#?(AllowSupplementaryGroups).*$$|\1 yes|' \ -e 's|^\#?(ScanMail).*$$|\1 yes|' \ -e 's|^\#?(DatabaseDirectory) .*$$|\1 ${DBDIR}|' \ -e 's|^\#?(DatabaseOwner) .*$$|\1 ${CLAMAVUSER}|' \ -e 's|^\#?(FixStaleSocket).*$$|\1 yes|' \ -e 's|^\#?(NotifyClamd) .*$$|\1 ${PREFIX}/etc/clamd.conf|' \ -e 's|^\#?(MilterSocket) */tmp.*$$|\1 ${CLAMAV_MILTER_SOCKET}|' \ -e 's|^\#?(ClamdSocket).*$$|\1 unix:${CLAMAV_CLAMD_SOCKET}|' PLIST_SUB+= CLAMAVUSER=${CLAMAVUSER} \ CLAMAVGROUP=${CLAMAVGROUP} .include .if ${CLAMAVUSER} == "clamav" USERS= clamav .endif .if ${CLAMAVGROUP} == "clamav" GROUPS= clamav mail .endif .if ${PORT_OPTIONS:MLLVM} && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) CONFIGURE_ARGS+=--enable-llvm . if ${PORT_OPTIONS:MTESTS} -USE_PYTHON_BUILD= yes +USES+= python:build . endif .else CONFIGURE_ARGS+=--disable-llvm .endif .if ${PORT_OPTIONS:MMILTER} USE_RC_SUBR+= clamav-milter . if ${PORT_OPTIONS:MLDAP} && exists(${LOCALBASE}/lib/libldap.so) USE_OPENLDAP= yes LDFLAGS+= -lldap . endif . if !exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a) BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail CONFIGURE_ARGS+=--with-sendmail=${LOCALBASE}/sbin/sendmail . else CONFIGURE_ARGS+=--with-sendmail=/usr/sbin/sendmail . endif .endif .if ${PORT_OPTIONS:MSTDERR} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-shared_output.c .endif .include .if ${ARCH} == "i386" CFLAGS+= -march=i486 .endif post-patch: @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's,^\(pkgconfigdir = \).*$$,\1$$\(prefix\)/libdata/pkgconfig,g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} ${SED_CONF} \ ${WRKSRC}/etc/clamd.conf.sample \ ${WRKSRC}/etc/freshclam.conf.sample \ ${WRKSRC}/etc/clamav-milter.conf.sample @${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \ ${WRKSRC}/libclamunrar/unrar.c .if ${PORT_OPTIONS:MLLVM} && ${PORT_OPTIONS:MTESTS} pre-configure: @if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \ ${ECHO_MSG} ""; \ ${ECHO_MSG} "==========================================================================="; \ ${ECHO_MSG} "= Unit tests REQUIRES python built with thread support, and yours is not. ="; \ ${ECHO_MSG} "= It will not be called during this build ="; \ ${ECHO_MSG} "==========================================================================="; \ ${ECHO_MSG} ""; \ ${TOUCH} ${PY_NO_THREAD}; \ fi .endif .if ${PORT_OPTIONS:MTESTS} post-build: @if [ ! -f "${PY_NO_THREAD}" ]; then \ ${MAKE_CMD} -C ${WRKSRC} check; \ fi .endif post-install: ${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${STAGEDIR}${PREFIX}/include @${MKDIR} ${STAGEDIR}${DOCSDIR}/html \ ${STAGEDIR}${DBDIR} \ ${STAGEDIR}${LOGDIR} \ ${STAGEDIR}${RUNDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html .include Index: head/security/flawfinder/Makefile =================================================================== --- head/security/flawfinder/Makefile (revision 371452) +++ head/security/flawfinder/Makefile (revision 371453) @@ -1,31 +1,31 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= flawfinder PORTVERSION= 1.27 CATEGORIES= security devel MASTER_SITES= http://www.dwheeler.com/flawfinder/ \ ${MASTER_SITE_PACKETSTORM} MASTER_SITE_SUBDIR= UNIX/security MAINTAINER= lx@FreeBSD.org COMMENT= Examines source code looking for security weaknesses -USE_PYTHON= yes +USES= python NO_BUILD= yes PLIST_FILES= bin/flawfinder man/man1/flawfinder.1.gz PORTDOCS= ChangeLog README flawfinder.pdf flawfinder.ps PORTEXAMPLES= test.c correct-results.html correct-results.txt OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_SCRIPT} ${WRKSRC}/flawfinder ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flawfinder.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/security/fsh/Makefile =================================================================== --- head/security/fsh/Makefile (revision 371452) +++ head/security/fsh/Makefile (revision 371453) @@ -1,29 +1,29 @@ # Created by: sumikawa # $FreeBSD$ PORTNAME= fsh PORTVERSION= 1.2 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www.lysator.liu.se/fsh/ \ http://mirror2.unixfreunde.de/ \ http://freebsd.unixfreunde.de/sources/ MAINTAINER= ports@FreeBSD.org COMMENT= Fast remote command execution -USE_PYTHON= yes +USES= python GNU_CONFIGURE= yes INFO= fsh post-patch: ${REINPLACE_CMD} -e '/^[^#]/s/FCNTL/fcntl/g' ${WRKSRC}/fshcompat.py post-build: ${PYTHON_CMD} -c 'import py_compile; py_compile.main()' ${WRKSRC}/*.py post-install: ${INSTALL_DATA} ${WRKSRC}/*.pyc ${STAGEDIR}${PREFIX}/share/fsh .include Index: head/security/gcipher/Makefile =================================================================== --- head/security/gcipher/Makefile (revision 371452) +++ head/security/gcipher/Makefile (revision 371453) @@ -1,60 +1,60 @@ # Created by: Shannon -jj Behrens # $FreeBSD$ PORTNAME= gcipher PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= security gnome MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Simple encryption tool LICENSE= BSD USE_GNOME= pygnome2 -USE_PYTHON= yes +USES= python MAN1= gcipher.1 LICENSE_FILES= ${WRKSRC}/LICENSE OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ '/^VERSION/s|=.*|= "${PORTVERSION}"|g ; \ /^GLADEDIR/s|=.*|= "${DATADIR}/lib"|g' ${WRKSRC}/src/Const.py @${REINPLACE_CMD} -e \ 's|/usr/bin/python|${SETENV} python|g ; \ s|^# sys.path.append|sys.path.append|g ; \ s|/usr/share/gcipher/lib|${DATADIR}/lib|' ${WRKSRC}/src/gcipher do-build: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/gcipher ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gcipher.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/src/gcipher.desktop ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${DATADIR}/lib (cd ${WRKSRC}/src && \ ${FIND} . -name '*.glade' \ -o -name '*.gladep' \ -o -name '*.py' \ -o -name '*.pyc' \ -o -name '*.pyo' | \ ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/lib) @${MKDIR} ${STAGEDIR}${DATADIR}/plugins (cd ${WRKSRC}/plugins && \ ${FIND} . -name '*.glade' \ -o -name '*.gladep' \ -o -name '*.py' | \ ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/plugins) ${FIND} ${STAGEDIR}${DATADIR} -type d | ${XARGS} ${CHMOD} a+rx ${FIND} ${STAGEDIR}${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && \ ${INSTALL_DATA} CONTRIB README ${STAGEDIR}${DOCSDIR}) .include Index: head/security/gnome-password-generator/Makefile =================================================================== --- head/security/gnome-password-generator/Makefile (revision 371452) +++ head/security/gnome-password-generator/Makefile (revision 371453) @@ -1,25 +1,25 @@ # Created by: Sergey Akifyev # $FreeBSD$ PORTNAME= gnome-password-generator PORTVERSION= 1.6 PORTREVISION= 5 CATEGORIES= security gnome python MASTER_SITES= SF/gnome-password/Gnome%20Password%20Generator/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GNOME 2 password generator USE_GNOME= pygnome2 -USE_PYTHON= yes +USES= python do-build: @cd ${WRKSRC} && ${SED} -e 's|/usr/bin/python|${PYTHON_CMD}|g ; \ s|/usr/share|${PREFIX}/share|g' ${PORTNAME}.py > ${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${PREFIX}/share/applications .include Index: head/security/gwee/Makefile =================================================================== --- head/security/gwee/Makefile (revision 371452) +++ head/security/gwee/Makefile (revision 371453) @@ -1,30 +1,29 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= gwee PORTVERSION= 1.36 CATEGORIES= security www MASTER_SITES= PACKETSTORM MASTER_SITE_SUBDIR= UNIX/utilities MAINTAINER= ports@FreeBSD.org COMMENT= Tool to exploit command execution vulnerabilities in web scripts -USES= perl5 +USES= perl5 python USE_OPENSSL= yes -USE_PYTHON= yes LDFLAGS+= -lssl -lcrypto CFLAGS+= -DWITH_SSL PLIST_FILES= bin/gwee man/man1/gwee.1.gz do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/security/hmap/Makefile =================================================================== --- head/security/hmap/Makefile (revision 371452) +++ head/security/hmap/Makefile (revision 371453) @@ -1,37 +1,36 @@ # Created by: Yonatan # $FreeBSD$ PORTNAME= hmap PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://ujeni.murkyroc.com/hmap/code/current/ DISTNAME= ${PORTNAME} MAINTAINER= onatan@gmail.com COMMENT= Web server fingerprinting utility LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/GPL -USES= dos2unix -USE_PYTHON= yes +USES= dos2unix python NO_WRKSUBDIR= yes NO_BUILD= yes OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|DATADIR|${DATADIR}|' ${WRKSRC}/hmap.py do-install: ${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/known.servers/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README BUGS FAQS HIDING_GUIDE KNOWN_TESTS ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/security/hotssh/Makefile =================================================================== --- head/security/hotssh/Makefile (revision 371452) +++ head/security/hotssh/Makefile (revision 371453) @@ -1,50 +1,49 @@ # Created by: Ashish Shukla # $FreeBSD$ PORTNAME= hotssh PORTVERSION= 0.2.7 PORTREVISION= 5 CATEGORIES= security gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} MAINTAINER= ashish@FreeBSD.org COMMENT= HotSSH is an interface to Secure Shell, for GNOME and OpenSSH LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus \ ${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc:${PORTSDIR}/devel/py-gobject \ ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-dbus \ ${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc:${PORTSDIR}/devel/py-gobject \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte USE_GNOME= pygtk2 gnomedocutils libxslt glib20 -USES= gettext tar:bzip2 -USE_PYTHON= yes +USES= gettext python tar:bzip2 INSTALLS_ICONS= yes B64DECODE?= /usr/bin/b64decode BSPATCH?= /usr/bin/bspatch post-extract: @${GREP} -Rl '^#!/usr/bin/python$$' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e 's|^#!/usr/bin/python$$|#!/usr/bin/env python|g' @${MV} ${WRKSRC}/waf ${WRKSRC}/waf.beforepatch @cd ${WRKSRC} && ${B64DECODE} -o waf.diff ${FILESDIR}/waf.diff && ${BSPATCH} waf.beforepatch waf waf.diff && ${CHMOD} 755 waf @${GREP} -Rl '%%LOCALBASE%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" do-configure: @cd ${WRKSRC} && ./waf configure --prefix=${PREFIX} do-build: @cd ${WRKSRC} && ./waf do-install: @cd ${WRKSRC} && ./waf install --destdir=${STAGEDIR} .include Index: head/security/lasso/Makefile =================================================================== --- head/security/lasso/Makefile (revision 371452) +++ head/security/lasso/Makefile (revision 371453) @@ -1,64 +1,65 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= lasso PORTVERSION= 2.1.1 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/594/ MAINTAINER= tj@FreeBSD.org COMMENT= Free Liberty Alliance Implementation BROKEN= Fails to build RUN_DEPENDS= xmlsec1:${PORTSDIR}/security/xmlsec1 BUILD_DEPENDS:= ${RUN_DEPENDS} CONFIGURE_ARGS+= --disable-java --disable-php4 --with-zlib GNU_CONFIGURE= yes USES= pkgconfig USE_GNOME= gnomehack glib20 libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes -USE_PYTHON_BUILD= yes OPTIONS_DEFINE= PERL PHP PYTHON DOCS .include .if !empty(PORT_OPTIONS:MPERL) CONFIGURE_ARGS+= --enable-perl PLIST_SUB+= WITH_PERL="" USES+= perl5 .else CONFIGURE_ARGS+= --disable-perl PLIST_SUB+= WITH_PERL="@comment " .endif .if !empty(PORT_OPTIONS:MPHP) CONFIGURE_ARGS+= --enable-php5 \ --with-php5-config="${LOCALBASE}/bin/php-config" LDFLAGS+= "-L${LOCALBASE}/lib" LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 PLIST_SUB+= WITH_PHP5="" USE_PHP= yes USE_PHP_BUILD= yes .else CONFIGURE_ARGS+= --disable-php5 PLIST_SUB+= WITH_PHP5="@comment " .endif .if !empty(PORT_OPTIONS:MPYTHON) CONFIGURE_ARGS+= --enable-python PLIST_SUB+= WITH_PYTHON="" +USES+= python USE_PYTHON= yes .else +USES+= python:build CONFIGURE_ARGS+= --disable-python PLIST_SUB+= WITH_PYTHON="@comment " .endif post-install: ${RM} -f ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod .include Index: head/security/obfsproxy/Makefile =================================================================== --- head/security/obfsproxy/Makefile (revision 371452) +++ head/security/obfsproxy/Makefile (revision 371453) @@ -1,29 +1,28 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= obfsproxy PORTVERSION= 0.2.10 PORTEPOCH= 1 CATEGORIES= security net python MASTER_SITES= http://www.c-s.li/ports/ MAINTAINER= cs@FreeBSD.org COMMENT= Pluggable transport proxy LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyptlib>=0.0.5:${PORTSDIR}/security/py-pyptlib \ ${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:${PORTSDIR}/security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml -USE_PYTHON= yes -USES= twisted -USE_PYDISTUTILS=yes +USE_PYTHON= distutils +USES= python twisted SUB_FILES= pkg-message PYDISTUTILS_PKGNAME=obfsproxy post-install: ${CAT} ${PKGMESSAGE} .include Index: head/security/openconnect/Makefile =================================================================== --- head/security/openconnect/Makefile (revision 371452) +++ head/security/openconnect/Makefile (revision 371453) @@ -1,45 +1,45 @@ # Created by: Damian Gerow # $FreeBSD$ PORTNAME= openconnect PORTVERSION= 6.00 CATEGORIES= security MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Client for Cisco's AnyConnect SSL VPN LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 RUN_DEPENDS= vpnc-script:${PORTSDIR}/sysutils/vpnc-scripts GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --without-liboath --without-openssl-version-check \ --without-stoken -USES= gmake libtool pkgconfig +USES= gmake libtool pkgconfig python:build USE_LDCONFIG= yes USE_PYTHON_BUILD= yes PORTDOCS= * OPTIONS_DEFINE= PROXY GNUTLS PROXY_DESC= Enable automatic proxy configuratio via libproxy PROXY_LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy PROXY_CONFIGURE_WITH= libproxy GNUTLS_DESC= Use GnuTLS instead of OpenSSL(EXPERIMENTAL) GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_USE_OFF= OPENSSL=yes post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenconnect.so.3.3.0 .include Index: head/security/parano/Makefile =================================================================== --- head/security/parano/Makefile (revision 371452) +++ head/security/parano/Makefile (revision 371453) @@ -1,22 +1,21 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= parano PORTVERSION= 0.3.5 PORTREVISION= 5 CATEGORIES= security MASTER_SITES= BERLIOS MAINTAINER= ports@FreeBSD.org COMMENT= Gnome program to deal with hashfiles USE_GNOME= pygnome2 -USE_PYTHON= yes -USES= desktop-file-utils gettext gmake shared-mime-info +USES= desktop-file-utils gettext gmake python shared-mime-info GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-mime-database CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include Index: head/security/pwman3/Makefile =================================================================== --- head/security/pwman3/Makefile (revision 371452) +++ head/security/pwman3/Makefile (revision 371453) @@ -1,22 +1,21 @@ # Created by: Yarodin # $FreeBSD$ PORTNAME= pwman3 PORTVERSION= 0.0.6 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= http://pwman.bleurgh.com/~ivan/pwman3/source/ \ http://source.antisupport.com/pwman3/ DISTNAME= Pwman3-${PORTVERSION} MAINTAINER= yarodin@gmail.com COMMENT= Console password management application with sql storage RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-AccessControl/Makefile =================================================================== --- head/security/py-AccessControl/Makefile (revision 371452) +++ head/security/py-AccessControl/Makefile (revision 371453) @@ -1,39 +1,37 @@ # $FreeBSD$ PORTNAME= AccessControl PORTVERSION= 3.0.8 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Security framework for Zope2 LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Acquisition>=0:${PORTSDIR}/devel/py-Acquisition \ ${PYTHON_PKGNAMEPREFIX}DateTime>=0:${PORTSDIR}/devel/py-DateTime \ ${PYTHON_PKGNAMEPREFIX}ExtensionClass>=0:${PORTSDIR}/devel/py-ExtensionClass \ ${PYTHON_PKGNAMEPREFIX}Persistence>=0:${PORTSDIR}/devel/py-Persistence \ ${PYTHON_PKGNAMEPREFIX}Record>=0:${PORTSDIR}/devel/py-Record \ ${PYTHON_PKGNAMEPREFIX}RestrictedPython>=0:${PORTSDIR}/security/py-RestrictedPython \ ${PYTHON_PKGNAMEPREFIX}transaction>=0:${PORTSDIR}/devel/py-transaction \ ${PYTHON_PKGNAMEPREFIX}zExceptions>=0:${PORTSDIR}/devel/py-zExceptions \ zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration \ ${PYTHON_PKGNAMEPREFIX}zope.deferredimport>=0:${PORTSDIR}/devel/py-zope.deferredimport \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.publisher>=0:${PORTSDIR}/devel/py-zope.publisher \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.testing>=0:${PORTSDIR}/devel/py-zope.testing -USES= zip -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-PF/Makefile =================================================================== --- head/security/py-PF/Makefile (revision 371452) +++ head/security/py-PF/Makefile (revision 371453) @@ -1,31 +1,30 @@ # Created by: Sofian Brabez # $FreeBSD$ PORTNAME= PF PORTVERSION= 0.0.8 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Pure-Python module for managing OpenBSD Packet Filter LICENSE= BSD3CLAUSE USE_GITHUB= yes -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist GH_ACCOUNT= dotpy GH_PROJECT= py-${PORTNAME:tl} GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 4edf8ee SUB_FILES= pkg-message post-install: .if !defined(BATCH) @${CAT} ${PKGMESSAGE} .endif .include Index: head/security/py-Products.PlonePAS/Makefile =================================================================== --- head/security/py-Products.PlonePAS/Makefile (revision 371452) +++ head/security/py-Products.PlonePAS/Makefile (revision 371453) @@ -1,28 +1,26 @@ # $FreeBSD$ PORTNAME= Products.PlonePAS PORTVERSION= 4.1.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Adapts the PluggableAuthService for use by Plone LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.memoize>=0:${PORTSDIR}/www/py-plone.memoize \ ${PYTHON_PKGNAMEPREFIX}plone.session>=0:${PORTSDIR}/security/py-plone.session \ ${PYTHON_PKGNAMEPREFIX}plone.i18n>0:${PORTSDIR}/www/py-plone.i18n \ ${PYTHON_PKGNAMEPREFIX}Products.CMFCore>=0:${PORTSDIR}/devel/py-Products.CMFCore \ ${PYTHON_PKGNAMEPREFIX}Products.GenericSetup>=0:${PORTSDIR}/devel/py-Products.GenericSetup \ ${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -USES= zope zip +USES= python:2 zope zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-Products.PluggableAuthService/Makefile =================================================================== --- head/security/py-Products.PluggableAuthService/Makefile (revision 371452) +++ head/security/py-Products.PluggableAuthService/Makefile (revision 371453) @@ -1,24 +1,22 @@ # $FreeBSD$ PORTNAME= Products.PluggableAuthService PORTVERSION= 1.10.0 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Pluggable Zope2 authentication / authorization framework LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Products.PluginRegistry>=0:${PORTSDIR}/devel/py-Products.PluginRegistry \ ${PYTHON_PKGNAMEPREFIX}Products.GenericSetup>=0:${PORTSDIR}/devel/py-Products.GenericSetup -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -USES= zope +USES= python:2 zope +USE_PYTHON= distutils autoplist .include Index: head/security/py-RestrictedPython/Makefile =================================================================== --- head/security/py-RestrictedPython/Makefile (revision 371452) +++ head/security/py-RestrictedPython/Makefile (revision 371453) @@ -1,21 +1,19 @@ # $FreeBSD$ PORTNAME= RestrictedPython PORTVERSION= 3.6.0 PORTREVISION= 2 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Restricted execution environment for Python LICENSE= ZPL21 -USES= zip -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-SecretStorage/Makefile =================================================================== --- head/security/py-SecretStorage/Makefile (revision 371452) +++ head/security/py-SecretStorage/Makefile (revision 371453) @@ -1,21 +1,20 @@ # Created by: Douglas Thrift # $FreeBSD$ PORTNAME= SecretStorage PORTVERSION= 1.1.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Store passwords using the SecretService DBus API LICENSE= BSD RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py-dbus -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-backports.ssl_match_hostname/Makefile =================================================================== --- head/security/py-backports.ssl_match_hostname/Makefile (revision 371452) +++ head/security/py-backports.ssl_match_hostname/Makefile (revision 371453) @@ -1,17 +1,16 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= backports.ssl_match_hostname PORTVERSION= 3.4.0.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gblach@FreeBSD.org COMMENT= Backport of ssl.match_hostname() function -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include Index: head/security/py-bcrypt/Makefile =================================================================== --- head/security/py-bcrypt/Makefile (revision 371452) +++ head/security/py-bcrypt/Makefile (revision 371453) @@ -1,25 +1,24 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= bcrypt PORTVERSION= 0.4 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= GOOGLE_CODE \ http://www.mindrot.org/files/py-bcrypt/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py-${PORTNAME}-${PORTVERSION} MAINTAINER= miwi@FreeBSD.org COMMENT= Python bcrypt module -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PROJECTHOST= py-bcrypt .include Index: head/security/py-borg.localrole/Makefile =================================================================== --- head/security/py-borg.localrole/Makefile (revision 371452) +++ head/security/py-borg.localrole/Makefile (revision 371453) @@ -1,33 +1,30 @@ # $FreeBSD$ PORTNAME= borg.localrole PORTVERSION= 3.0.2 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= PAS plugin which can manage local roles via an adapter lookup LICENSE= LGPL20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope.annotation \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.deferredimport>=0:${PORTSDIR}/devel/py-zope.deferredimport \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}Products.CMFCore>=0:${PORTSDIR}/devel/py-Products.CMFCore \ ${PYTHON_PKGNAMEPREFIX}Products.GenericSetup>=0:${PORTSDIR}/devel/py-Products.GenericSetup \ ${PYTHON_PKGNAMEPREFIX}Products.PlonePAS>=0:${PORTSDIR}/security/py-Products.PlonePAS \ ${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService \ ${PYTHON_PKGNAMEPREFIX}plone.memoize>=0:${PORTSDIR}/www/py-plone.memoize \ ${PYTHON_PKGNAMEPREFIX}Acquisition>=0:${PORTSDIR}/devel/py-Acquisition -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -#USE_ZOPE= yes +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-cerealizer/Makefile =================================================================== --- head/security/py-cerealizer/Makefile (revision 371452) +++ head/security/py-cerealizer/Makefile (revision 371453) @@ -1,21 +1,19 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= cerealizer PORTVERSION= 0.7 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= http://download.gna.org/soya/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Cerealizer-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= acm@FreeBSD.org COMMENT= Secure pickle-like module -USES= tar:bzip2 -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python tar:bzip2 +USE_PYTHON= distutils autoplist .include Index: head/security/py-clamav/Makefile =================================================================== --- head/security/py-clamav/Makefile (revision 371452) +++ head/security/py-clamav/Makefile (revision 371453) @@ -1,35 +1,34 @@ # Created by: Marcus Alves Grando # $FreeBSD$ PORTNAME= clamav PORTVERSION= 0.4.1 PORTREVISION= 4 CATEGORIES= security python MASTER_SITES= http://xael.org/norman/python/pyclamav/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python binding to libclamav written in C LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav DIST_SUBDIR= python -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= * PORTEXAMPLES= * post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR} .include Index: head/security/py-cryptkit/Makefile =================================================================== --- head/security/py-cryptkit/Makefile (revision 371452) +++ head/security/py-cryptkit/Makefile (revision 371453) @@ -1,17 +1,16 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= cryptkit PORTVERSION= 0.9 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}/_${PORTNAME}/Complete%20Kit PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Cryptographic Toolkit for Python -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-ecdsa/Makefile =================================================================== --- head/security/py-ecdsa/Makefile (revision 371452) +++ head/security/py-ecdsa/Makefile (revision 371453) @@ -1,23 +1,22 @@ # Created by: Neil Booth # $FreeBSD$ PORTNAME= ecdsa PORTVERSION= 0.11 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kyuupichan@gmail.com COMMENT= ECDSA cryptographic signature library (pure python) LICENSE= MIT -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/security/py-ed25519ll/Makefile =================================================================== --- head/security/py-ed25519ll/Makefile (revision 371452) +++ head/security/py-ed25519ll/Makefile (revision 371453) @@ -1,20 +1,19 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= ed25519ll PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Low-level ctypes wrapper for Ed25519 digital signatures LICENSE= MIT -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-fail2ban/Makefile =================================================================== --- head/security/py-fail2ban/Makefile (revision 371452) +++ head/security/py-fail2ban/Makefile (revision 371453) @@ -1,58 +1,58 @@ # $FreeBSD$ PORTNAME= fail2ban PORTVERSION= 0.9.0 PORTREVISION= 4 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= theis@gmx.at COMMENT= Scans log files and bans IP that makes too many password failures LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_PROJECT= ${PORTNAME} GH_COMMIT= c7f4c48 GH_TAGNAME= ${PORTVERSION} -USE_PYTHON= 2 -USE_PYDISTUTILS= yes +USES= python:2 +USE_PYTHON= distutils USE_RC_SUBR= fail2ban SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} PYDISTUTILS_INSTALLARGS+= --install-purelib=${PYTHON_SITELIBDIR} \ --install-data=${ETCDIR} PYDISTUTILS_PKGVERSION= ${PORTVERSION} PORTDOCS= README.md DEVELOP FILES= ${WRKSRC}/bin/fail2ban-client \ ${WRKSRC}/fail2ban/client/configreader.py \ ${WRKSRC}/man/fail2ban-client.1 \ ${WRKSRC}/man/fail2ban-client.h2m \ ${WRKSRC}/setup.py FAIL2BAN_DBDIR= /var/db/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's,/etc/fail2ban,${ETCDIR},g' ${FILES} @${REINPLACE_CMD} -e 's,paths-debian.conf,paths-freebsd.conf,g' \ ${WRKSRC}/config/jail.conf @${REINPLACE_CMD} -e 's,/var/lib/fail2ban/fail2ban.sqlite3,${FAIL2BAN_DBDIR}/fail2ban.sqlite3,g' \ ${WRKSRC}/config/fail2ban.conf @${REINPLACE_CMD} -e 's,"/dev/log","/var/run/log",g' ${WRKSRC}/fail2ban/server/server.py post-install: @${MKDIR} ${STAGEDIR}${FAIL2BAN_DBDIR} ${STAGEDIR}/var/run/fail2ban @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .for file in fail2ban-client fail2ban-regex fail2ban-server fail2ban @${INSTALL_MAN} ${WRKSRC}/man/${file}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor @${INSTALL_MAN} ${WRKSRC}/man/jail.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5/fail2ban-jail.conf.5 .include Index: head/security/py-fchksum/Makefile =================================================================== --- head/security/py-fchksum/Makefile (revision 371452) +++ head/security/py-fchksum/Makefile (revision 371453) @@ -1,21 +1,21 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= fchksum PORTVERSION= 1.7.1 CATEGORIES= security python MASTER_SITES= http://code.fluffytapeworm.com/projects/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= matthew@reztek.cz COMMENT= Python module to find the checksum of files LICENSE= GPLv2 PLIST_FILES= %%PYTHON_SITELIBDIR%%/fchksum.so -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= python-fchksum .include Index: head/security/py-gnutls/Makefile =================================================================== --- head/security/py-gnutls/Makefile (revision 371452) +++ head/security/py-gnutls/Makefile (revision 371453) @@ -1,34 +1,34 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= gnutls PORTVERSION= 1.2.5 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-gnutls-${PORTVERSION} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python wrapper for the GNUTLS library LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= python_gnutls EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} OPTIONS_DEFINE= EXAMPLES post-patch: ${REINPLACE_CMD} -e "s|include_dirs=.*|include_dirs=\['${LOCALBASE}/include'\],|" ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s|library_dirs=.*|library_dirs=\['${LOCALBASE}/lib'\],|" ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s|\.26||g" ${WRKSRC}/gnutls/library/functions.py post-install: @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}/${EXAMPLESDIR} .include Index: head/security/py-htpasswd/Makefile =================================================================== --- head/security/py-htpasswd/Makefile (revision 371452) +++ head/security/py-htpasswd/Makefile (revision 371453) @@ -1,27 +1,26 @@ # Created by: Aldis Berjoza # $FreeBSD$ PORTNAME= htpasswd PORTVERSION= 2008.03.05 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= graudeejs@gmail.com COMMENT= Replacement for htpasswd -USES= shebangfix tar:xz -USE_PYTHON= yes +USES= python shebangfix tar:xz PLIST_FILES= bin/${PORTNAME}.py NO_BUILD= yes NO_WRKSUBDIR= yes SHEBANG_FILES= ${PORTNAME}.py do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin .include Index: head/security/py-kerberos/Makefile =================================================================== --- head/security/py-kerberos/Makefile (revision 371452) +++ head/security/py-kerberos/Makefile (revision 371453) @@ -1,27 +1,26 @@ # Created by: Roland van Laar # $FreeBSD$ PORTNAME= kerberos PORTVERSION= 1.1.1 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= roland@micite.net COMMENT= Kerberos bindings for python LICENSE= APACHE20 BUILD_DEPENDS= libkrb5-config.so:${PORTSDIR}/security/krb5 LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5 -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist post-patch: @${REINPLACE_CMD} -e 's|krb5|${PREFIX}/bin/krb5|g' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's|split|replace("/usr/lib:", "").split|g' ${WRKSRC}/setup.py .include Index: head/security/py-keyczar/Makefile =================================================================== --- head/security/py-keyczar/Makefile (revision 371452) +++ head/security/py-keyczar/Makefile (revision 371453) @@ -1,22 +1,21 @@ # Created by: Douglas Thrift # $FreeBSD$ PORTNAME= keyczar PORTVERSION= 0.71c CATEGORIES= security python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= douglas@douglasthrift.net COMMENT= Toolkit for safe and simple cryptography LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-keyring/Makefile =================================================================== --- head/security/py-keyring/Makefile (revision 371452) +++ head/security/py-keyring/Makefile (revision 371453) @@ -1,40 +1,38 @@ # Created by: Douglas Thrift # $FreeBSD$ PORTNAME= keyring PORTVERSION= 3.2.1 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Store and access your passwords safely LICENSE= PSFL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner LATEST_LINK= py-${PORTNAME} -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python zip +USE_PYTHON= distutils autoplist OPTIONS_DEFINE= CRYPT_FILE GNOME_KEYRING KDE_KWALLET KEYCZAR PYFS \ SECRET_SERVICE CRYPT_FILE_DESC= Install pycrpto to support the Crypt(ed) File backend GNOME_KEYRING_DESC= Install GNOME Keyring to support the Gnome backend KDE_KWALLET_DESC= Install KDE KWallet to support the kwallet backend KEYCZAR_DESC= Install keyczar to support keyring encryption PYFS_DESC= Install pyfilesystem to support the pyfs backend SECRET_SERVICE_DESC= Install SecretStorage to support the SecretService backend CRYPT_FILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto GNOME_KEYRING_USE= GNOME=pygobject3 KDE_KWALLET_USE= KDE4=pykde4 KEYCZAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyczar>=0.71c:${PORTSDIR}/security/py-keyczar PYFS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs>=0.4.0:${PORTSDIR}/devel/py-fs SECRET_SERVICE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}SecretStorage>=1.0.0:${PORTSDIR}/security/py-SecretStorage .include Index: head/security/py-mcrypt/Makefile =================================================================== --- head/security/py-mcrypt/Makefile (revision 371452) +++ head/security/py-mcrypt/Makefile (revision 371453) @@ -1,28 +1,27 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= mcrypt PORTVERSION= 1.1 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= SF/python-${PORTNAME}/OldFiles PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-mcrypt-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Comprehensive Python interface to the mcrypt library LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib PYDISTUTILS_BUILD_TARGET= build_ext CFLAGS+= -I${LOCALBASE}/include pre-patch: # put a missed terminating quote ${REINPLACE_CMD} -e '1136s,$$,\\,g' -e '1678s,$$,\\,g' ${WRKSRC}/mcrypt.c .include Index: head/security/py-mhash/Makefile =================================================================== --- head/security/py-mhash/Makefile (revision 371452) +++ head/security/py-mhash/Makefile (revision 371453) @@ -1,26 +1,25 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= mhash PORTVERSION= 1.4 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}/OldFiles PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-mhash-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python mhash module LIB_DEPENDS= libmhash.so:${PORTSDIR}/security/mhash -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib test: install ${PYTHON_CMD} ${WRKSRC}/test.py .include Index: head/security/py-oauthlib/Makefile =================================================================== --- head/security/py-oauthlib/Makefile (revision 371452) +++ head/security/py-oauthlib/Makefile (revision 371453) @@ -1,37 +1,36 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= oauthlib PORTVERSION= 0.6.0 PORTREVISION= 1 CATEGORIES= security net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= RFC-compliant Python implementation of OAuth LICENSE= BSD RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto TEST_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose \ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto -USE_GITHUB= yes -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USE_GITHUB= yes +USES= python +USE_PYTHON= distutils autoplist GH_ACCOUNT= idan GH_COMMIT= 58abd88 .include .if ${PYTHON_REL} < 300 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 .endif regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/security/py-openid/Makefile =================================================================== --- head/security/py-openid/Makefile (revision 371452) +++ head/security/py-openid/Makefile (revision 371453) @@ -1,20 +1,19 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= openid PORTVERSION= 2.2.5 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= LOCAL/clsung PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= openid-python-openid-2.2.5-0-gb666238 MAINTAINER= clsung@FreeBSD.org COMMENT= Python OpenID version WRKSRC= ${WRKDIR}/openid-python-openid-b666238 -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-openssl/Makefile =================================================================== --- head/security/py-openssl/Makefile (revision 371452) +++ head/security/py-openssl/Makefile (revision 371453) @@ -1,40 +1,37 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= openssl PORTVERSION= 0.14 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyOpenSSL-${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Python interface to the OpenSSL library LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.2.1:${PORTSDIR}/security/py-cryptography \ ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:${PORTSDIR}/devel/py-six OPTIONS_DEFINE= EXAMPLES -USES= cpe -USE_PYTHON= yes -USE_PYTHON_PREFIX= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= cpe python +USE_PYTHON= distutils autoplist pythonprefix CPE_VENDOR= jean-paul_calderone CPE_PRODUCT= py${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= * post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) regression-test: build @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test) .include Index: head/security/py-passlib/Makefile =================================================================== --- head/security/py-passlib/Makefile (revision 371452) +++ head/security/py-passlib/Makefile (revision 371453) @@ -1,19 +1,18 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= passlib PORTVERSION= 1.6.2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Python password hashing framework supporting over 30 schemes LICENSE= BSD3CLAUSE -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-plone.app.openid/Makefile =================================================================== --- head/security/py-plone.app.openid/Makefile (revision 371452) +++ head/security/py-plone.app.openid/Makefile (revision 371453) @@ -1,31 +1,29 @@ # $FreeBSD$ PORTNAME= plone.app.openid PORTVERSION= 2.0.2 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Plone OpenID authentication support LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.openid>=0:${PORTSDIR}/security/py-plone.openid \ ${PYTHON_PKGNAMEPREFIX}plone.portlets>=0:${PORTSDIR}/www/py-plone.portlets \ ${PYTHON_PKGNAMEPREFIX}plone.app.portlets>=0:${PORTSDIR}/www/py-plone.app.portlets \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}Products.CMFCore>=0:${PORTSDIR}/devel/py-Products.CMFCore \ ${PYTHON_PKGNAMEPREFIX}Products.PlonePAS>=2.0.10:${PORTSDIR}/security/py-Products.PlonePAS \ ${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -#USES= zope +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-plone.keyring/Makefile =================================================================== --- head/security/py-plone.keyring/Makefile (revision 371452) +++ head/security/py-plone.keyring/Makefile (revision 371453) @@ -1,26 +1,24 @@ # $FreeBSD$ PORTNAME= plone.keyring PORTVERSION= 2.0.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Manage secrets LICENSE= BSD3CLAUSE RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.container>=0:${PORTSDIR}/devel/py-zope.container \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-plone.openid/Makefile =================================================================== --- head/security/py-plone.openid/Makefile (revision 371452) +++ head/security/py-plone.openid/Makefile (revision 371453) @@ -1,28 +1,25 @@ # $FreeBSD$ PORTNAME= plone.openid PORTVERSION= 2.0.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= OpenID authentication support for PAS LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openid>=0:${PORTSDIR}/security/py-openid \ ${PYTHON_PKGNAMEPREFIX}transaction>=0:${PORTSDIR}/devel/py-transaction \ ${PYTHON_PKGNAMEPREFIX}Acquisition>=0:${PORTSDIR}/devel/py-Acquisition \ ${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService \ zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -#USES= zope +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-plone.protect/Makefile =================================================================== --- head/security/py-plone.protect/Makefile (revision 371452) +++ head/security/py-plone.protect/Makefile (revision 371453) @@ -1,26 +1,23 @@ # $FreeBSD$ PORTNAME= plone.protect PORTVERSION= 2.0.2 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Security for browser forms LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.keyring>1.0:${PORTSDIR}/security/py-plone.keyring \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -#USES= zope +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-plone.session/Makefile =================================================================== --- head/security/py-plone.session/Makefile (revision 371452) +++ head/security/py-plone.session/Makefile (revision 371453) @@ -1,27 +1,24 @@ # $FreeBSD$ PORTNAME= plone.session PORTVERSION= 3.5.3 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Session based authentication for Zope LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.protect>=0:${PORTSDIR}/security/py-plone.protect \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -#USES= zope +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-potr/Makefile =================================================================== --- head/security/py-potr/Makefile (revision 371452) +++ head/security/py-potr/Makefile (revision 371453) @@ -1,22 +1,21 @@ # $FreeBSD$ PORTNAME= potr PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= rm@FreeBSD.org COMMENT= Pure Python Off-The-Record encryption LICENSE= LGPL3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-pow/Makefile =================================================================== --- head/security/py-pow/Makefile (revision 371452) +++ head/security/py-pow/Makefile (revision 371453) @@ -1,35 +1,35 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= pow PORTVERSION= 0.7 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}/POW/POW-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= gahr@FreeBSD.org COMMENT= Python OpenSSL Wrappers OPTIONS_DEFINE= DOCS -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= POW USE_OPENSSL= yes PORTDOCS= POW.pdf post-patch: ${REINPLACE_CMD} -e 's|licence|license|' ${WRKSRC}/setup.py do-build: cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext -D NO_IDEA -D NO_RC5_32_12_16 ${PYDISTUTILS_BUILD_TARGET} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/security/py-pyclamd/Makefile =================================================================== --- head/security/py-pyclamd/Makefile (revision 371452) +++ head/security/py-pyclamd/Makefile (revision 371453) @@ -1,28 +1,27 @@ # Created by: Milan Obuch # $FreeBSD$ PORTNAME= pyclamd PORTVERSION= 0.2.2 CATEGORIES= security python MASTER_SITES= http://xael.org/norman/python/pyclamd/ DISTFILES= pyclamd.py MAINTAINER= bsd@dino.sk COMMENT= Python ClamD interface module -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} @${MKDIR} ${WRKDIR}/${PKGNAME} if ! (cd ${WRKDIR} && ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PKGNAME}/); \ then \ exit 1; \ fi; \ .include Index: head/security/py-pycryptopp/Makefile =================================================================== --- head/security/py-pycryptopp/Makefile (revision 371452) +++ head/security/py-pycryptopp/Makefile (revision 371453) @@ -1,29 +1,28 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= pycryptopp PORTVERSION= 0.5.29 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Python Wrappers for the Crypto++ Library BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}darcsver>0:${PORTSDIR}/devel/py-darcsver \ ${PYTHON_PKGNAMEPREFIX}setuptools_darcs>0:${PORTSDIR}/devel/py-setuptools_darcs RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes USE_GCC= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist post-extract: @${REINPLACE_CMD} -e 's###g' \ ${WRKSRC}/embeddedcryptopp/rijndael.cpp \ ${WRKSRC}/embeddedcryptopp/config.h \ ${WRKSRC}/embeddedcryptopp/secblock.h .include Index: head/security/py-pyme/Makefile =================================================================== --- head/security/py-pyme/Makefile (revision 371452) +++ head/security/py-pyme/Makefile (revision 371453) @@ -1,34 +1,33 @@ # Created by: Johan van Selst # $FreeBSD$ PORTNAME= pyme PORTVERSION= 0.8.1 PORTREVISION= 5 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= johans@FreeBSD.org COMMENT= Python interface to GPGME library BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme -USES= gmake -USE_PYTHON= 2 -USE_PYDISTUTILS=yes +USES= gmake python:2 +USE_PYTHON= distutils PYDISTUTILS_PKGNAME=pygpgme MAKE_ARGS= PYTHON=${PYTHON_CMD} .include post-patch: @${REINPLACE_CMD} -e 's,gpgme-config,${PREFIX}/bin/&,' \ ${WRKSRC}/Makefile ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's,include/,&gpgme/,' ${WRKSRC}/Makefile pre-build: cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} build .include Index: head/security/py-pyptlib/Makefile =================================================================== --- head/security/py-pyptlib/Makefile (revision 371452) +++ head/security/py-pyptlib/Makefile (revision 371453) @@ -1,19 +1,18 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= pyptlib PORTVERSION= 0.0.6 CATEGORIES= security net python MASTER_SITES= http://www.c-s.li/ports/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Pluggable transport library LICENSE= BSD3CLAUSE -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-pysha3/Makefile =================================================================== --- head/security/py-pysha3/Makefile (revision 371452) +++ head/security/py-pysha3/Makefile (revision 371453) @@ -1,23 +1,22 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= pysha3 PORTVERSION= 0.3 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= SHA-3 (Keccak) for Python LICENSE= PSFL -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include Index: head/security/py-rsa/Makefile =================================================================== --- head/security/py-rsa/Makefile (revision 371452) +++ head/security/py-rsa/Makefile (revision 371453) @@ -1,31 +1,30 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= rsa PORTVERSION= 3.1.4 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Pure-Python RSA implementation LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0.1.3:${PORTSDIR}/devel/py-asn1 TEST_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 \ ${RUN_DEPENDS} OPTIONS_DEFINE= TESTS TESTS_DESC= Install tools for unit tests TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py .include Index: head/security/py-slowaes/Makefile =================================================================== --- head/security/py-slowaes/Makefile (revision 371452) +++ head/security/py-slowaes/Makefile (revision 371453) @@ -1,20 +1,19 @@ # Created by: Neil Booth # $FreeBSD$ PORTNAME= slowaes DISTVERSION= 0.1a1 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kyuupichan@gmail.com COMMENT= Implementation of AES in pure Python LICENSE= APACHE20 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include Index: head/security/py-ssh/Makefile =================================================================== --- head/security/py-ssh/Makefile (revision 371452) +++ head/security/py-ssh/Makefile (revision 371453) @@ -1,20 +1,19 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= ssh PORTVERSION= 1.8.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python SSH2 protocol library RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:${PORTSDIR}/security/py-pycrypto -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-sslstrip/Makefile =================================================================== --- head/security/py-sslstrip/Makefile (revision 371452) +++ head/security/py-sslstrip/Makefile (revision 371453) @@ -1,21 +1,20 @@ # Created by: User & # $FreeBSD$ PORTNAME= sslstrip PORTVERSION= 0.9 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= http://www.thoughtcrime.org/software/sslstrip/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kitchetech@gmail.com COMMENT= Python program for SSL stripping RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl \ ${PYTHON_PKGNAMEPREFIX}twistedWeb>=0:${PORTSDIR}/www/py-twistedWeb -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-stem/Makefile =================================================================== --- head/security/py-stem/Makefile (revision 371452) +++ head/security/py-stem/Makefile (revision 371453) @@ -1,20 +1,19 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= stem PORTVERSION= 1.2.2 CATEGORIES= security net python MASTER_SITES= http://www.c-s.li/ports/ \ CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Python controller library for Tor LICENSE= LGPL3 -USES= tar:bzip2 -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USES= python tar:bzip2 +USE_PYTHON= distutils .include Index: head/security/py-tlslite/Makefile =================================================================== --- head/security/py-tlslite/Makefile (revision 371452) +++ head/security/py-tlslite/Makefile (revision 371453) @@ -1,17 +1,16 @@ # Created by: Alexander Botero-Lowry # $FreeBSD$ PORTNAME= tlslite PORTVERSION= 0.4.6 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Python module implementing SSL 3.0, TLS 1.0, and TLS 1.1 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include Index: head/security/py-trustedpickle/Makefile =================================================================== --- head/security/py-trustedpickle/Makefile (revision 371452) +++ head/security/py-trustedpickle/Makefile (revision 371453) @@ -1,33 +1,32 @@ # Created by: Alexander Botero-Lowry # $FreeBSD$ PORTNAME= trustedpickle PORTVERSION= 0.02 CATEGORIES= security python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= TrustedPickle MAINTAINER= ports@FreeBSD.org COMMENT= TrustedPickle is a Python (de)Pickler with a way to verify the data -USES= dos2unix tar:tgz -USE_PYTHON= yes +USES= dos2unix python tar:tgz PLIST_FILES= %%PYTHON_SITELIBDIR%%/TrustedPickle.py \ %%PYTHON_SITELIBDIR%%/TrustedPickle.pyc \ %%PYTHON_SITELIBDIR%%/TrustedPickle.pyo WRKSRC= ${WRKDIR}/${PORTNAME} do-build: @cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import TrustedPickle' && \ ${PYTHON_CMD} -c 'import TrustedPickle' do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/TrustedPickle.py ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyc ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyo ${STAGEDIR}${PYTHON_SITELIBDIR} .include Index: head/security/py-twistedConch/Makefile =================================================================== --- head/security/py-twistedConch/Makefile (revision 371452) +++ head/security/py-twistedConch/Makefile (revision 371453) @@ -1,24 +1,22 @@ # Created by: Neal Nelson # $FreeBSD$ PORTNAME= twistedConch PORTVERSION= 14.0.0 CATEGORIES= security devel python MASTER_SITES= http://twistedmatrix.com/Releases/Conch/${PORTVERSION:R}/ \ LOCAL/sunpoet PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= TwistedConch-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= SSH and SFTP protocol implementation with clients and servers LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0.0.9a:${PORTSDIR}/devel/py-asn1 -USE_PYTHON= 2 -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes -USES= tar:bzip2 twisted +USE_PYTHON= distutils autoplist +USES= python:2 tar:bzip2 twisted .include Index: head/security/py-twofish/Makefile =================================================================== --- head/security/py-twofish/Makefile (revision 371452) +++ head/security/py-twofish/Makefile (revision 371453) @@ -1,28 +1,28 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= twofish PORTVERSION= 0.7 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}-py/${PORTNAME}-py/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= twofishmodule-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Twofish cryptographic module for Python -USE_PYTHON= 2 +USES= python:2 GNU_CONFIGURE= yes CFLAGS+= -fPIC OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/_twofish.so ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${PYTHON_SITELIBDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/security/py-xmlsec/Makefile =================================================================== --- head/security/py-xmlsec/Makefile (revision 371452) +++ head/security/py-xmlsec/Makefile (revision 371453) @@ -1,33 +1,32 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= xmlsec PORTVERSION= 0.3.0 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/430/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python bindings for XML Security Library LIB_DEPENDS= libxmlsec1.so:${PORTSDIR}/security/xmlsec1 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 -USE_PYTHON= 2 -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTDOCS= * PORTEXAMPLES= * post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/) .include Index: head/security/py-yara/Makefile =================================================================== --- head/security/py-yara/Makefile (revision 371452) +++ head/security/py-yara/Makefile (revision 371453) @@ -1,28 +1,27 @@ # $FreeBSD$ PORTNAME= yara PORTVERSION= 2.1.0 CATEGORIES= security PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wxs@FreeBSD.org COMMENT= Python bindings for yara USE_GITHUB= yes GH_ACCOUNT= plusvic GH_TAGNAME= v2.1.0 GH_COMMIT= 6530e73 LIB_DEPENDS= libyara.so:${PORTSDIR}/security/yara -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist BUILD_WRKSRC= ${WRKSRC}/yara-python INSTALL_WRKSRC= ${WRKSRC}/yara-python post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${BUILD_WRKSRC}/setup.py .include Index: head/security/py-zope.app.authentication/Makefile =================================================================== --- head/security/py-zope.app.authentication/Makefile (revision 371452) +++ head/security/py-zope.app.authentication/Makefile (revision 371453) @@ -1,40 +1,39 @@ # $FreeBSD$ PORTNAME= zope.app.authentication PORTVERSION= 3.9 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Principals and groups management for the pluggable authentication LICENSE= ZPL21 RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/py-zope.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.container>=0:${PORTSDIR}/devel/py-zope.container \ ${PYTHON_PKGNAMEPREFIX}zope.dublincore>=0:${PORTSDIR}/devel/py-zope.dublincore \ ${PYTHON_PKGNAMEPREFIX}zope.event>=0:${PORTSDIR}/devel/py-zope.event \ ${PYTHON_PKGNAMEPREFIX}zope.exceptions>=0:${PORTSDIR}/devel/py-zope.exceptions \ ${PYTHON_PKGNAMEPREFIX}zope.formlib>=4.0.2:${PORTSDIR}/devel/py-zope.formlib \ ${PYTHON_PKGNAMEPREFIX}zope.i18n>=0:${PORTSDIR}/devel/py-zope.i18n \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.password>=3.5.1:${PORTSDIR}/security/py-zope.password \ ${PYTHON_PKGNAMEPREFIX}zope.pluggableauth>=1.1:${PORTSDIR}/security/py-zope.pluggableauth \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.traversing>=0:${PORTSDIR}/devel/py-zope.traversing \ ${PYTHON_PKGNAMEPREFIX}zope.app.container>=0:${PORTSDIR}/devel/py-zope.app.container \ ${PYTHON_PKGNAMEPREFIX}zope.app.component>=0:${PORTSDIR}/devel/py-zope.app.component -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.app.localpermission/Makefile =================================================================== --- head/security/py-zope.app.localpermission/Makefile (revision 371452) +++ head/security/py-zope.app.localpermission/Makefile (revision 371453) @@ -1,27 +1,26 @@ # $FreeBSD$ PORTNAME= zope.app.localpermission PORTVERSION= 3.7.2 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Local Persistent Permissions for zope.security LICENSE= ZPL21 RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.app.principalannotation/Makefile =================================================================== --- head/security/py-zope.app.principalannotation/Makefile (revision 371452) +++ head/security/py-zope.app.principalannotation/Makefile (revision 371453) @@ -1,25 +1,24 @@ # $FreeBSD$ PORTNAME= zope.app.principalannotation PORTVERSION= 3.7.0 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Bootstrap subscriber and browser menu item for zope.principalannotation LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}transaction>=0:${PORTSDIR}/devel/py-transaction \ ${PYTHON_PKGNAMEPREFIX}zope.app.appsetup>=3.11.0:${PORTSDIR}/devel/py-zope.app.appsetup \ ${PYTHON_PKGNAMEPREFIX}zope.processlifetime>=0:${PORTSDIR}/devel/py-zope.processlifetime \ ${PYTHON_PKGNAMEPREFIX}zope.principalannotation>=0:${PORTSDIR}/security/py-zope.principalannotation -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.app.security/Makefile =================================================================== --- head/security/py-zope.app.security/Makefile (revision 371452) +++ head/security/py-zope.app.security/Makefile (revision 371453) @@ -1,33 +1,32 @@ # $FreeBSD$ PORTNAME= zope.app.security PORTVERSION= 3.7.5 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= ZMI Views For Zope3 Security Components LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.app.localpermission>=0:${PORTSDIR}/security/py-zope.app.localpermission \ ${PYTHON_PKGNAMEPREFIX}zope.app.pagetemplate>=0:${PORTSDIR}/devel/py-zope.app.pagetemplate \ ${PYTHON_PKGNAMEPREFIX}zope.app.publisher>=0:${PORTSDIR}/devel/py-zope.app.publisher \ ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/py-zope.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.i18n>=0:${PORTSDIR}/devel/py-zope.i18n \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.principalregistry>=0:${PORTSDIR}/security/py-zope.principalregistry \ ${PYTHON_PKGNAMEPREFIX}zope.publisher>=3.12:${PORTSDIR}/devel/py-zope.publisher \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.securitypolicy>=0:${PORTSDIR}/security/py-zope.securitypolicy \ ${PYTHON_PKGNAMEPREFIX}zope.login>=0:${PORTSDIR}/security/py-zope.login -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.app.securitypolicy/Makefile =================================================================== --- head/security/py-zope.app.securitypolicy/Makefile (revision 371452) +++ head/security/py-zope.app.securitypolicy/Makefile (revision 371453) @@ -1,36 +1,35 @@ # $FreeBSD$ PORTNAME= zope.app.securitypolicy PORTVERSION= 3.6.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= ZMI-based management views for zope.securitypolicy LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope.annotation \ ${PYTHON_PKGNAMEPREFIX}zope.app.authentication>=3.8:${PORTSDIR}/security/py-zope.app.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.app.form>=0:${PORTSDIR}/devel/py-zope.app.form \ ${PYTHON_PKGNAMEPREFIX}zope.app.security>=0:${PORTSDIR}/security/py-zope.app.security \ ${PYTHON_PKGNAMEPREFIX}zope.browser>=0:${PORTSDIR}/devel/py-zope.browser \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration \ ${PYTHON_PKGNAMEPREFIX}zope.exceptions>=0:${PORTSDIR}/devel/py-zope.exceptions \ ${PYTHON_PKGNAMEPREFIX}zope.i18n>=0:${PORTSDIR}/devel/py-zope.i18n \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=3.4.2:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.securitypolicy>=0:${PORTSDIR}/security/py-zope.securitypolicy -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.authentication/Makefile =================================================================== --- head/security/py-zope.authentication/Makefile (revision 371452) +++ head/security/py-zope.authentication/Makefile (revision 371453) @@ -1,28 +1,26 @@ # $FreeBSD$ PORTNAME= zope.authentication PORTVERSION= 3.7.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Definition of authentication basics for the Zope Framework LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.browser>=0:${PORTSDIR}/devel/py-zope.browser \ ${PYTHON_PKGNAMEPREFIX}zope.component>=3.6.0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.login/Makefile =================================================================== --- head/security/py-zope.login/Makefile (revision 371452) +++ head/security/py-zope.login/Makefile (revision 371453) @@ -1,26 +1,24 @@ # $FreeBSD$ PORTNAME= zope.login PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Login helpers for zope.publisher / authentication LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/py-zope.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.publisher>=0:${PORTSDIR}/devel/py-zope.publisher -USES= zip -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python zip +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.password/Makefile =================================================================== --- head/security/py-zope.password/Makefile (revision 371452) +++ head/security/py-zope.password/Makefile (revision 371453) @@ -1,24 +1,23 @@ # $FreeBSD$ PORTNAME= zope.password PORTVERSION= 3.6.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Password encoding and checking utilities LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.pluggableauth/Makefile =================================================================== --- head/security/py-zope.pluggableauth/Makefile (revision 371452) +++ head/security/py-zope.pluggableauth/Makefile (revision 371453) @@ -1,35 +1,34 @@ # $FreeBSD$ PORTNAME= zope.pluggableauth PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Pluggable Authentication Utility LICENSE= ZPL21 RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/py-zope.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.container>=0:${PORTSDIR}/devel/py-zope.container \ ${PYTHON_PKGNAMEPREFIX}zope.event>=0:${PORTSDIR}/devel/py-zope.event \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.password>=3.5.1:${PORTSDIR}/security/py-zope.password \ ${PYTHON_PKGNAMEPREFIX}zope.publisher>=3.12:${PORTSDIR}/devel/py-zope.publisher \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.session>=0:${PORTSDIR}/security/py-zope.session \ ${PYTHON_PKGNAMEPREFIX}zope.site>=0:${PORTSDIR}/devel/py-zope.site \ ${PYTHON_PKGNAMEPREFIX}zope.traversing>=0:${PORTSDIR}/devel/py-zope.traversing -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.principalannotation/Makefile =================================================================== --- head/security/py-zope.principalannotation/Makefile (revision 371452) +++ head/security/py-zope.principalannotation/Makefile (revision 371453) @@ -1,28 +1,27 @@ # $FreeBSD$ PORTNAME= zope.principalannotation PORTVERSION= 3.6.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Annotations for Zope Principals LICENSE= ZPL21 RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope.annotation \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.site>=0:${PORTSDIR}/devel/py-zope.site -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.principalregistry/Makefile =================================================================== --- head/security/py-zope.principalregistry/Makefile (revision 371452) +++ head/security/py-zope.principalregistry/Makefile (revision 371453) @@ -1,26 +1,25 @@ # $FreeBSD$ PORTNAME= zope.principalregistry PORTVERSION= 3.7.1 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Global principal registry component for Zope3 LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/py-zope.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.password>=0:${PORTSDIR}/security/py-zope.password \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.security/Makefile =================================================================== --- head/security/py-zope.security/Makefile (revision 371452) +++ head/security/py-zope.security/Makefile (revision 371453) @@ -1,31 +1,30 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= zope.security PORTVERSION= 3.9.0 PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Zope Security Framework LICENSE= ZPL21 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.proxy>3.4.2:${PORTSDIR}/net/py-zope.proxy \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}RestrictedPython>=0:${PORTSDIR}/security/py-RestrictedPython \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.securitypolicy/Makefile =================================================================== --- head/security/py-zope.securitypolicy/Makefile (revision 371452) +++ head/security/py-zope.securitypolicy/Makefile (revision 371453) @@ -1,32 +1,31 @@ # $FreeBSD$ PORTNAME= zope.securitypolicy PORTVERSION= 3.7.0 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Default security policy for Zope3 LICENSE= ZPL21 RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope.annotation \ ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/py-zope.authentication \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \ ${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \ ${PYTHON_PKGNAMEPREFIX}zope.dublincore>=3.7:${PORTSDIR}/devel/py-zope.dublincore -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/py-zope.session/Makefile =================================================================== --- head/security/py-zope.session/Makefile (revision 371452) +++ head/security/py-zope.session/Makefile (revision 371453) @@ -1,28 +1,27 @@ # $FreeBSD$ PORTNAME= zope.session PORTVERSION= 3.9.5 PORTREVISION= 1 CATEGORIES= security python zope MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= zope MAINTAINER= zope@FreeBSD.org COMMENT= Client identification and sessions for Zope LICENSE= ZPL21 RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \ ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \ ${PYTHON_PKGNAMEPREFIX}zope.i18nmessageid>=0:${PORTSDIR}/textproc/py-zope.i18nmessageid \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \ ${PYTHON_PKGNAMEPREFIX}zope.publisher>=0:${PORTSDIR}/devel/py-zope.publisher \ ${PYTHON_PKGNAMEPREFIX}zope.minmax>=0:${PORTSDIR}/devel/py-zope.minmax -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/security/silktools/Makefile =================================================================== --- head/security/silktools/Makefile (revision 371452) +++ head/security/silktools/Makefile (revision 371453) @@ -1,35 +1,34 @@ # Created by: David Thiel # $FreeBSD$ PORTNAME= silktools PORTVERSION= 3.8.1 PORTREVISION= 1 CATEGORIES= security net MASTER_SITES= http://tools.netsa.cert.org/releases/ \ http://redundancy.redundancy.org/mirror/ DISTNAME= silk-${PORTVERSION} MAINTAINER= lx@FreeBSD.org COMMENT= Tools for large-scale network capture analysis LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 \ libfixbuf.so:${PORTSDIR}/net/libfixbuf GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lzo=${LOCALBASE} --enable-packing-tools --with-python \ --prefix=${STAGEDIR}/${PREFIX} -USE_PYTHON= yes MAKE_ARGS= CC="${CC}" GCC_FLAGS="" CFLAGS_RELEASE="" USE_LDCONFIG= yes -USES= gmake perl5 pkgconfig libtool +USES= gmake perl5 pkgconfig python libtool USE_PERL5= build OPTIONS_DEFINE= LOCALTIME LOCALTIME_DESC= Use localtime instead of UTC LOCALTIME_CONFIGURE_ON=--enable-localtime post-patch: @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure .include Index: head/security/spike-proxy/Makefile =================================================================== --- head/security/spike-proxy/Makefile (revision 371452) +++ head/security/spike-proxy/Makefile (revision 371453) @@ -1,35 +1,34 @@ # Created by: Yonatan # $FreeBSD$ PORTNAME= spike-proxy PORTVERSION= 1.4.8 CATEGORIES= security MASTER_SITES= http://www.immunitysec.com/downloads/ DISTNAME= SP${PORTVERSION:tl:C/\.//g} MAINTAINER= ports@FreeBSD.org COMMENT= Tool looking for vulnerabilities in web applications BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl -USES= shebangfix tar:tgz +USES= python shebangfix tar:tgz SHEBANG_FILES= *.py -USE_PYTHON= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/spkproxy OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${RM} -rf ${WRKSRC}/*.bak ${CP} -Rp ${WRKSRC}/* ${STAGEDIR}${DATADIR} ${SED} "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/spkproxy.sh > \ ${STAGEDIR}${PREFIX}/bin/spkproxy.sh @${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/spkproxy.sh @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} WHYGPL.txt TODO.txt SpikeUsage.txt \ README.txt CHANGELOG.txt ${STAGEDIR}${DOCSDIR}) .include Index: head/security/sqlmap/Makefile =================================================================== --- head/security/sqlmap/Makefile (revision 371452) +++ head/security/sqlmap/Makefile (revision 371453) @@ -1,59 +1,59 @@ # Created by: Tomoyuki Sakurai # $FreeBSD$ PORTNAME= sqlmap PORTVERSION= 0.9 PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= https://github.com/sqlmapproject/sqlmap/downloads/ \ SF MAINTAINER= rm@FreeBSD.org COMMENT= Automatic SQL injection tool LICENSE= GPLv2 -USE_PYTHON= 2 +USES= python:2 WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= ${PORTNAME}.sh SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} PORTDOCS= AUTHORS ChangeLog README.html README.pdf THANKS OPTIONS_DEFINE= MSF MSF_DESC= Enable Metasploit Framework integration .include .if ${PORT_OPTIONS:MMSF} RUN_DEPENDS+= ${LOCALBASE}/bin/msfcli:${PORTSDIR}/security/metasploit .endif post-patch: (cd ${WRKSRC} && ${RM} -rf `${FIND} . -type d -name .svn`) @${RM} -f ${WRKSRC}/lib/core/settings.py.orig @${GREP} -lr '/usr/bin/env python' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -i "" \ -e "s!/usr/bin/env python!${PYTHON_CMD}!" do-build: @${PYTHON_CMD} -m compileall ${WRKSRC} @${PYTHON_CMD} -O -m compileall ${WRKSRC} ${MKDIR} ${WRKDIR}/build/extra/ ${MV} ${WRKSRC}/doc/ ${WRKDIR}/build/ .for F in msfauxmod runcmd udfhack ${MV} ${WRKSRC}/extra/${F} ${WRKDIR}/build/extra/${F} .endfor do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/build/doc/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/extra ( cd ${WRKDIR}/build/extra/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ) ( cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sqlmap ) ${INSTALL_DATA} ${WRKSRC}/sqlmap.conf ${STAGEDIR}${PREFIX}/etc/sqlmap.conf-dist ${INSTALL_SCRIPT} ${WRKDIR}/sqlmap.sh ${STAGEDIR}${PREFIX}/bin/sqlmap .include Index: head/security/ssh-multiadd/Makefile =================================================================== --- head/security/ssh-multiadd/Makefile (revision 371452) +++ head/security/ssh-multiadd/Makefile (revision 371453) @@ -1,26 +1,26 @@ # Created by: Pete Fritchman # $FreeBSD$ PORTNAME= ssh-multiadd PORTVERSION= 1.3.2 CATEGORIES= security MASTER_SITES= SUNSITE/system/network/telnet MAINTAINER= ports@FreeBSD.org COMMENT= Tool to add multiple ssh keys to the authentication agent -USE_PYTHON_RUN= yes +USES= python:run NO_BUILD= yes PLIST_FILES= bin/ssh-multiadd man/man1/ssh-multiadd.1.gz post-patch: @${REINPLACE_CMD} -e \ 's|/usr/bin/python2|${PYTHON_CMD}| ; \ s|#break|break|' ${WRKSRC}/ssh-multiadd do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ssh-multiadd ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ssh-multiadd.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/security/sssd/Makefile =================================================================== --- head/security/sssd/Makefile (revision 371452) +++ head/security/sssd/Makefile (revision 371453) @@ -1,117 +1,116 @@ # Created by: Lukas Slebodnik # $FreeBSD$ PORTNAME= sssd DISTVERSION= 1.9.6 PORTREVISION= 9 CATEGORIES= security MASTER_SITES= https://fedorahosted.org/released/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ MAINTAINER= lukas.slebodnik@intrak.sk COMMENT= System Security Services Daemon LICENSE= GPLv3 LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \ libtalloc.so:${PORTSDIR}/devel/talloc \ libtevent.so:${PORTSDIR}/devel/tevent \ libtdb.so:${PORTSDIR}/databases/tdb \ libldb.so:${PORTSDIR}/databases/ldb \ libcares.so:${PORTSDIR}/dns/c-ares \ libdbus-1.so:${PORTSDIR}/devel/dbus \ libdhash.so:${PORTSDIR}/devel/ding-libs \ libpcre.so:${PORTSDIR}/devel/pcre \ libunistring.so:${PORTSDIR}/devel/libunistring \ libnss3.so:${PORTSDIR}/security/nss \ libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \ libkrb5.so:${PORTSDIR}/security/krb5 \ libinotify.so:${PORTSDIR}/devel/libinotify BUILD_DEPENDS= xmlcatalog:${PORTSDIR}/textproc/libxml2 \ docbook-xsl>=1:${PORTSDIR}/textproc/docbook-xsl \ xsltproc:${PORTSDIR}/textproc/libxslt \ xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr \ krb5>=1.10:${PORTSDIR}/security/krb5 \ nsupdate:${PORTSDIR}/dns/bind99 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-selinux=no --with-semanage=no \ --with-ldb-lib-dir=${LOCALBASE}/lib/shared-modules/ldb/ \ --with-xml-catalog-path=${LOCALBASE}/share/xml/catalog \ --with-libnl=no --with-init-dir=no --datadir=${DATADIR} \ --docdir=${DOCSDIR} --with-pid-path=/var/run \ --localstatedir=/var --enable-pammoddir=${PREFIX}/lib \ --with-db-path=/var/db/sss --with-pipe-path=/var/run/sss \ --with-pubconf-path=/var/run/sss --with-mcache-path=/var/db/sss_mc \ --with-unicode-lib=libunistring --with-autofs=no CONFIGURE_ENV= XMLLINT="/bin/echo" CFLAGS+= -fstack-protector-all PLIST_SUB= PYTHON_VER=${PYTHON_VER} #DEBUG_FLAGS= -g MAKE_ENV+= LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW" SUB_FILES= pkg-message USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake AUTOMAKE_ARGS= -a -c -f USE_LDCONFIG= yes -USE_PYTHON= yes USE_OPENLDAP= yes -USES= gettext gmake iconv libtool pathfix pkgconfig shebangfix +USES= gettext gmake iconv libtool pathfix pkgconfig python shebangfix PATHFIX_MAKEFILEIN= Makefile.am SHEBANG_FILES= src/tools/sss_obfuscate USE_RC_SUBR= ${PORTNAME} PORTDATA= * OPTIONS_DEFINE= DOCS .include .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not link on ia64, powerpc, or sparc64 .endif post-patch: @${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/src/util/signal.c @${REINPLACE_CMD} -e '/#define SIZE_T_MAX ((size_t) -1)/d' \ ${WRKSRC}/src/util/util.h @${REINPLACE_CMD} -e '/pam_misc/d' \ ${WRKSRC}/src/sss_client/pam_test_client.c @${REINPLACE_CMD} -e 's|security/pam_misc.h||g' \ ${WRKSRC}/configure.ac ${WRKSRC}/src/external/pam.m4 @${REINPLACE_CMD} -e 's|NSS_STATUS_NOTFOUND|NS_NOTFOUND|g' \ -e 's|NSS_STATUS_UNAVAIL|NS_UNAVAIL|g' \ -e 's|NSS_STATUS_TRYAGAIN|NS_TRYAGAIN|g' \ -e '/ETIME/d' \ -e 's|NSS_STATUS_SUCCESS|NS_SUCCESS|g' \ ${WRKSRC}/src/sss_client/common.c @${REINPLACE_CMD} -e 's|security/_pam_macros.h|pam_macros.h|g' \ ${WRKSRC}/src/sss_client/sss_pam_macros.h @${REINPLACE_CMD} -e 's|#include ||g' \ -e 's|PAM_BAD_ITEM|PAM_USER_UNKNOWN|g' \ -e 's|security/pam_ext.h|security/pam_appl.h|g' \ -e 's|pam_modutil_getlogin(pamh)|getlogin()|g' \ -e 's|pam_vsyslog(pamh,|vsyslog(|g' \ ${WRKSRC}/src/sss_client/pam_sss.c @${REINPLACE_CMD} \ -e 's|install-data-hook install-dist_initSCRIPTS|install-dist_initSCRIPTS|g' \ -e 's|install-data-hook|notinstall-data-hook|g' \ -e 's| -lpam_misc||g' \ ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e 's|/etc/sssd/|${ETCDIR}/|g' \ -e 's|/etc/openldap/|${LOCALBASE}/etc/openldap/|g' \ ${WRKSRC}/src/man/*xml @${CP} ${FILESDIR}/pam_macros.h ${WRKSRC}/pam_macros.h @${CP} ${FILESDIR}/bsdnss.c ${WRKSRC}/src/sss_client/bsdnss.c @${CP} ${FILESDIR}/sss_bsd_errno.h ${WRKSRC}/src/util/sss_bsd_errno.h post-install: ${INSTALL_DATA} ${WRKSRC}/src/examples/sssd-example.conf ${STAGEDIR}${ETCDIR}/sssd.conf.sample (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s nss_sss.so nss_sss.so.1) # clean these up from the install; we create them in rc script start_precmd .for VARDIRS in db/sss db/sss_mc log/sssd run/sss/krb5.include.d run/sss/private run/sss @${RMDIR} ${STAGEDIR}/var/${VARDIRS} .endfor .include Index: head/security/switzerland/Makefile =================================================================== --- head/security/switzerland/Makefile (revision 371452) +++ head/security/switzerland/Makefile (revision 371453) @@ -1,36 +1,36 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= switzerland PORTVERSION= 0.1.0 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/zero%20point%20one EXTRACT_SUFX= .tgz MAINTAINER= cs@FreeBSD.org COMMENT= Test the integrity of communications over networks and firewalls LICENSE= GPLv3 -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PORTDOCS= * OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -e 's,gcc -O3,${CC} ${CFLAGS}, ; \ s,"Switzerland","switzerland", ; \ s,"0\.0","${PORTVERSION}",' ${WRKSRC}/setup.py post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${WRKSRC}/README.txt \ ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .endif .include Index: head/security/tsshbatch/Makefile =================================================================== --- head/security/tsshbatch/Makefile (revision 371452) +++ head/security/tsshbatch/Makefile (revision 371453) @@ -1,39 +1,39 @@ # Created by: Tim Daneliuk # $FreeBSD$ PORTNAME= tsshbatch PORTVERSION= 1.177 CATEGORIES= security python MASTER_SITES= http://www.tundraware.com/Software/tsshbatch/ MAINTAINER= tsshbatch@tundraware.com COMMENT= Batch ssh Operations LICENSE= tsshbatch LICENSE_NAME= tsshbatch LICENSE_FILE= ${WRKSRC}/tsshbatch-license.txt LICENSE_PERMS= auto-accept RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.7.7.1:${PORTSDIR}/security/py-paramiko -USE_PYTHON_RUN= yes +USES= python:run PLIST_FILES= bin/tsshbatch.py \ man/man1/tsshbatch.1.gz PORTDOCS= WHATSNEW.txt \ tsshbatch.html \ tsshbatch.pdf \ tsshbatch.ps \ tsshbatch.rst OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/tsshbatch.py ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/tsshbatch.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} cd ${WRKSRC} && ${INSTALL_DATA} $i ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/security/w3af/Makefile =================================================================== --- head/security/w3af/Makefile (revision 371452) +++ head/security/w3af/Makefile (revision 371453) @@ -1,84 +1,83 @@ # Created by: Stefan Esser # $FreeBSD$ PORTNAME= w3af DISTVERSION= 1.0-rc4 PORTREVISION= 5 CATEGORIES= security python www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Web Application Attack and Audit Framework LICENSE= GPLv2 LIB_DEPENDS= libtidy.so:${PORTSDIR}/www/py-utidy BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.1:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson \ ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl \ ${PYTHON_PKGNAMEPREFIX}soappy>=0:${PORTSDIR}/net/py-soappy \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}fpconst>0:${PORTSDIR}/math/py-fpconst \ nltk>0:${PORTSDIR}/textproc/nltk \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pdf>0:${PORTSDIR}/print/py-pdf \ scapy>0:${PORTSDIR}/net/scapy \ ${PYTHON_PKGNAMEPREFIX}wordnet>0:${PORTSDIR}/textproc/py-wordnet \ ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml RUN_DEPENDS:= ${BUILD_DEPENDS} WRKSRC= ${WRKDIR}/${PORTNAME} -USES= gettext tar:bzip2 -USE_PYTHON= yes +USES= gettext python tar:bzip2 OPTIONS_DEFINE= GUI OPTIONS_SUB= yes GUI_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphviz>0:${PORTSDIR}/graphics/py-graphviz GUI_USE= GNOME=pygtk2 .include do-patch: .for f in SOAPpy fpconst-0.7.2 nltk nltk_contrib pyPdf scapy yaml @${RM} -rf ${WRKSRC}/extlib/${f} .endfor @${GREP} -lr '/usr/bin/python' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -i "" \ -E "s!/usr/bin/python2?!${PYTHON_CMD}!" do-build: @${MKDIR} ${WRKDIR}/build @${MKDIR} ${WRKSRC}/build/extlib @${CP} ${WRKSRC}/w3af_console ${WRKDIR}/build/w3af_console.py .if ${PORT_OPTIONS:MGUI} @${CP} ${WRKSRC}/w3af_gui ${WRKDIR}/build/w3af_gui.py .endif .for f in core locales plugins profiles readme scripts tools @${MKDIR} ${WRKDIR}/build/${f} @(cd ${WRKSRC}/${f}/ && ${COPYTREE_SHARE} \* ${WRKDIR}/build/${f}) .endfor .for ext in cluster gtkcodebuffer ntlm socksipy xdot @${MKDIR} ${WRKDIR}/build/extlib/${ext} @(cd ${WRKSRC}/extlib/${ext}/ && ${COPYTREE_SHARE} \* ${WRKDIR}/build/extlib/${ext}) .endfor @${CP} ${WRKSRC}/extlib/__init__.py ${WRKDIR}/build/extlib/ @${PYTHON_CMD} -m compileall ${WRKDIR}/build @${PYTHON_CMD} -O -m compileall ${WRKDIR}/build .for f in w3af_console w3af_gui @${SED} -e 's:%%PATH%%:${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/:' \ -e 's:%%PYTHON_CMD%%:${PYTHON_CMD}:' \ < ${FILESDIR}/${f}.sh > ${WRKDIR}/${f}.sh .endfor do-install: @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME} @(cd ${WRKDIR}/build && ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}) @${INSTALL_SCRIPT} ${WRKDIR}/w3af_console.sh \ ${STAGEDIR}${PREFIX}/bin/w3af_console .if ${PORT_OPTIONS:MGUI} @${INSTALL_SCRIPT} ${WRKDIR}/w3af_gui.sh \ ${STAGEDIR}${PREFIX}/bin/w3af_gui .endif .include