2012-02-17 17:17:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2012/02/17 22:17:16 sthen Exp $
|
2007-10-05 09:32:32 -04:00
|
|
|
|
|
|
|
COMMENT= web frontend to symon
|
2012-02-17 17:17:16 -05:00
|
|
|
DISTNAME= syweb-0.64
|
2007-10-05 09:32:32 -04:00
|
|
|
CATEGORIES= www sysutils
|
|
|
|
|
2009-11-14 06:06:42 -05:00
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
|
2007-10-05 09:32:32 -04:00
|
|
|
HOMEPAGE= http://www.xs4all.nl/~wpd/symon
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/philes/
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
|
2011-07-08 19:01:39 -04:00
|
|
|
MODULES= lang/php
|
|
|
|
RUN_DEPENDS= net/rrdtool
|
2007-10-05 09:32:32 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/syweb
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
find ${WRKDIR} -name \*.orig -exec rm {} \;
|
|
|
|
${TAR} -C ${WRKDIST} -cf - htdocs symon | ${TAR} -C ${PREFIX} -xpf -
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/symon
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/install_rrdtool.sh ${PREFIX}/symon
|
|
|
|
mkdir ${PREFIX}/symon/rrds
|
|
|
|
mkdir ${PREFIX}/symon/cache
|
2008-04-17 15:57:27 -04:00
|
|
|
cd ${PREFIX}/htdocs/syweb && mv setup.inc setup.inc.sample
|
2010-07-01 09:15:52 -04:00
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/htdocs/syweb ${PREFIX}/symon
|
2007-10-05 09:32:32 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|