aboutsummaryrefslogtreecommitdiffstats
path: root/java/avis
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:20:03 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:20:03 +0800
commitd93a96c3cc6bac03a611ffb3c80f89ee09e58d63 (patch)
tree1eb421779643b7ad38e11a93c580f1d631d373dc /java/avis
parente02bbc43a532c44d6c92fc80d5c06556e43667df (diff)
downloadfreebsd-ports-gnome-d93a96c3cc6bac03a611ffb3c80f89ee09e58d63.tar.gz
freebsd-ports-gnome-d93a96c3cc6bac03a611ffb3c80f89ee09e58d63.tar.zst
freebsd-ports-gnome-d93a96c3cc6bac03a611ffb3c80f89ee09e58d63.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'java/avis')
-rw-r--r--java/avis/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/java/avis/Makefile b/java/avis/Makefile
index 8fe740613b3f..b7385e201a9e 100644
--- a/java/avis/Makefile
+++ b/java/avis/Makefile
@@ -25,11 +25,11 @@ ANT_TARGETS= jar-server
JAVA_BUILD= yes
.endif
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= README.txt\
LICENSE.txt\
history.txt
-.endif
.include <bsd.port.pre.mk>
@@ -38,7 +38,6 @@ pre-fetch:
@${ECHO_MSG} "You may use the following build options:"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file"
- @${ECHO_MSG} " NOPORTDOCS=yes Don't install the port documentation"
@${ECHO_MSG} ""
do-build:
@@ -54,11 +53,9 @@ do-install:
@${ECHO_CMD} " [DONE]"
@${INSTALL_DATA} ${WRKSRC}/server/etc/avisd.config ${STAGEDIR}${PREFIX}/etc/avisd.conf.sample
-.if !defined(NOPORTDOCS)
@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/server/doc && ${FIND} . \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.post.mk>