From b4b01d1e628df6d4cbf89cd25a8b81ea00fd853b Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Sat, 14 Dec 2013 13:55:46 +0000 Subject: [PATCH] - Update to 0.61 [1] - Support STAGEDIR Reported by: maintainer (via twitter) [1] --- graphics/php5-swfed/Makefile | 24 +++++++++++------------- graphics/php5-swfed/distinfo | 4 ++-- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/graphics/php5-swfed/Makefile b/graphics/php5-swfed/Makefile index 30981b71e26a..1e3e97f70a9f 100644 --- a/graphics/php5-swfed/Makefile +++ b/graphics/php5-swfed/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= swfed -PORTVERSION= 0.60 +PORTVERSION= 0.61 CATEGORIES= graphics www MASTER_SITES= SFJP -MASTER_SITE_SUBDIR= ${PORTNAME}/58104 +MASTER_SITE_SUBDIR= ${PORTNAME}/60035 PKGNAMEPREFIX= php5- MAINTAINER= yoya@awm.jp @@ -29,25 +29,23 @@ PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PORTDOCS= readme.txt PORTEXAMPLES= * -NO_STAGE= yes .include post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sample/${PORTEXAMPLES} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sample/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .endif - @${MKDIR} ${WWWDIR} - @${CP} -R ${WRKDIR}/${DISTNAME}/www/ ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @${MKDIR} ${STAGEDIR}${WWWDIR} + @${CP} -R ${WRKDIR}/${DISTNAME}/www/ ${STAGEDIR}${WWWDIR} -x-generate-plist: - ${FIND} ${WWWDIR} -type f | ${SORT} | ${SED} -e 's,${WWWDIR},%%WWWDIR%%,g' > pkg-plist.new - ${FIND} ${WWWDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${WWWDIR},@dirrm %%WWWDIR%%,g' >> pkg-plist.new +x-generate-plist: stage + ${FIND} ${STAGEDIR}${WWWDIR} -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${WWWDIR},%%WWWDIR%%,g' > pkg-plist.new + ${FIND} ${STAGEDIR}${WWWDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${WWWDIR},@dirrm %%WWWDIR%%,g' >> pkg-plist.new ${ECHO} '@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%' >> pkg-plist.new .include diff --git a/graphics/php5-swfed/distinfo b/graphics/php5-swfed/distinfo index 3f1a2252372f..e3b192698511 100644 --- a/graphics/php5-swfed/distinfo +++ b/graphics/php5-swfed/distinfo @@ -1,2 +1,2 @@ -SHA256 (swfed-0.60.tar.gz) = d529e3706fa24efb3c71846f43be88fe99ad94f229e26c5a05710ce3c18477a8 -SIZE (swfed-0.60.tar.gz) = 454752 +SHA256 (swfed-0.61.tar.gz) = 76e28acefc97df5d3d4176cee5987ff31f691f5c70054427d3e08766aea6bad9 +SIZE (swfed-0.61.tar.gz) = 454974