aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-vlogin-plugin
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:33:29 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:33:29 +0000
commit3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (patch)
tree92d4e44e25fb88a61a380cd3ee9dacf24fca37c4 /mail/squirrelmail-vlogin-plugin
parent1261ab9470d3b27700cd81cd7020d4b3af86b962 (diff)
downloadports-3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc.tar.gz
ports-3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360498
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>