summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2013-11-07 15:31:39 +0000
committerale <ale@FreeBSD.org>2013-11-07 15:31:39 +0000
commit114779cea1ac97aba659d23e119d16eba94ca4a1 (patch)
tree4c132a0d90ec10190d744ce101b8902c90542b30
parent0846a7d7151bc46c58a6dc16ec9bc76a9fd4cdc3 (diff)
downloadFreeBSD-ports-114779cea1ac97aba659d23e119d16eba94ca4a1.zip
FreeBSD-ports-114779cea1ac97aba659d23e119d16eba94ca4a1.tar.gz
Update to 1.9.4 release and stagify.
-rw-r--r--mail/nocc/Makefile25
-rw-r--r--mail/nocc/distinfo4
2 files changed, 11 insertions, 18 deletions
diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile
index 3353f5a..5428253 100644
--- a/mail/nocc/Makefile
+++ b/mail/nocc/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= nocc
-PORTVERSION= 1.9.3
-PORTREVISION= 1
+PORTVERSION= 1.9.4
CATEGORIES= mail www
MASTER_SITES= SF/${PORTNAME}/NOCC/${PORTVERSION}
@@ -17,7 +16,6 @@ WANT_PHP_WEB= yes
SUB_FILES= pkg-message
NO_BUILD= yes
-NO_WRKSUBDIR= yes
NOCCCOMP= .htaccess favicon.ico robots.txt \
action.php common.php contacts.php contacts_manager.php \
@@ -27,26 +25,21 @@ NOCCCOMP= .htaccess favicon.ico robots.txt \
PORTDOCS= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- @${MKDIR} ${WWWDIR}
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
.for i in ${NOCCCOMP}
- @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}
.endfor
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
+ @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST}
+ @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST}
@(cd ${WRKSRC}; ${FIND} ${NOCCCOMP} -not -type d) | ${SORT} | \
${SED} -ne 's,^,${WWWDIR_REL}/,p' >> ${TMPPLIST}
@(cd ${WRKSRC}; ${FIND} ${NOCCCOMP} -type d) | ${SORT} -r | \
${SED} -ne 's,^,@dirrm ${WWWDIR_REL}/,p' >> ${TMPPLIST}
@${ECHO_CMD} '@dirrm ${WWWDIR_REL}' >> ${TMPPLIST}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} "@owner" >> ${TMPPLIST}
+ @${ECHO_CMD} "@group" >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/mail/nocc/distinfo b/mail/nocc/distinfo
index de38e74..91b2cee 100644
--- a/mail/nocc/distinfo
+++ b/mail/nocc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nocc-1.9.3.tar.gz) = d1d34ecd69824c4963bcbde84711a5c9962afb59e17964834358a47f15f8c5aa
-SIZE (nocc-1.9.3.tar.gz) = 1054964
+SHA256 (nocc-1.9.4.tar.gz) = c4b297a524d5b2b852540b561ed819cddfcde2a94bcf140607c1b2f4789281e1
+SIZE (nocc-1.9.4.tar.gz) = 1063328
OpenPOWER on IntegriCloud