mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
16ce58f3cc
- Add missing USES=php - Add NO_ARCH - Remove unneeded (because of SUB_FILES) and duplicate PKGMESSAGE - Switch to options helpers - Simplify installation - Don't install license with docs - Remove bogus BROKEN_powerpc64: this port does not even build
48 lines
1.1 KiB
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= ports@FreeBSD.org
|
|
COMMENT= Script which allows to look through active squid users connections
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/docs/LICENSE
|
|
|
|
USES= php
|
|
USE_PHP= pcre session
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
SQSTATDIR?= share/${PORTNAME}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= SQSTATDIR=${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 README TODO
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${SQSTATDIR}
|
|
.for f in ${PLIST_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f:T} ${STAGEDIR}${PREFIX}/${SQSTATDIR}
|
|
.endfor
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|