diff options
-rw-r--r-- | dns/py-adns/Makefile | 8 | ||||
-rw-r--r-- | net-im/py-jabber/Makefile | 9 | ||||
-rw-r--r-- | net-mgmt/py-ipy/Makefile | 9 | ||||
-rw-r--r-- | net-p2p/py-fngrab/Makefile | 9 | ||||
-rw-r--r-- | net/py-adns/Makefile | 8 | ||||
-rw-r--r-- | net/py-fngrab/Makefile | 9 | ||||
-rw-r--r-- | net/py-ipy/Makefile | 9 | ||||
-rw-r--r-- | net/py-jabber/Makefile | 9 | ||||
-rw-r--r-- | net/py-ldap2/Makefile | 9 | ||||
-rw-r--r-- | net/py-medusa/Makefile | 8 | ||||
-rw-r--r-- | net/py-pcap/Makefile | 2 | ||||
-rw-r--r-- | net/py-xmlrpc/Makefile | 10 | ||||
-rw-r--r-- | net/py-zsi-devel/Makefile | 9 | ||||
-rw-r--r-- | net/py-zsi/Makefile | 9 | ||||
-rw-r--r-- | print/py-fonttools/Makefile | 10 | ||||
-rw-r--r-- | print/py-reportlab/Makefile | 11 | ||||
-rw-r--r-- | science/mayavi/Makefile | 9 |
17 files changed, 22 insertions, 125 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile index 5f1b725ebc3c..b741415a3123 100644 --- a/dns/py-adns/Makefile +++ b/dns/py-adns/Makefile @@ -17,18 +17,12 @@ MAINTAINER= perky@fallin.lv LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns USE_PYTHON= yes +USE_PYDISTUTILS= yes PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py post-patch: @${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \ s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \ ${WRKSRC}/setup.py -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install - .include <bsd.port.mk> diff --git a/net-im/py-jabber/Makefile b/net-im/py-jabber/Makefile index bc7452a0fffd..bbb2b3a79b1e 100644 --- a/net-im/py-jabber/Makefile +++ b/net-im/py-jabber/Makefile @@ -19,13 +19,6 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat USE_PYTHON= yes - -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/net-mgmt/py-ipy/Makefile b/net-mgmt/py-ipy/Makefile index 5332f2922df8..f909dbcb02f4 100644 --- a/net-mgmt/py-ipy/Makefile +++ b/net-mgmt/py-ipy/Makefile @@ -16,13 +16,6 @@ DISTNAME= IPy-${PORTVERSION} MAINTAINER= drt@un.bewaff.net USE_PYTHON= yes - -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/net-p2p/py-fngrab/Makefile b/net-p2p/py-fngrab/Makefile index 341e4a6038a0..f320041f16d2 100644 --- a/net-p2p/py-fngrab/Makefile +++ b/net-p2p/py-fngrab/Makefile @@ -19,14 +19,7 @@ BUILD_DEPENDS= ${PYXML} RUN_DEPENDS= ${BUILD_DEPENDS} USE_PYTHON= yes - -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install +USE_PYDISTUTILS= yes post-install: @${MV} ${PREFIX}/bin/fngrab.py ${PREFIX}/bin/fngrab diff --git a/net/py-adns/Makefile b/net/py-adns/Makefile index 5f1b725ebc3c..b741415a3123 100644 --- a/net/py-adns/Makefile +++ b/net/py-adns/Makefile @@ -17,18 +17,12 @@ MAINTAINER= perky@fallin.lv LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns USE_PYTHON= yes +USE_PYDISTUTILS= yes PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py post-patch: @${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \ s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \ ${WRKSRC}/setup.py -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install - .include <bsd.port.mk> diff --git a/net/py-fngrab/Makefile b/net/py-fngrab/Makefile index 341e4a6038a0..f320041f16d2 100644 --- a/net/py-fngrab/Makefile +++ b/net/py-fngrab/Makefile @@ -19,14 +19,7 @@ BUILD_DEPENDS= ${PYXML} RUN_DEPENDS= ${BUILD_DEPENDS} USE_PYTHON= yes - -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install +USE_PYDISTUTILS= yes post-install: @${MV} ${PREFIX}/bin/fngrab.py ${PREFIX}/bin/fngrab diff --git a/net/py-ipy/Makefile b/net/py-ipy/Makefile index 5332f2922df8..f909dbcb02f4 100644 --- a/net/py-ipy/Makefile +++ b/net/py-ipy/Makefile @@ -16,13 +16,6 @@ DISTNAME= IPy-${PORTVERSION} MAINTAINER= drt@un.bewaff.net USE_PYTHON= yes - -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/net/py-jabber/Makefile b/net/py-jabber/Makefile index bc7452a0fffd..bbb2b3a79b1e 100644 --- a/net/py-jabber/Makefile +++ b/net/py-jabber/Makefile @@ -19,13 +19,6 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat USE_PYTHON= yes - -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile index e183d7fa2c83..fd40a0179c93 100644 --- a/net/py-ldap2/Makefile +++ b/net/py-ldap2/Makefile @@ -15,10 +15,9 @@ DISTNAME= Python-LDAP-${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 -BUILD_DEPENDS= python:${PORTSDIR}/lang/python -RUN_DEPENDS= python:${PORTSDIR}/lang/python USE_PYTHON= yes +USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==} #class = OpenLDAP2 @@ -33,10 +32,4 @@ do-configure: ${WRKSRC}/setup.cfg @${PERL5} -pi -e "s=lber ldap resolv=lber ldap=" ${WRKSRC}/setup.cfg -do-build: - cd ${WRKSRC} && ${PYTHON_CMD} setup.py build - -do-install: - cd ${WRKSRC} && ${PYTHON_CMD} setup.py install - .include <bsd.port.mk> diff --git a/net/py-medusa/Makefile b/net/py-medusa/Makefile index d8105588a0e5..4878ae0ec251 100644 --- a/net/py-medusa/Makefile +++ b/net/py-medusa/Makefile @@ -14,19 +14,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= perky@fallin.lv USE_PYTHON= yes +USE_PYDISTUTILS= yes DOCFILES= CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt EXAMPLEDIRS= demo test thread DOCSDIR= ${PREFIX}/share/doc/py-medusa EXAMPLESDIR= ${PREFIX}/share/examples/py-medusa -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py -do-build: - ${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR}/docs @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile index 8773b74433f5..55fddae32cbd 100644 --- a/net/py-pcap/Makefile +++ b/net/py-pcap/Makefile @@ -19,6 +19,6 @@ MAINTAINER= perky@fallin.lv BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/net/py-xmlrpc/Makefile b/net/py-xmlrpc/Makefile index 472e92a0eafc..5bf0241700e2 100644 --- a/net/py-xmlrpc/Makefile +++ b/net/py-xmlrpc/Makefile @@ -15,18 +15,12 @@ DISTNAME= py-${PORTNAME}-${PORTVERSION} MAINTAINER= perky@fallin.lv -BUILD_DEPENDS= ${PYDISTUTILS} - USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +USE_PYDISTUTILS= yes EXAMPLESDIR= ${PREFIX}/share/examples/py-xmlrpc -do-build: - ${SETUP_CMD} build - -do-install: - ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .if !defined(NOPORTDOCS) +post-install: ${MKDIR} ${EXAMPLESDIR} ${TAR} -C ${WRKSRC}/examples -cf- . | ${TAR} -C ${EXAMPLESDIR} -xpf- .endif diff --git a/net/py-zsi-devel/Makefile b/net/py-zsi-devel/Makefile index f8bae2a24ddc..736af666e126 100644 --- a/net/py-zsi-devel/Makefile +++ b/net/py-zsi-devel/Makefile @@ -18,19 +18,12 @@ MAINTAINER= wjv@FreeBSD.org RUN_DEPENDS= ${PYXML} USE_PYTHON= yes +USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION} -do-build: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ - setup.py build - pre-install: @ ${SH} ${PKGREQ} INSTALL -do-install: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ - setup.py install -c -O1 --prefix=${PREFIX} - post-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} diff --git a/net/py-zsi/Makefile b/net/py-zsi/Makefile index f8bae2a24ddc..736af666e126 100644 --- a/net/py-zsi/Makefile +++ b/net/py-zsi/Makefile @@ -18,19 +18,12 @@ MAINTAINER= wjv@FreeBSD.org RUN_DEPENDS= ${PYXML} USE_PYTHON= yes +USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION} -do-build: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ - setup.py build - pre-install: @ ${SH} ${PKGREQ} INSTALL -do-install: - @ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ - setup.py install -c -O1 --prefix=${PREFIX} - post-install: .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile index 002cc118f8e5..6f899ca70f04 100644 --- a/print/py-fonttools/Makefile +++ b/print/py-fonttools/Makefile @@ -16,8 +16,7 @@ DISTNAME= fonttools-${PORTVERSION} MAINTAINER= jkoshy@freebsd.org -BUILD_DEPENDS= ${PYDISTUTILS} \ - xmlproc_val:${PORTSDIR}/textproc/py-xml \ +BUILD_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \ ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \ ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric @@ -25,14 +24,11 @@ RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \ WRKSRC= ${WRKDIR}/fonttools USE_PYTHON= yes +USE_PYDISTUTILS= yes DOCDIR= ${PREFIX}/share/doc/py-fonttools -do-build: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build - -do-install: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install +post-install: ${INSTALL_SCRIPT} ${WRKSRC}/ttDump.py ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/ttCompile.py ${PREFIX}/bin/ .if !defined(NOPORTDOCS) diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile index 695bf7ae19d7..a093274f3e23 100644 --- a/print/py-reportlab/Makefile +++ b/print/py-reportlab/Makefile @@ -15,10 +15,10 @@ EXTRACT_SUFX= .tgz MAINTAINER= perky@fallin.lv -BUILD_DEPENDS= ${PYDISTUTILS} RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_imaging.so:${PORTSDIR}/graphics/py-imaging USE_PYTHON= yes +USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/reportlab CONFIGURE_ENV= PYTHON=${PYTHON_CMD} ALL_TARGET= sharedmods @@ -31,14 +31,7 @@ EXAMPLEDIR= ${PREFIX}/share/examples/reportlab post-patch: ${MV} ${WRKSRC}/lib/setup.py ${WRKDIR} -do-build: - @(cd ${WRKDIR}; \ - ${PYTHON_CMD} setup.py build) - -do-install: - @(cd ${WRKDIR}; \ - ${PYTHON_CMD} setup.py install -c -O1 --prefix="${PREFIX}") - +post-install: ${MKDIR} ${REPORTLABDIR}/fonts .for fontfile in LeERC___.AFM LeERC___.PFB (cd ${WRKDIR}/reportlab/fonts; \ diff --git a/science/mayavi/Makefile b/science/mayavi/Makefile index b1f7d7ac100a..f3a1f2da0781 100644 --- a/science/mayavi/Makefile +++ b/science/mayavi/Makefile @@ -19,15 +19,8 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkin RUN_DEPENDS= ${BUILD_DEPENDS} USE_PYTHON= yes +USE_PYDISTUTILS= yes USE_MESA= yes PLIST_SUB= PYTHON_SITELIBDIR=lib/${PYTHON_VERSION}/site-packages -SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py - -do-build: - @${SETUP_CMD} build - -do-install: - @${SETUP_CMD} install - .include <bsd.port.mk> |