Update databases/p5-SQLite-Work to version 0.16
[dports.git] / databases / p5-BDB / Makefile
1 # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       BDB
5 PORTVERSION=    1.90
6 PORTREVISION=   2
7 CATEGORIES=     databases perl5
8 MASTER_SITES=   CPAN
9 MASTER_SITE_SUBDIR=     CPAN:MLEHMANN
10 PKGNAMEPREFIX=  p5-
11 DISTNAME=       ${PORTNAME}-${PORTVERSION:C/0$//}
12
13 MAINTAINER=     sunpoet@FreeBSD.org
14 COMMENT=        Asynchronous Berkeley DB access
15
16 BUILD_DEPENDS=  p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
17 RUN_DEPENDS:=   ${BUILD_DEPENDS}
18
19 PORTSCOUT=      skipv:1.801
20
21 CFLAGS+=        -I${BDB_INCLUDE_DIR}
22 LDFLAGS+=       -pthread
23 USE_BDB=        43+
24 USE_PERL5=      configure
25 USES=           perl5
26
27 post-patch:
28         @${REINPLACE_CMD} -e '18 s|-lpthread -ldb|-l${BDB_LIB_NAME} -pthread|' ${WRKSRC}/Makefile.PL
29
30 .include <bsd.port.mk>