322d8e19b1
cairo is needed it's a little more complicated than before. @comment syweb's install_rrdtool script which is no longer needed. pointed out by Giancarlo Razzolini.
38 lines
890 B
Makefile
38 lines
890 B
Makefile
# $OpenBSD: Makefile,v 1.19 2014/05/07 18:10:27 sthen Exp $
|
|
|
|
COMMENT= web frontend to symon
|
|
DISTNAME= syweb-0.65
|
|
REVISION= 1
|
|
CATEGORIES= www sysutils
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
HOMEPAGE= http://www.xs4all.nl/~wpd/symon
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/philes/
|
|
|
|
NO_TEST= Yes
|
|
NO_BUILD= Yes
|
|
|
|
PREFIX= ${VARBASE}/www
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= net/rrdtool
|
|
|
|
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
|
|
cd ${PREFIX}/htdocs/syweb && mv setup.inc setup.inc.sample
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/htdocs/syweb ${PREFIX}/symon
|
|
|
|
.include <bsd.port.mk>
|