1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 1.5.3

- Stage support

PR:		189627
Submitted by:	maintainer
This commit is contained in:
Martin Wilke 2014-05-22 05:46:25 +00:00
parent e74a5a403d
commit b9e2735fcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354774
3 changed files with 4677 additions and 3751 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= webtrees
PORTVERSION= 1.0.6
PORTVERSION= 1.5.3
CATEGORIES= www
MASTER_SITES= http://launchpad.net/${PORTNAME}/${PORTVERSION:C/\.[0-9]*$//}/${PORTVERSION}/+download/
@ -18,22 +18,16 @@ NO_BUILD= yes
SUB_FILES= pkg-message pkg-deinstall
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract:
@# remove files with mis-encoded filenames; these have been dropepd from
@# the project's svn and will no longer be present in the 1.0.7 version
@${RM} ${WRKSRC}/${PORTNAME}/places/ISR/ISR_+*
do-install:
@cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/data ${WWWDIR}/media
@${CHMOD} -R u+w ${WWWDIR}/data ${WWWDIR}/media
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/data ${WWWDIR}/media' >>${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R u+w ${WWWDIR}/data ${WWWDIR}/media' >>${TMPPLIST}
-${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -not -type d) | ${SORT} | \
${SED} -ne 's,^${PORTNAME}/,${WWWDIR_REL}/,p' >> ${TMPPLIST}
@${ECHO_CMD} \
'@exec chown -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \
>> ${TMPPLIST}
@(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -type d) | ${SORT} -r | \
${SED} -ne 's,^${PORTNAME}/,@dirrm ${WWWDIR_REL}/,p' \
>> ${TMPPLIST}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (webtrees-1.0.6.zip) = b1adfa94dc3e33bc208dfd881f2650b8ccad62a2fbc0748d5a8a439358bee53e
SIZE (webtrees-1.0.6.zip) = 16284925
SHA256 (webtrees-1.5.3.zip) = 66f2dbc0abb7d8b510d58fb1a19b6363a179beeb52aef0acd7d5c71e8f583bef
SIZE (webtrees-1.5.3.zip) = 30900439

File diff suppressed because it is too large Load Diff