summaryrefslogtreecommitdiff
path: root/net/netsaint-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netsaint-base/Makefile')
-rw-r--r--net/netsaint-base/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/net/netsaint-base/Makefile b/net/netsaint-base/Makefile
index a2ea3830121..0c0fb7ac16f 100644
--- a/net/netsaint-base/Makefile
+++ b/net/netsaint-base/Makefile
@@ -1,34 +1,38 @@
-# $NetBSD: Makefile,v 1.11 2002/03/25 12:54:17 rh Exp $
+# $NetBSD: Makefile,v 1.12 2002/04/14 10:57:11 rh Exp $
#
DISTNAME= netsaint-0.0.7
PKGNAME= ${DISTNAME:S/-/-base-/}
-CATEGORIES= net
+PKGREVISION= 1
MASTER_SITES= http://www.netsaint.org/download/
MAINTAINER= murray@river-styx.org
HOMEPAGE= http://www.netsaint.org/
COMMENT= network monitor
-DEPENDS+= gd>=1.8.4nb1:../../graphics/gd
+USE_BUILDLINK_ONLY= # defined
.include "../../net/netsaint-base/Makefile.common"
+CONFIGURE_ARGS+= --with-ping-command='/sbin/ping -n -c %d %s'
+
INSTALL_TARGET= install install-config
post-configure:
- ${SED} <${FILESDIR}/netsaint-setup.sh >${WRKDIR}/netsaint-setup.sh \
+ ${SED} < ${FILESDIR}/netsaint-setup.sh > ${WRKDIR}/netsaint-setup.sh \
-e 's:@@USER@@:${NETSAINT_USER}:g' \
-e 's:@@GROUP@@:${NETSAINT_GROUP}:g'
+post-build:
+ cd ${WRKDIR}; uudecode ${FILESDIR}/logofullsize.gif.uu
+ cd ${WRKDIR}; uudecode ${FILESDIR}/sblogo.gif.uu
+
post-install:
- cd ${WRKDIR} && ${INSTALL_SCRIPT} netsaint-setup.sh ${PREFIX}/sbin; \
- cd ${PREFIX}/etc/netsaint; \
- ${MV} commands.cfg commands.cfg.sample; \
- ${MV} hosts.cfg hosts.cfg.sample; \
- ${MV} netsaint.cfg netsaint.cfg.sample; \
- ${MV} nscgi.cfg nscgi.cfg.sample; \
- ${MV} resource.cfg resource.cfg.sample; \
- ${CHMOD} u+x *.sample
+ ${INSTALL_DATA_DIR} ${PREFIX}/etc/netsaint
+ ${INSTALL_SCRIPT} ${WRKDIR}/netsaint-setup.sh ${PREFIX}/etc/netsaint
+ ${INSTALL_DATA} ${WRKDIR}/logofullsize.gif ${PREFIX}/share/netsaint/images
+ ${INSTALL_DATA} ${WRKDIR}/sblogo.gif ${PREFIX}/share/netsaint/images
+.include "../../graphics/gd/buildlink.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"