1 # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
7 CATEGORIES= databases perl5
9 MASTER_SITE_SUBDIR= CPAN:MLEHMANN
11 DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//}
13 MAINTAINER= sunpoet@FreeBSD.org
14 COMMENT= Asynchronous Berkeley DB access
16 BUILD_DEPENDS= p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
17 RUN_DEPENDS:= ${BUILD_DEPENDS}
19 PORTSCOUT= skipv:1.801
21 CFLAGS+= -I${BDB_INCLUDE_DIR}
28 @${REINPLACE_CMD} -e '18 s|-lpthread -ldb|-l${BDB_LIB_NAME} -pthread|' ${WRKSRC}/Makefile.PL
30 .include <bsd.port.mk>