aboutsummaryrefslogtreecommitdiff
path: root/java/avis/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:20:03 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:20:03 +0000
commitb26a28d61964b5c5877f0d97003ba7d9ec101b09 (patch)
tree1eb421779643b7ad38e11a93c580f1d631d373dc /java/avis/Makefile
parentded4aa1f80b354d83b58df339921d8bf8ef76689 (diff)
downloadports-b26a28d61964b5c5877f0d97003ba7d9ec101b09.tar.gz
ports-b26a28d61964b5c5877f0d97003ba7d9ec101b09.zip
Notes
Diffstat (limited to 'java/avis/Makefile')
-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>