- Update to 0.61 [1]

- Support STAGEDIR

Reported by:	maintainer (via twitter) [1]
This commit is contained in:
TAKATSU Tomonari 2013-12-14 13:55:46 +00:00
parent 7efa77ad7c
commit b4b01d1e62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336447
2 changed files with 13 additions and 15 deletions

View file

@ -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 <bsd.port.options.mk>
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 <bsd.port.mk>

View file

@ -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