summaryrefslogtreecommitdiffstats
path: root/databases/p5-BerkeleyDB
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-30 04:18:13 +0000
committerpetef <petef@FreeBSD.org>2002-03-30 04:18:13 +0000
commit423b819bc9375bb6891bea82765fa9523ad989ab (patch)
tree8155fdec369bc75073866c1387584ca8c05a3d61 /databases/p5-BerkeleyDB
parent6da2856adc31818124cf2f1876a8063815eb3bd6 (diff)
downloadFreeBSD-ports-423b819bc9375bb6891bea82765fa9523ad989ab.zip
FreeBSD-ports-423b819bc9375bb6891bea82765fa9523ad989ab.tar.gz
Install the manpage for this port.
PR: 35440 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net> Approved by: maintainer timeout
Diffstat (limited to 'databases/p5-BerkeleyDB')
-rw-r--r--databases/p5-BerkeleyDB/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile
index d0ca4b2..0179389 100644
--- a/databases/p5-BerkeleyDB/Makefile
+++ b/databases/p5-BerkeleyDB/Makefile
@@ -20,9 +20,13 @@ LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
PERL_CONFIGURE= yes
ALL_TARGET= all test
+MAN3= BerkeleyDB.3
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
post-patch:
${PERL} -pi -e 's|^(INCLUDE\s+= )./libraries/.*$$|$$1\$(PREFIX)/include/db3|g; \
s|^(LIB\s+= )./libraries/.*$$|$$1$(PREFIX)/lib|g' ${WRKSRC}/config.in
${PERL} -pi -e 's|^#DBNAME.*|DBNAME = -ldb3|' ${WRKSRC}/config.in
+ ${PERL} -pi -e '$$_="" if /MAN3PODS/' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
OpenPOWER on IntegriCloud