aboutsummaryrefslogtreecommitdiffstats
path: root/net/vtun
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 05:44:04 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 05:44:04 +0800
commit6f4296b0136375c849414ae5c03abbad92011567 (patch)
tree745f97af838071739e1b6070acbf4862962b5405 /net/vtun
parent7358548dfc6a0ba78831b72d59132f5b85966e0d (diff)
downloadfreebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.tar.gz
freebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.tar.zst
freebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'net/vtun')
-rw-r--r--net/vtun/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index fb57e7f6b364..6d6f14441707 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -26,6 +26,8 @@ ALL_TARGET= vtund
DOCS= ChangeLog Credits FAQ README README.LZO README.Setup \
README.Shaper TODO
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.if ${CC} == "clang" || ${CXX} == "clang++" || ${OSVERSION} >= 1000026
@@ -40,12 +42,10 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-tun_dev.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vtund
@${INSTALL_DATA} ${WRKSRC}/vtund.conf ${STAGEDIR}${PREFIX}/etc/vtund.conf.example
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
@${LN} -s ${STAGEDIR}${PREFIX}/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/man/man1/vtun.1
.include <bsd.port.post.mk>