From 63a05e16d70445ccd9995c62f953f5cb7e806e00 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Sun, 23 Sep 2001 02:06:41 +0000 Subject: Add BSD graphics to this port and swap with linux graphics Bump PORTREVISION PR: 30621 Submitted by: Dan Langille No reaponse: maintainer --- net/nagios/Makefile | 18 +++++++++++++++++- net/nagios/distinfo | 1 + net/nagios/files/patch-aj | 18 ++++++++++++++++++ net/nagios/files/patch-ak | 11 +++++++++++ net/nagios/pkg-plist | 2 ++ 5 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 net/nagios/files/patch-aj create mode 100644 net/nagios/files/patch-ak (limited to 'net/nagios') diff --git a/net/nagios/Makefile b/net/nagios/Makefile index 58dcaa41eea1..058650178987 100644 --- a/net/nagios/Makefile +++ b/net/nagios/Makefile @@ -7,8 +7,12 @@ PORTNAME= netsaint PORTVERSION= 0.0.7b6 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://netsaint.sourceforge.net/download/ +MASTER_SITES= http://netsaint.sourceforge.net/download/ \ + ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/dwcjr/ + +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} netsaint-graphics.tar.gz MAINTAINER= blaz@si.FreeBSD.org @@ -38,4 +42,16 @@ pre-fetch: pre-install: @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +BSDIMAGES= bsd_logofullsize.gif bsd_sblogo.gif + +post-patch: + cd ${WRKSRC} && tar zxf ${DISTDIR}/netsaint-graphics.tar.gz + + +post-install: +.for i in ${BSDIMAGES} + ${INSTALL_DATA} ${WRKSRC}/html/images/$i ${PREFIX}/share/${PORTNAME}/images/ +.endfor + + .include diff --git a/net/nagios/distinfo b/net/nagios/distinfo index 71d8a704e864..e40fd57f46c9 100644 --- a/net/nagios/distinfo +++ b/net/nagios/distinfo @@ -1 +1,2 @@ MD5 (netsaint-0.0.7b6.tar.gz) = ff03fc4d440e4d368b87fe51aae75701 +MD5 (netsaint-graphics.tar.gz) = d959b80cccdee3ff22f4025c6f2446c4 diff --git a/net/nagios/files/patch-aj b/net/nagios/files/patch-aj new file mode 100644 index 000000000000..5906e0fad6d0 --- /dev/null +++ b/net/nagios/files/patch-aj @@ -0,0 +1,18 @@ +--- html/main.html.org Sun Sep 16 11:36:54 2001 ++++ html/main.html Sun Sep 16 11:38:28 2001 +@@ -27,7 +27,7 @@ + +

+

+-NetSaint
++NetSaint
+ Copyright (c) 1999-2001 Ethan Galstad
+ netsaint@netsaint.org +
+@@ -81,4 +81,4 @@ + + + +- ++ + diff --git a/net/nagios/files/patch-ak b/net/nagios/files/patch-ak new file mode 100644 index 000000000000..b419a9d04564 --- /dev/null +++ b/net/nagios/files/patch-ak @@ -0,0 +1,11 @@ +--- html/side.html.in.org Sun Sep 16 11:36:54 2001 ++++ html/side.html.in Sun Sep 16 11:39:53 2001 +@@ -44,7 +44,7 @@ + + + + +
+-
++
+
diff --git a/net/nagios/pkg-plist b/net/nagios/pkg-plist index fd71eef30b88..ad222cae64b9 100644 --- a/net/nagios/pkg-plist +++ b/net/nagios/pkg-plist @@ -119,6 +119,8 @@ share/netsaint/docs/whatsnew.html share/netsaint/docs/xdata-db.html share/netsaint/images/ack.gif share/netsaint/images/active.gif +share/netsaint/images/bsd_logofullsize.gif +share/netsaint/images/bsd_sblogo.gif share/netsaint/images/command.gif share/netsaint/images/comment.gif share/netsaint/images/config.gif -- cgit v1.2.3