# Created by: T. William Wells # $FreeBSD: head/databases/p5-BerkeleyDB/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= BerkeleyDB PORTVERSION= 0.55 PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the Berkeley DB package LICENSE= ART10 GPLv1 LICENSE_COMB= dual TEST_DEPENDS= p5-MLDBM>=0:databases/p5-MLDBM \ p5-Test-Pod>=1:devel/p5-Test-Pod USES= perl5 shebangfix USE_BDB= yes USE_PERL5= configure SHEBANG_FILES= mkconsts.pl post-patch: @${ECHO} "INCLUDE = ${BDB_INCLUDE_DIR}" > ${WRKSRC}/config.in @${ECHO} "LIB = ${LOCALBASE}/lib" >> ${WRKSRC}/config.in @${ECHO} "DBNAME = -l${BDB_LIB_NAME}" >> ${WRKSRC}/config.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/BerkeleyDB/BerkeleyDB.so .include