From ffba0efda3d6171430d65d75094c80b02f39bd8e Mon Sep 17 00:00:00 2001 From: adamw Date: Fri, 4 Jul 2014 00:33:29 +0000 Subject: Remove NOPORTDOCS and NOPORTEXAMPLES. --- mail/squirrelmail-vlogin-plugin/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mail/squirrelmail-vlogin-plugin') 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 .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 -- cgit