summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-01-05 00:20:45 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-01-05 00:20:45 +0000
commit15a4150a52c7db79134b04ad30ed2cb914dd2008 (patch)
treea77e4e1295729f358c8b9e1a932dff340d896ec7 /databases
parentAdd libpqxx. libpqxx is no longer hosted under the main PostgreSQL tree and (diff)
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>
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-Pg/Makefile23
-rw-r--r--databases/p5-Pg/distinfo1
2 files changed, 9 insertions, 15 deletions
diff --git a/databases/p5-Pg/Makefile b/databases/p5-Pg/Makefile
index 891e2d2ab470..4441367f0d23 100644
--- a/databases/p5-Pg/Makefile
+++ b/databases/p5-Pg/Makefile
@@ -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>
diff --git a/databases/p5-Pg/distinfo b/databases/p5-Pg/distinfo
new file mode 100644
index 000000000000..493c29c9d049
--- /dev/null
+++ b/databases/p5-Pg/distinfo
@@ -0,0 +1 @@
+MD5 (postgresql/pgperl-2.0.1.tar.gz) = cb855d1a6d747ada99d6accaaf898d01