openbsd-ports/databases/p5-BerkeleyDB/Makefile
2012-08-23 14:54:31 +00:00

27 lines
542 B
Makefile

# $OpenBSD: Makefile,v 1.26 2012/08/23 14:54:31 sthen Exp $
COMMENT= Berkeley DB module
SHARED_ONLY= Yes
DISTNAME= BerkeleyDB-0.51
REVISION= 0
CATEGORIES= databases
MODULES= cpan
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c lib/db4/db>=4
CONFIGURE_ENV+= BERKELEYDB_INCLUDE=${LOCALBASE}/include/db4 \
BERKELEYDB_LIB=${LOCALBASE}/lib/db4
LIB_DEPENDS = databases/db/v4
MAKE_ENV = TEST_POD=1
REGRESS_DEPENDS = devel/p5-MLDBM
.include <bsd.port.mk>