summaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios2
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-09-23 02:06:41 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-09-23 02:06:41 +0000
commit100837334526ef2d4a687dde3a4b22bfe14233dd (patch)
tree9f094bf6bccf9fa6bea98738a28ebe44c12474d7 /net-mgmt/nagios2
parent38cb309a9c76e22b8a5747ddc19e86d558244b9d (diff)
downloadFreeBSD-ports-100837334526ef2d4a687dde3a4b22bfe14233dd.zip
FreeBSD-ports-100837334526ef2d4a687dde3a4b22bfe14233dd.tar.gz
Add BSD graphics to this port and swap with linux graphics
Bump PORTREVISION PR: 30621 Submitted by: Dan Langille No reaponse: maintainer
Diffstat (limited to 'net-mgmt/nagios2')
-rw-r--r--net-mgmt/nagios2/Makefile18
-rw-r--r--net-mgmt/nagios2/distinfo1
-rw-r--r--net-mgmt/nagios2/files/patch-aj18
-rw-r--r--net-mgmt/nagios2/files/patch-ak11
-rw-r--r--net-mgmt/nagios2/pkg-plist2
5 files changed, 49 insertions, 1 deletions
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index 58dcaa4..0586501 100644
--- a/net-mgmt/nagios2/Makefile
+++ b/net-mgmt/nagios2/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-mgmt/nagios2/distinfo b/net-mgmt/nagios2/distinfo
index 71d8a70..e40fd57 100644
--- a/net-mgmt/nagios2/distinfo
+++ b/net-mgmt/nagios2/distinfo
@@ -1 +1,2 @@
MD5 (netsaint-0.0.7b6.tar.gz) = ff03fc4d440e4d368b87fe51aae75701
+MD5 (netsaint-graphics.tar.gz) = d959b80cccdee3ff22f4025c6f2446c4
diff --git a/net-mgmt/nagios2/files/patch-aj b/net-mgmt/nagios2/files/patch-aj
new file mode 100644
index 0000000..5906e0f
--- /dev/null
+++ b/net-mgmt/nagios2/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-mgmt/nagios2/files/patch-ak b/net-mgmt/nagios2/files/patch-ak
new file mode 100644
index 0000000..b419a9d
--- /dev/null
+++ b/net-mgmt/nagios2/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-mgmt/nagios2/pkg-plist b/net-mgmt/nagios2/pkg-plist
index fd71eef..ad222ca 100644
--- a/net-mgmt/nagios2/pkg-plist
+++ b/net-mgmt/nagios2/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
OpenPOWER on IntegriCloud