aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-BerkeleyDB
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-30 04:18:13 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-30 04:18:13 +0000
commitff84cff604f0f1c311b2d9c9fff34c64ce5b93d6 (patch)
tree284d39dfc3345d05c499ff027856965363ded979 /databases/p5-BerkeleyDB
parent1afb61592c5a8e60e3754bf1e4dfc673d8550cc9 (diff)
downloadports-ff84cff604f0f1c311b2d9c9fff34c64ce5b93d6.tar.gz
ports-ff84cff604f0f1c311b2d9c9fff34c64ce5b93d6.zip
Install the manpage for this port.
PR: 35440 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=56897
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 d0ca4b2bebd9..01793893e451 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>