From 12faf4a0097cc124255c1dd2b4a599c62afedbb2 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Sat, 5 Oct 2002 23:12:29 +0000 Subject: Respect LOCALBASE and remove py-mx-base as a build dependency. Use tab in place of whitespace as well. PR: ports/43570 Submitted by: maintainer --- databases/py-pyPgSQL/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'databases/py-pyPgSQL') diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 095839fb50ac..44b6fddef8dd 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -15,14 +15,13 @@ DISTNAME= pypgsql-${PORTVERSION} MAINTAINER= gerhard.haering@gmx.de -BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 WRKSRC= ${WRKDIR}/pypgsql USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_REINPLACE= YES +USE_REINPLACE= YES DOCS= README @@ -33,7 +32,7 @@ DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL post-patch: - ${REINPLACE_CMD} -e "s/\/usr\/local\/pgsql/$${LOCALBASE}/g" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e 's^/usr/local^${LOCALBASE}^g' ${WRKSRC}/setup.py .if !defined(NOPORTDOCS) post-install: -- cgit v1.2.3