1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/www/sqstat/Makefile

48 lines
1.1 KiB
Makefile

# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$
PORTNAME= sqstat
PORTVERSION= 1.20
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://samm.kiev.ua/sqstat/ \
SF/sqstat/sqstat/sqstat-${PORTVERSION}
MAINTAINER= sem@FreeBSD.org
COMMENT= A script which allows to look through active squid users connections
USE_PHP= pcre session
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
NO_STAGE= yes
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>