freebsd-ports/net-mgmt/guifi-snpservices/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

36 lines
934 B
Makefile

# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
# $FreeBSD$
PORTNAME= snpservices
DISTVERSION= 0.2.2-8
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:net-mgmt/mrtg \
rrdtool: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
post-patch:
@${FIND} ${WRKSRC} -name \*.orig -delete;
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} \
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})
${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 '{}' +
.include <bsd.port.mk>