2010-08-21 18:32:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2010/08/21 16:33:01 seb Exp $
|
2003-03-19 16:45:27 +01:00
|
|
|
|
2009-04-12 12:21:25 +02:00
|
|
|
DISTNAME= DB_File-1.820
|
2003-03-19 16:45:27 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2010-08-21 18:32:42 +02:00
|
|
|
PKGREVISION= 1
|
2007-02-22 20:01:13 +01:00
|
|
|
SVR4_PKGNAME= p5dfi
|
2003-03-19 16:45:27 +01:00
|
|
|
CATEGORIES= databases perl5
|
2004-05-14 20:38:54 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DB_File/}
|
2003-03-19 16:45:27 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-07-23 00:30:56 +02:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/DB_File/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Perl5 module to use Berkeley DB version 1 API
|
2010-01-16 20:27:17 +01:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
2003-03-19 16:45:27 +01:00
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/DB_File/.packlist
|
2003-03-19 16:45:27 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2004-05-14 20:38:54 +02:00
|
|
|
.include "../../mk/bdb.buildlink3.mk"
|
2003-03-19 16:45:27 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= DB_FILE_NAME=${BDB_LIBS:Q}
|
2004-11-15 19:42:04 +01:00
|
|
|
MAKE_ENV+= DB_FILE_INCLUDE="${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}"
|
|
|
|
MAKE_ENV+= DB_FILE_LIB="${BDBBASE}/lib"
|
2005-11-11 21:14:51 +01:00
|
|
|
.if empty(BDB_TYPE:Mdb1)
|
2004-11-15 19:42:04 +01:00
|
|
|
MAKE_ENV+= DB_FILE_COMPAT185=1
|
2005-11-11 21:14:51 +01:00
|
|
|
.endif
|
2003-03-19 16:45:27 +01:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|