aboutsummaryrefslogtreecommitdiffstats
path: root/mail/phplist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/phplist/Makefile')
-rw-r--r--mail/phplist/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/phplist/Makefile b/mail/phplist/Makefile
index 296457912ce7..3d9a01d5dbe3 100644
--- a/mail/phplist/Makefile
+++ b/mail/phplist/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= phplist
-PORTVERSION= 3.0.10
+PORTVERSION= 3.0.12
CATEGORIES= mail www
MASTER_SITES= SF
@@ -30,8 +30,6 @@ SUB_FILES= phplist
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-extract:
@${MV} ${WRKSRC}/public_html/lists/config/config.php ${WRKSRC}/public_html/lists/config/config.php.sample
@@ -41,11 +39,9 @@ post-extract:
do-install:
@${FIND} ${WRKSRC}/public_html/ -type f -regex '.*[^!-~].*' -delete
${MKDIR} ${STAGEDIR}${WWWDIR}/
- @cd ${WRKSRC}/public_html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
+ (cd ${WRKSRC}/public_html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
${INSTALL_SCRIPT} ${WRKDIR}/phplist ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>