openbsd-ports/databases/p5-BerkeleyDB/Makefile
2009-03-14 11:49:41 +00:00

26 lines
579 B
Makefile

# $OpenBSD: Makefile,v 1.10 2009/03/14 11:49:41 espie Exp $
COMMENT= Berkeley DB module
SHARED_ONLY= Yes
DISTNAME= BerkeleyDB-0.34
PKGNAME= p5-${DISTNAME}p1
CATEGORIES= databases
MODULES= cpan
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_ENV+= BERKELEYDB_INCLUDE=${LOCALBASE}/include/db4 \
BERKELEYDB_LIB=${LOCALBASE}/lib/db4
LIB_DEPENDS= lib/db4/db.>=4:db->=4,<5:databases/db/v4
REGRESS_DEPENDS= ::devel/p5-MLDBM
.include <bsd.port.mk>