freebsd-ports/databases/p5-BerkeleyDB/Makefile
Cheng-Lung Sung b9cd80afb0 - now it builds on 4.x
PR:		ports/102564
Submitted by:	Dan Lukes <dan@obluda dot cz>
2006-08-28 09:40:33 +00:00

30 lines
695 B
Makefile

# 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.29
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= BerkeleyDB
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Perl5 interface to the Berkeley DB package
USE_BDB= yes
USE_GCC= 3.2+
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>