aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-05-25 03:48:50 +0800
committeradamw <adamw@FreeBSD.org>2005-05-25 03:48:50 +0800
commit775131ac36a3d735d3f19bf906b850b6c3955f2c (patch)
tree411b57275781e0c042462d03e67a7820a2df58a7 /textproc
parent2e83f73bb35360b16c5e166ff9e038e586fa93d3 (diff)
downloadfreebsd-ports-gnome-775131ac36a3d735d3f19bf906b850b6c3955f2c.tar.gz
freebsd-ports-gnome-775131ac36a3d735d3f19bf906b850b6c3955f2c.tar.zst
freebsd-ports-gnome-775131ac36a3d735d3f19bf906b850b6c3955f2c.zip
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/openfts/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/openfts/Makefile b/textproc/openfts/Makefile
index a015c199578a..653a41cd0a85 100644
--- a/textproc/openfts/Makefile
+++ b/textproc/openfts/Makefile
@@ -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