summaryrefslogtreecommitdiff
path: root/databases/p5-BDB/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-BDB/Makefile')
-rw-r--r--databases/p5-BDB/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/p5-BDB/Makefile b/databases/p5-BDB/Makefile
new file mode 100644
index 00000000000..ca160393f4a
--- /dev/null
+++ b/databases/p5-BDB/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/04/17 09:35:40 seb Exp $
+#
+
+DISTNAME= BDB-1.88
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5bdb
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/BDB/
+COMMENT= Perl 5 module providing asynchronous Berkeley DB access
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BDB_ACCEPTED= db4 db3 db2
+PERL5_PACKLIST= auto/BDB/.packlist
+
+MAKE_PARAMS+= INC=-I${BDBBASE:Q}/${BUILDLINK_INCDIRS.${BDB_TYPE}:Q}
+PERL5_LDFLAGS+= -L${BUILDLINK_PREFIX.${BDB_TYPE}} ${BDB_LIBS}
+
+DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense
+
+.include "../../mk/bdb.buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"