20696471fe
illusion marc still maintains them. as requested by himself.
38 lines
881 B
Makefile
38 lines
881 B
Makefile
# $OpenBSD: Makefile,v 1.4 2009/09/15 17:37:22 jasper Exp $
|
|
|
|
COMMENT= web frontend to symon
|
|
DISTNAME= syweb-0.55
|
|
PKGNAME= ${DISTNAME}p2
|
|
CATEGORIES= www sysutils
|
|
|
|
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
|
|
|
|
RUN_DEPENDS= :rrdtool-*:net/rrdtool \
|
|
:php5-core->=5.2:www/php5/core
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|