blob: 710b3752a04e889a229ce7d640f7e86325c51535 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: sqstat
# Date created: 4 May 2006
# Whom: Sergey Matveychuk <sem@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sqstat
PORTVERSION= 1.20
CATEGORIES= www
MASTER_SITES= http://samm.kiev.ua/sqstat/ \
${MASTER_SITE_SOURCEFORGE}
MAINTAINER= sem@FreeBSD.org
COMMENT= A script which allows to look through active squid users connections
USE_PHP= pcre
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SQSTATDIR?= share/${PORTNAME}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_LIST= SQSTATDIR=${SQSTATDIR}
PLIST_DIRS= ${SQSTATDIR}
PLIST_FILES= ${SQSTATDIR}/arrow.gif ${SQSTATDIR}/sqstat.class.php \
${SQSTATDIR}/sqstat.css ${SQSTATDIR}/sqstat.php \
${SQSTATDIR}/zhabascript.js \
${SQSTATDIR}/config.inc.php.defaults
PORTDOCS= CHANGES FAQ LICENSE README TODO
do-install:
@${MKDIR} ${PREFIX}/${SQSTATDIR}; \
for f in ${PLIST_FILES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f##*/} ${PREFIX}/${SQSTATDIR}; \
done
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}; \
for f in ${PORTDOCS}; do \
${INSTALL_DATA} ${WRKSRC}/docs/$$f ${DOCSDIR}; \
done
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|