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

1: Stagify.

2: USES=tar:bzip2

Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-07-02 13:33:24 +00:00
parent 930b21ac97
commit 253df79acb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360183

View File

@ -10,22 +10,21 @@ DISTNAME= SiteBar-${PORTVERSION}
MAINTAINER= gunter@six-two.net
COMMENT= The Bookmark Server for Personal and Team Use
USE_BZIP2= yes
USES= tar:bzip2
USE_PHP= mysql pcre
WANT_PHP_WEB= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/www/${PORTNAME}
NO_STAGE= yes
do-install:
@${MKDIR} ${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
@cd ${WRKSRC} && \
${FIND} . ! -type d -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
${FIND} . ! -type d -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
@${FIND} ${STAGEDIR}${DATADIR} ! -type d | \
${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>