01f48a38c5
* to avoid warnings, merge your setup.inc changes with setup.inc.sample (or at least add $symon['options']['driveserial']=1; to your config).
40 lines
958 B
Makefile
40 lines
958 B
Makefile
# $OpenBSD: Makefile,v 1.10 2011/05/02 17:16:41 sthen Exp $
|
|
|
|
COMMENT= web frontend to symon
|
|
DISTNAME= syweb-0.63
|
|
CATEGORIES= www sysutils
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
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= net/rrdtool \
|
|
www/php5/core>=5.2
|
|
|
|
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>
|