mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Update to 2.1
-- also make a cosmetic change space -> tabs INSTALL_MAN -> INSTALL_DATA for installing port docs perl -> ${PERL} PR: 39051 Submitted by: maintainer
This commit is contained in:
parent
ffe73f015d
commit
d61caae2d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60977
@ -5,19 +5,19 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pyPgSQL
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pypgsql
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pypgsql-${PORTVERSION}
|
||||
PORTNAME= pyPgSQL
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pypgsql
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pypgsql-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard@bigfoot.de
|
||||
MAINTAINER= gerhard@bigfoot.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
|
||||
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
|
||||
@ -32,7 +32,7 @@ DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL
|
||||
|
||||
post-patch:
|
||||
perl -i -p \
|
||||
${PERL} -i -p \
|
||||
-e 's#^include_dirs = \[ "/usr/local/pgsql/include" \]#include_dirs = [ "${LOCALBASE}/include" ]# ;' \
|
||||
-e 's#^library_dirs = \[ "/usr/local/pgsql/lib" \]#library_dirs = [ "${LOCALBASE}/lib" ]#' \
|
||||
${WRKSRC}/setup.py
|
||||
@ -41,7 +41,7 @@ post-patch:
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pypgsql-2.0.tar.gz) = b3671864f8cddc5cfe89c4d1c365295a
|
||||
MD5 (pypgsql-2.1.tar.gz) = c7ec473a5bf64d0c2ee166d4dd2b42af
|
||||
|
@ -11,5 +11,4 @@
|
||||
%%PORTDOCS%%share/doc/py-pyPgSQL/README
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL/libpq
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL
|
||||
@dirrm %%PORTDOCS%%share/doc/py-pyPgSQL
|
||||
|
||||
%%PORTDOCS%%@dirrm share/doc/py-pyPgSQL
|
||||
|
Loading…
Reference in New Issue
Block a user