1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/databases/p5-BerkeleyDB/Makefile
Adam Weinberger 34ed372f38 Start removing MASTER_SITE_SUBDIR=CPAN:username where possible. The
downside to having this set is that portscout cannot find new releases
when the username changes (which happens often in large projects with
multiple maintainers).
2015-06-24 15:16:23 +00:00

31 lines
705 B
Makefile

# Created by: T. William Wells <bill@twwells.com>
# $FreeBSD$
PORTNAME= BerkeleyDB
PORTVERSION= 0.55
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:${PORTSDIR}/databases/p5-MLDBM \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
USES= perl5 shebangfix
USE_PERL5= configure
USE_BDB= 47+
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
.include <bsd.port.mk>