blob: 57a377c97ea141ae850251333edaa16ba318b88b (
plain) (
blame)
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
|
# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD$
PORTNAME= snpservices
DISTVERSION= 0.2.2-5
CATEGORIES= net-mgmt www
MASTER_SITES= http://serveis.guifi.net/debian/guifi/ \
http://www.potion-studios.com/
PKGNAMEPREFIX= guifi-
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= tphilipp@potion-studios.com
COMMENT= Graphics server for the guifi.net meshnet
RUN_DEPENDS= mrtg:${PORTSDIR}/net-mgmt/mrtg \
rrdtool:${PORTSDIR}/databases/rrdtool
USE_PHP= gd simplexml dom
SNPSERVICES_TMPDIR?= /var/tmp/${PORTNAME}
SUB_FILES= pkg-install pkg-deinstall pkg-message
SUB_LIST= SNPSERVICES_TMPDIR=${SNPSERVICES_TMPDIR}
WRKSRC= ${WRKDIR}/${PORTNAME}-0.2.2
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} \
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
.include <bsd.port.mk>
|