diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-29 14:07:49 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-29 14:07:49 +0000 |
commit | 18d779daf5ac98792e4107bfd461400a24b5e06b (patch) | |
tree | 5d650097895193535a6df75e62ffcddc4a072284 /ftp | |
parent | be17dde214a20fb2d26b647f8bab4fd7ff23e6d2 (diff) | |
download | ports-18d779daf5ac98792e4107bfd461400a24b5e06b.tar.gz ports-18d779daf5ac98792e4107bfd461400a24b5e06b.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/ftpcube/Makefile | 9 | ||||
-rw-r--r-- | ftp/py-curl/Makefile | 9 |
2 files changed, 3 insertions, 15 deletions
diff --git a/ftp/ftpcube/Makefile b/ftp/ftpcube/Makefile index 35ee98ebaee3..8c2c3062ff22 100644 --- a/ftp/ftpcube/Makefile +++ b/ftp/ftpcube/Makefile @@ -17,13 +17,6 @@ MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk.py:${PORTSDIR}/x11-toolkits/py-gtk 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/ftp/py-curl/Makefile b/ftp/py-curl/Makefile index 9d73d134fe37..13d24a2ecbfb 100644 --- a/ftp/py-curl/Makefile +++ b/ftp/py-curl/Makefile @@ -14,12 +14,11 @@ DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= perky@fallin.lv -BUILD_DEPENDS= ${PYDISTUTILS} LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl USE_PYTHON= yes +USE_PYDISTUTILS= yes PLIST_SUB+= PYTHON_SITELIBDIR="lib/${PYTHON_VERSION}/site-packages" -PYDIST_SETUP= cd ${WRKSRC} && ${PYTHON_CMD} setup.py post-patch: .for file in ${REPATCHFILES} @@ -27,12 +26,8 @@ post-patch: ${WRKSRC}/setup.py .endfor -do-build: - ${PYDIST_SETUP} build - -do-install: - ${PYDIST_SETUP} install -c -O1 --prefix=${PREFIX} .if !defined(NOPORTDOCS) +post-install: ${MKDIR} ${PREFIX}/share/examples/py-curl cd ${WRKSRC} && ${INSTALL_DATA} tests/* ${PREFIX}/share/examples/py-curl .endif |