mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
f037e39601
- USE_BDB=4x+ -> USES=bdb. - USE_BDB=yes -> USES=bdb. - USE_BDB=xx -> USES=bdb:xx. Other modernisations when I see them. PR: 209183 Sponsored by: Absolight
34 lines
712 B
Makefile
34 lines
712 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= BDB
|
|
PORTVERSION= 1.91
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:MLEHMANN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Asynchronous Berkeley DB access
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-common-sense>=0:devel/p5-common-sense
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PORTSCOUT= skipv:1.801
|
|
|
|
CFLAGS+= -I${BDB_INCLUDE_DIR}
|
|
LDFLAGS+= -lpthread
|
|
USE_PERL5= configure
|
|
USES= bdb perl5
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|' ${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/BDB/BDB.so
|
|
|
|
.include <bsd.port.mk>
|