freebsd-ports/databases/p5-BDB/Makefile
Sunpoet Po-Chuan Hsieh 423df70831 - Strip shared library
- Bump PORTREVISION for package change
2015-08-17 13:03:53 +00:00

36 lines
796 B
Makefile

# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= BDB
PORTVERSION= 1.90
PORTREVISION= 3
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MLEHMANN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Asynchronous Berkeley DB access
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-common-sense>=0:${PORTSDIR}/devel/p5-common-sense
RUN_DEPENDS:= ${BUILD_DEPENDS}
PORTSCOUT= skipv:1.801
CFLAGS+= -I${BDB_INCLUDE_DIR}
LDFLAGS+= -lpthread
USE_BDB= yes
USE_PERL5= configure
USES= perl5
post-patch:
@${REINPLACE_CMD} -e '18 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>