openbsd-ports/www/phpmemcachedadmin/Makefile
sthen f31f618baf import ports/www/phpmemcachedadmin, ok okan@
This program allows to see in real-time (top-like) or from the start of
the server, stats for get, set, delete, increment, decrement, evictions,
reclaimed, cas command, as well as server stats (network, items, server
version) with googlecharts and server internal configuration. You can go
further to see each server slabs, occupation, memory wasted and items (key
& value). Another part can execute commands on any memcached server: get,
set, delete, flush_all, as well as execute any commands (like stats) with
telnet.
2012-05-18 20:53:56 +00:00

42 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/05/18 20:53:56 sthen Exp $
COMMENT= memcached server admin in PHP
V= 1.2.1
DISTNAME= phpMemcachedAdmin-$V-r233
PKGNAME= phpmemcachedadmin-$V
CATEGORIES= www databases
HOMEPAGE= http://phpmemcacheadmin.googlecode.com/
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
MODULES= lang/php
RUN_DEPENDS= www/pecl-memcache
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
WRKDIST= ${WRKDIR}
PREFIX= /var/www
post-extract:
cd ${WRKSRC} && mkdir phpMemcachedAdmin && \
mv [A-Z]* *php phpMemcachedAdmin
do-install:
cd ${WRKSRC} && pax -rw phpMemcachedAdmin ${PREFIX}/
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/phpMemcachedAdmin
mv ${PREFIX}/phpMemcachedAdmin/Config/Memcache.php \
${PREFIX}/phpMemcachedAdmin/Config/Memcache.php.dist
.include <bsd.port.mk>