aboutsummaryrefslogtreecommitdiff
path: root/textproc/openfts
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:50:40 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:50:40 +0000
commit5fad809a5036ede0aa1484f20794ae259980b7fa (patch)
treecddd9991fc9d4b10a6996ebf4fafeeaf1d756cbe /textproc/openfts
parentf83af9fadf126ce99ee41552d898bc5eb04fd222 (diff)
downloadports-5fad809a5036ede0aa1484f20794ae259980b7fa.tar.gz
ports-5fad809a5036ede0aa1484f20794ae259980b7fa.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360676
Diffstat (limited to 'textproc/openfts')
-rw-r--r--textproc/openfts/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/textproc/openfts/Makefile b/textproc/openfts/Makefile
index 313e6655442c..82220a84d0f2 100644
--- a/textproc/openfts/Makefile
+++ b/textproc/openfts/Makefile
@@ -17,23 +17,19 @@ USE_PGSQL= yes
USES= perl5
USE_PERL5= configure
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= Changes INSTALL README primer.html
post-install:
-.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
@${ECHO_MSG} "===> Examples installed in ${STAGEDIR}${EXAMPLESDIR}."
-.endif
-.if !defined(NOPORTDOCS)
@${CP} -p ${WRKSRC}/doc/primer.html ${WRKSRC}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${STAGEDIR}${DOCSDIR}."
-.endif
# Sample DB initialization.
DBNAME?= openfts
@@ -43,4 +39,4 @@ create-database:
psql ${DBNAME} < tsearch2.sql && \
psql ${DBNAME} < openfts.sql
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>