blob: 1c520718a122ff8169a7d355f303954edfebe57e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# ports collection makefile for: perl interface to Berkeley DB v3
# Date created: 3 January 2001
# Whom: T. William Wells <bill@twwells.com>
#
# $FreeBSD$
#
PORTNAME= BerkeleyDB
PORTVERSION= 0.51
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PMQS
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
PERL_CONFIGURE= yes
USE_BDB= 47+
MAN3= BerkeleyDB.3
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>
|