aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios2/Makefile')
-rw-r--r--net-mgmt/nagios2/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index 58dcaa41eea1..058650178987 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>