aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail-vlogin-plugin
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:33:29 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:33:29 +0800
commitffba0efda3d6171430d65d75094c80b02f39bd8e (patch)
tree92d4e44e25fb88a61a380cd3ee9dacf24fca37c4 /mail/squirrelmail-vlogin-plugin
parentf4602ef4c476cc8e219fe0db827285bd0363bcea (diff)
downloadfreebsd-ports-gnome-ffba0efda3d6171430d65d75094c80b02f39bd8e.tar.gz
freebsd-ports-gnome-ffba0efda3d6171430d65d75094c80b02f39bd8e.tar.zst
freebsd-ports-gnome-ffba0efda3d6171430d65d75094c80b02f39bd8e.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'mail/squirrelmail-vlogin-plugin')
-rw-r--r--mail/squirrelmail-vlogin-plugin/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/squirrelmail-vlogin-plugin/Makefile b/mail/squirrelmail-vlogin-plugin/Makefile
index f926588bd05d..bff2c26fdee8 100644
--- a/mail/squirrelmail-vlogin-plugin/Makefile
+++ b/mail/squirrelmail-vlogin-plugin/Makefile
@@ -14,21 +14,19 @@ USE_SM_COMPAT= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
# We need to rearrange, install and cleanup documentation pre-install
# because bsd.squirrelmail.mk installs everything under ${WRKSRC}/${PORTNAME}.
pre-install::
-.if !defined(NOPORTDOCS)
cd ${WRKSRC}/${PORTNAME}/docs \
&& ${RM} .htaccess index.php \
&& ${MKDIR} ${STAGEDIR}${DOCSDIR} \
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} \
&& cd ${WRKSRC}/${PORTNAME} \
&& ${RM} -rf README docs
-.else
- cd ${WRKSRC}/${PORTNAME} && ${RM} -rf README docs
-.endif
.include <bsd.port.post.mk>