1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Make sure that bsd.port.pre.mk is included regardless of

whether NOPORTDOCS is defined.

Noticed by:	Johan Pettersson <manlix@demonized.net>
Solution by:	kris
This commit is contained in:
Adam Weinberger 2005-05-24 19:48:50 +00:00
parent cc15f6086c
commit 40c440e353
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136055

View File

@ -26,16 +26,16 @@ MAN3= Search::OpenFTS.3 Search::OpenFTS::Base.3 \
Search::OpenFTS::Index.3 Search::OpenFTS::Morph::ISpell.3 \
Search::OpenFTS::Parser.3
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
PORTDOCS= Changes INSTALL README primer.html
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13
.else
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.endif # ${PERL_LEVEL} < 500600
post-install:
${MKDIR} ${EXAMPLESDIR}
@ -45,7 +45,7 @@ post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.endif # defined(NOPORTDOCS)
# Sample DB initialization.
DBNAME?= openfts