summaryrefslogtreecommitdiff
path: root/net/nagios
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-23 02:06:41 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-23 02:06:41 +0000
commit63a05e16d70445ccd9995c62f953f5cb7e806e00 (patch)
treea271dc0214447f8e7e83bcfd4758f032738ed21e /net/nagios
parentconstify dvdtape.c (diff)
Add BSD graphics to this port and swap with linux graphics
Bump PORTREVISION PR: 30621 Submitted by: Dan Langille No reaponse: maintainer
Notes
Notes: svn path=/head/; revision=48103
Diffstat (limited to 'net/nagios')
-rw-r--r--net/nagios/Makefile18
-rw-r--r--net/nagios/distinfo1
-rw-r--r--net/nagios/files/patch-aj18
-rw-r--r--net/nagios/files/patch-ak11
-rw-r--r--net/nagios/pkg-plist2
5 files changed, 49 insertions, 1 deletions
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 <bsd.port.mk>
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 @@
+
+ <P>
+ <div align="center">
+-<IMG SRC="images/logofullsize.gif" BORDER="0" ALT="NetSaint" width="238" height="227"><br>
++<IMG SRC="images/bsd_logofullsize.gif" BORDER="0" ALT="NetSaint" width="268" height="221"><br>
+ Copyright (c) 1999-2001 Ethan Galstad<br>
+ <a href="mailto:netsaint@netsaint.org">netsaint@netsaint.org</a>
+ </div>
+@@ -81,4 +81,4 @@
+ </div>
+
+ </BODY>
+-</HTML>
++</HTML>
+
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 @@
+ <table width="150" border="0">
+ <tr>
+ <td>
+- <div align="center"><a href="http://www.netsaint.org" target="_top"><img src="images/sblogo.gif" width="130" height="125" border="0"></a></div>
++ <div align="center"><a href="http://www.netsaint.org" target="_top"><img src="images/bsd_sblogo.gif" width="110" height="95" border="0"></a></div>
+ </td>
+ </tr>
+ </table>
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