summaryrefslogtreecommitdiffstats
path: root/sysutils/nwclient602/Makefile
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-11-16 02:46:18 +0000
committermjacob <mjacob@FreeBSD.org>2001-11-16 02:46:18 +0000
commit14f6ca7fcff6f3d96fceab101c8756759cbcc687 (patch)
tree586d7993cc3b57d053ae46c59566b7570c5382ac /sysutils/nwclient602/Makefile
parent015a6c288215865dfbb8905eb658a21046c12954 (diff)
downloadFreeBSD-ports-14f6ca7fcff6f3d96fceab101c8756759cbcc687.zip
FreeBSD-ports-14f6ca7fcff6f3d96fceab101c8756759cbcc687.tar.gz
Add NetWorker client based on 6.0.2 NetWorker release. Corrects some problems
and bugs seen in other port. Because we don't really test as much as we would like, this gets entered as a new port so the old software is still easily available.
Diffstat (limited to 'sysutils/nwclient602/Makefile')
-rw-r--r--sysutils/nwclient602/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/nwclient602/Makefile b/sysutils/nwclient602/Makefile
new file mode 100644
index 0000000..e7b61f2
--- /dev/null
+++ b/sysutils/nwclient602/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: networker-client602
+# Date created: Sat Oct 27 09:48:19 PDT 2001
+# Whom: Matthew Jacob <mjacob@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nwclient
+PORTVERSION= 6.0.2
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.feral.com/pub/networker/freebsd/freebsd_40/
+ARCH!= uname -m
+DISTNAME= nwclient-${PORTVERSION}-freebsd-${ARCH}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= networker-bugs@freebsd.org
+
+NO_BUILD= yes
+
+post-patch:
+ @sed -e "s,^ROOTDIR.*$$,ROOTDIR=${PREFIX}," ${WRKSRC}/networker.sh >\
+ ${WRKDIR}/NWCTMP && chmod +w ${WRKSRC}/networker.sh && \
+ cp ${WRKDIR}/NWCTMP ${WRKSRC}/networker.sh && \
+ chmod -w ${WRKSRC}/networker.sh
+
+do-install:
+ @mkdir -p /usr/local/nsr/bin /usr/local/man/man8 /usr/local/etc/rc.d
+ @cd ${WRKSRC} && tar cf - gls | \
+ (cd /usr/local/nsr && tar --unlink -xpf -)
+ @cd ${WRKSRC}/${ARCH} && tar cf - . | \
+ (cd /usr/local/nsr/bin && tar --unlink -xpf -)
+ @cd ${WRKSRC} && tar cf - networker.sh | \
+ (cd /usr/local/etc/rc.d && tar --unlink -xpf -)
+ @cd ${WRKSRC}/catman && tar cf - *.1 | \
+ (cd /usr/local/man/cat1 && tar --unlink -xpf -)
+ @cd ${WRKSRC}/catman && tar cf - *.3 | \
+ (cd /usr/local/man/cat3 && tar --unlink -xpf -)
+ @cd ${WRKSRC}/catman && tar cf - *.5 | \
+ (cd /usr/local/man/cat5 && tar --unlink -xpf -)
+ @cd ${WRKSRC}/catman && tar cf - *.8 | \
+ (cd /usr/local/man/cat8 && tar --unlink -xpf -)
+
+post-install:
+ @sed -e "s,ROOTDIR,${PREFIX}," < ${PKGMESSAGE}
+ @cd / && rm -f nsr && ln -s ${PREFIX}/nsr
+
+pre-deinstall:
+ rm -f /nsr
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud