1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/sitebar/Makefile
Baptiste Daroussin 5c7b4a79f2 Convert to USES=php
While here convert some ports to optiosn helpers
2017-10-04 11:29:14 +00:00

28 lines
701 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= php:web tar:bzip2
USE_PHP= mysql pcre
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}
.include <bsd.port.mk>