Update p5-Pg, latest library booted off into its own project on gbort.

Version numbers have rolled back, bump PORTEPOCH.

PR:		ports/45946
Submitted by:	Palle Girgensohn <girgen@pingpong.net>
This commit is contained in:
Sean Chittenden 2003-01-05 00:20:45 +00:00
parent ff0e3c1bf7
commit 15a4150a52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72544
2 changed files with 9 additions and 15 deletions

View file

@ -6,32 +6,25 @@
#
PORTNAME= Pg
POSTVERSION= 7.2
PORTVERSION= 2.0.1
PORTEPOCH= 1
CATEGORIES= databases perl5
MASTER_SITES= ftp://gborg.postgresql.org/pub/pgperl/stable/
PKGNAMEPREFIX= p5-
DISTFILES= pgperl-${PORTVERSION}${EXTRACT_SUFX}
DIST_SUBDIR= postgresql
MAINTAINER= girgen@partitur.se
MAINTAINER= girgen@pingpong.net
POSTGRESQL_SUBPORT=YES
POSTGRESQL_PORT?= databases/postgresql7
.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
USE_PERL5= yes
CONFIGURE_ARGS= --with-perl
MAN3= Pg.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAKE_ARGS+= -C src/interfaces/perl5
MAKEFILE= GNUmakefile
post-patch:
cd ${WRKSRC}/src/interfaces/perl5 ;\
cp GNUmakefile GNUmakefile.old ;\
${SED} -e 's,\$$\$$abs_libpq_builddir,${LOCALBASE}/lib,; \
s,Makefile\ libpq-all,Makefile,' \
< GNUmakefile.old > GNUmakefile
PERL_CONFIGURE= YES
CONFIGURE_ENV= POSTGRES_INCLUDE=${LOCALBASE}/include POSTGRES_LIB=${LOCALBASE}/lib
.include <bsd.port.mk>

1
databases/p5-Pg/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (postgresql/pgperl-2.0.1.tar.gz) = cb855d1a6d747ada99d6accaaf898d01