1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/sitebar/Makefile
Vanilla I. Shu 253df79acb 1: Stagify.
2: USES=tar:bzip2

Approved by:	portmgr@ (blanket approval)
2014-07-02 13:33:24 +00:00

31 lines
828 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= sitebar
PORTVERSION= 3.3.9
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/SiteBar/${PORTVERSION}
DISTNAME= SiteBar-${PORTVERSION}
MAINTAINER= gunter@six-two.net
COMMENT= The Bookmark Server for Personal and Team Use
USES= tar:bzip2
USE_PHP= mysql pcre
WANT_PHP_WEB= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/www/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
@cd ${WRKSRC} && \
${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>