summaryrefslogtreecommitdiffstats
path: root/www/sitebar/Makefile
blob: ab92819bf62f9b97f84e46dc00a1f62bf25194b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ex:ts=8
# Ports collection makefile for:	sitebar
# Date created:			Jun 23, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	sitebar
PORTVERSION=	3.3.8
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	SiteBar-${PORTVERSION}

MAINTAINER=	gunter@six-two.net
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>
OpenPOWER on IntegriCloud