mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
7d0bcb9ea7
Approved by: clement (mentor)
37 lines
852 B
Makefile
37 lines
852 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: sitebar
|
|
# Date created: Jun 23, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sitebar
|
|
PORTVERSION= 3.2.6
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= SiteBar-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The Bookmark Server for Personal and Team Use
|
|
|
|
USE_BZIP2= yes
|
|
USE_PHP= mysql pcre
|
|
WANT_PHP_WEB= yes
|
|
NO_BUILD= yes
|
|
DATADIR= ${PREFIX}/www/${PORTNAME}
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
@cd ${WRKSRC} && \
|
|
${FIND} . -type d -exec ${MKDIR} ${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}
|
|
|
|
.include <bsd.port.mk>
|