diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-30 02:37:38 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-30 02:37:38 +0800 |
commit | 0070b55b94bc9275fcfe0f076ef9627329c33849 (patch) | |
tree | 52777c4ec6298053248e53c8426ce08f742734ab /net | |
parent | 800d720f882ceb06aa66e91d393bbab507490821 (diff) | |
download | freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.gz freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.zst freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.zip |
use USE_PYDISTUTILS
Diffstat (limited to 'net')
-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 |
10 files changed, 12 insertions, 70 deletions
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} |