pkgsrc/www/drraw/Makefile
kleink 8dc454a7dc Update drraw to 2.2a4.
Changes since 2.2a3 [2007/03/17]:
  - Fixed support for SHIFT graph command.
  - Updated RRDs::fetch usage again (courtesy of Andy Mayhew).
  - Saving dashboards could generate bad index entries (reported by Fabien
    Wernli).
  - Added "Invisible" color (suggested by John Rouillard).
  - Dashboard style display for templates broke custom time display of
    templates (reported by Mark Noworolski).
  - Two typos caused forms to use POST instead of GET (courtesy of Fabien
    Wernli).
  - The graph editor no longer allowed stacking CDEFs or VDEFs (reported by
    John Rouillard).
2007-06-03 16:40:48 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2007/06/03 16:40:48 kleink Exp $
#
DISTNAME= drraw-2.2a4
CATEGORIES= databases graphics www
MASTER_SITES= http://web.taranis.org/drraw/dist/
EXTRACT_SUFX= .tgz
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= http://web.taranis.org/drraw/
COMMENT= Simple web based presentation front-end for RRDtool
NO_BUILD= yes
USE_TOOLS+= perl:run
REPLACE_PERL= drraw.cgi
PKG_SYSCONFSUBDIR?= drraw
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
DRRAW_CONF_FILES= drraw.conf
DRRAW_ICONS= bomb.gif folder.gif folder.open.gif generic.gif \
link.gif text.gif unknown.gif
DRRAW_DOCS= CHANGES INSTALL README.EVENTS WISHLIST
CONF_FILES= ${EGDIR}/drraw.conf ${PKG_SYSCONFDIR}/drraw.conf
DEPENDS+= rrdtool>=1.2.9:../../databases/rrdtool
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cgi-bin
${INSTALL_SCRIPT} ${WRKSRC}/drraw.cgi ${PREFIX}/libexec/cgi-bin
${INSTALL_DATA_DIR} ${EGDIR}
.for f in ${DRRAW_CONF_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}/${f}
.endfor
${INSTALL_DATA_DIR} ${EGDIR}/icons
.for f in ${DRRAW_ICONS}
${INSTALL_DATA} ${WRKSRC}/icons/${f} ${EGDIR}/icons/${f}
.endfor
${INSTALL_DATA_DIR} ${DOCDIR}
.for f in ${DRRAW_DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/${f}
.endfor
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= drraw.cgi
SUBST_SED.prefix= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g"
SUBST_MESSAGE.prefix= Fixing harcoded paths.
.include "../../mk/bsd.pkg.mk"