aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-BerkeleyDB/Makefile
blob: f23c3532ede1f315757c2fbb47908cf3a3989c34 (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
# 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.33
CATEGORIES= databases perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Perl5 interface to the Berkeley DB package

USE_BDB=    yes

PERL_CONFIGURE= yes

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>