diff options
author | kleink <kleink@pkgsrc.org> | 2005-10-13 11:14:41 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 2005-10-13 11:14:41 +0000 |
commit | 50e13992116b82d3160363acfc890b3e6f77858d (patch) | |
tree | fbaedaed4e33f0031d69563bbd69364dd5e04ee7 /www/drraw | |
parent | 3d73a918aaf1b1c9762c79d0694e3a2aad18be70 (diff) | |
download | pkgsrc-50e13992116b82d3160363acfc890b3e6f77858d.tar.gz |
Initial import of drraw as version 2.1.3 into the NetBSD Packages
Collection.
drraw is a simple web based presentation front-end for RRDtool that
allows you to interactively build graphs of your own design.
Diffstat (limited to 'www/drraw')
-rw-r--r-- | www/drraw/DESCR | 7 | ||||
-rw-r--r-- | www/drraw/Makefile | 55 | ||||
-rw-r--r-- | www/drraw/PLIST | 17 | ||||
-rw-r--r-- | www/drraw/distinfo | 6 | ||||
-rw-r--r-- | www/drraw/patches/patch-aa | 13 |
5 files changed, 98 insertions, 0 deletions
diff --git a/www/drraw/DESCR b/www/drraw/DESCR new file mode 100644 index 00000000000..05353f8d827 --- /dev/null +++ b/www/drraw/DESCR @@ -0,0 +1,7 @@ +drraw is a simple web based presentation front-end for RRDtool that +allows you to interactively build graphs of your own design. A +graph definition can be turned into a template which may be applied +to many Round Robin Database files. drraw specializes in providing +an easy mean of displaying data stored with RRDtool and does not +care about how the data is collected, making it a great complement +to other RRDtool front-ends. diff --git a/www/drraw/Makefile b/www/drraw/Makefile new file mode 100644 index 00000000000..c9d4f8e4e62 --- /dev/null +++ b/www/drraw/Makefile @@ -0,0 +1,55 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $ +# + +DISTNAME= drraw-2.1.3 +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 +USE_PKGINSTALL= yes + +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 + +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 "../../databases/rrdtool/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/drraw/PLIST b/www/drraw/PLIST new file mode 100644 index 00000000000..5338289878b --- /dev/null +++ b/www/drraw/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $ +libexec/cgi-bin/drraw.cgi +share/doc/drraw/CHANGES +share/doc/drraw/INSTALL +share/doc/drraw/README.EVENTS +share/doc/drraw/WISHLIST +share/examples/drraw/drraw.conf +share/examples/drraw/icons/bomb.gif +share/examples/drraw/icons/folder.gif +share/examples/drraw/icons/folder.open.gif +share/examples/drraw/icons/generic.gif +share/examples/drraw/icons/link.gif +share/examples/drraw/icons/text.gif +share/examples/drraw/icons/unknown.gif +@dirrm share/examples/drraw/icons +@dirrm share/examples/drraw +@dirrm share/doc/drraw diff --git a/www/drraw/distinfo b/www/drraw/distinfo new file mode 100644 index 00000000000..d39c31eb482 --- /dev/null +++ b/www/drraw/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $ + +SHA1 (drraw-2.1.3.tgz) = e106ccdc416124e4697936e4aeb54935e7a48aa9 +RMD160 (drraw-2.1.3.tgz) = 238d637c6c0ad19b4a8f611db99b0fd3d98bfeb0 +Size (drraw-2.1.3.tgz) = 45970 bytes +SHA1 (patch-aa) = c0c49f9b819a2c9580b1d37e6a2bdb4efa9a5d70 diff --git a/www/drraw/patches/patch-aa b/www/drraw/patches/patch-aa new file mode 100644 index 00000000000..4a7f748f285 --- /dev/null +++ b/www/drraw/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/13 11:14:41 kleink Exp $ + +--- drraw.cgi.orig 2005-06-19 20:20:50.000000000 +0200 ++++ drraw.cgi 2005-10-13 12:43:43.000000000 +0200 +@@ -49,7 +49,7 @@ + + # The configuration file is expected to be found in the same directory + # as drraw itself. You may customize this to be elsewhere. +-my $config = (dirname($0) =~ /(.*)/)[0] . "/drraw.conf"; # Untaint ++my $config = "@PKG_SYSCONFDIR@/drraw.conf"; + + ############################################################################### + ## STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP ## |