1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Install the manpage for this port.

PR:		35440
Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
Approved by:	maintainer timeout
This commit is contained in:
Pete Fritchman 2002-03-30 04:18:13 +00:00
parent 1afb61592c
commit ff84cff604
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56897

View File

@ -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>