aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-BerkeleyDB/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-07 07:23:10 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-07 07:23:10 +0000
commite46c638781cff63b5b2630f1a707200de45b6fe7 (patch)
treec23cfe4a366668281d56906630396cd4756ea567 /databases/p5-BerkeleyDB/Makefile
parent14b6ef00a22d72ac785e8885a89af39e5e6be281 (diff)
Add p5-BerkeleyDB 0.12, perl5 interface to the Berkeley DB package
revision 3. PR: 24064 Submitted by: T. William Wells <bill@twwells.com> Regex help: Jeremy Shaffner <jeremy@external.org>
Notes
Notes: svn path=/head/; revision=36876
Diffstat (limited to 'databases/p5-BerkeleyDB/Makefile')
-rw-r--r--databases/p5-BerkeleyDB/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile
new file mode 100644
index 000000000000..1361ca23ad19
--- /dev/null
+++ b/databases/p5-BerkeleyDB/Makefile
@@ -0,0 +1,27 @@
+# ports collection makefile for: perl interface to Berkeley DB v3
+# Date created: 3 January 2001
+# Whom: T. William Wells <bill@twwells.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= BerkeleyDB
+PORTVERSION= 0.12
+CATEGORIES= databases perl5
+MASTER_SITES= $(MASTER_SITE_PERL_CPAN)
+MASTER_SITE_SUBDIR= BerkeleyDB
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bill@twwells.com
+
+LIB_DEPENDS= db3.1:${PORTSDIR}/databases/db3
+
+PERL_CONFIGURE= yes
+ALL_TARGET= all test
+USE_PERL5= yes
+
+post-patch:
+ ${PERL} -pi -e 's|^(INCLUDE\s+= )./libraries/.*$$|$$1\$(PREFIX)/include/db3|g; \
+ s|^(LIB\s+= )./libraries/.*$$|$$1$(PREFIX)/lib|g' ${WRKSRC}/config.in
+
+.include <bsd.port.mk>