diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-29 13:33:57 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-29 13:33:57 +0000 |
commit | 786a6554ae6280a77d5607caf5786da22e1564f9 (patch) | |
tree | 06ee0c94a5e4004f9a30044828a8255c8aa9e8f7 /databases/py-pyPgSQL | |
parent | use USE_PYDISTUTILS (diff) |
use USE_PYDISTUTILS
Notes
Notes:
svn path=/head/; revision=58311
Diffstat (limited to 'databases/py-pyPgSQL')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 0e1f4b779887..4a9fe92715a2 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 WRKSRC= ${WRKDIR}/pypgsql USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +USE_PYDISTUTILS= yes DOCS= README @@ -37,12 +37,8 @@ post-patch: -e 's#^library_dirs = \[ "/usr/local/pgsql/lib" \]#library_dirs = [ "${LOCALBASE}/lib" ]#' \ ${WRKSRC}/setup.py -do-build: - ${SETUP_CMD} build_ext --inplace - -do-install: - ${SETUP_CMD} install -c -O1 .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${DOCSDIR} .for file in ${DOCS} @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR} |