From 423b819bc9375bb6891bea82765fa9523ad989ab Mon Sep 17 00:00:00 2001 From: petef Date: Sat, 30 Mar 2002 04:18:13 +0000 Subject: Install the manpage for this port. PR: 35440 Submitted by: Kimura Fuyuki Approved by: maintainer timeout --- databases/p5-BerkeleyDB/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'databases/p5-BerkeleyDB') 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 -- cgit v1.1