summaryrefslogtreecommitdiffstats
path: root/net/nagios/Makefile
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/nagios/Makefile
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/nagios/Makefile')
-rw-r--r--net/nagios/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/net/nagios/Makefile b/net/nagios/Makefile
index 58dcaa4..0586501 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>
OpenPOWER on IntegriCloud