diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-08 01:17:06 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-08 01:17:06 +0000 |
commit | c2127672359c375b8eb32959b9386e174535e9dc (patch) | |
tree | 18c0313e398a7252e205003cccb5020582291fbb /www/pmwiki | |
parent | 9d4c2e50fc04bf72e4f7f4ff23a14e9dfeddec6f (diff) | |
download | ports-c2127672359c375b8eb32959b9386e174535e9dc.tar.gz ports-c2127672359c375b8eb32959b9386e174535e9dc.zip |
Notes
Diffstat (limited to 'www/pmwiki')
-rw-r--r-- | www/pmwiki/Makefile | 18 | ||||
-rw-r--r-- | www/pmwiki/pkg-plist | 15 |
2 files changed, 12 insertions, 21 deletions
diff --git a/www/pmwiki/Makefile b/www/pmwiki/Makefile index 98696fe91170..f6fe09956bd0 100644 --- a/www/pmwiki/Makefile +++ b/www/pmwiki/Makefile @@ -6,15 +6,19 @@ PORTVERSION= 2.2.64 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.pmwiki.org/pub/pmwiki/ -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= WikiWikiWeb clone using PHP +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt + +USES= cpe tar:tgz USE_PHP= mbstring session WANT_PHP_WEB= yes NO_BUILD= yes +NO_ARCH= yes PORTDOCS= * @@ -39,15 +43,11 @@ post-extract: @${MV} ${WRKSRC}/docs/sample-config.php ${WRKSRC} do-install: - @${MKDIR} -m 755 ${STAGEDIR}${PREFIX}/${PMWIKIDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${PMWIKIDIR} @cd ${WRKSRC} && ${FIND} . ! \( -name docs -prune \) | \ ${CPIO} ${CPIOFLAGS} ${STAGEDIR}${PREFIX}/${PMWIKIDIR} - @${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PMWIKIDIR} - @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${STAGEDIR}${DOCSDIR} - @${INSTALL_MAN} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} - -post-install: - @${MKDIR} -m 775 ${STAGEDIR}${PREFIX}/${PMWIKIDIR}/wiki.d - @${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PMWIKIDIR}/wiki.d + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${PMWIKIDIR}/wiki.d .include <bsd.port.mk> diff --git a/www/pmwiki/pkg-plist b/www/pmwiki/pkg-plist index 7cf96f0b8c39..ae458ce569b4 100644 --- a/www/pmwiki/pkg-plist +++ b/www/pmwiki/pkg-plist @@ -206,15 +206,6 @@ %%PMWIKIDIR%%/wikilib.d/SiteAdmin.GroupAttributes %%PMWIKIDIR%%/wikilib.d/SiteAdmin.SiteAdmin %%PMWIKIDIR%%/wikilib.d/SiteAdmin.Status -@dirrm %%PMWIKIDIR%%/wikilib.d -@dirrm %%PMWIKIDIR%%/wiki.d -@dirrm %%PMWIKIDIR%%/scripts -@dirrm %%PMWIKIDIR%%/pub/skins/print -@dirrm %%PMWIKIDIR%%/pub/skins/pmwiki -@dirrm %%PMWIKIDIR%%/pub/skins -@dirrm %%PMWIKIDIR%%/pub/guiedit -@dirrm %%PMWIKIDIR%%/pub/css -@dirrm %%PMWIKIDIR%%/pub -@dirrm %%PMWIKIDIR%%/local -@dirrm %%PMWIKIDIR%%/cookbook -@dirrmtry %%PMWIKIDIR%% +@dir(%%WWWOWN%%,%%WWWGRP%%,775) %%PMWIKIDIR%%/wiki.d +@dir %%PMWIKIDIR%%/pub/css +@dir(%%WWWOWN%%,%%WWWGRP%%) %%PMWIKIDIR%% |