summaryrefslogtreecommitdiffstats
path: root/net/rdist6/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-21 05:29:55 +0000
committerpeter <peter@FreeBSD.org>1996-09-21 05:29:55 +0000
commit43c7cbd1c087981177389072991b70fa1e905b4a (patch)
tree0b6cca6010612f75fddc4f8ee529e15a13894d12 /net/rdist6/Makefile
parentecc8065ede3d0844c1f63803ccab8dfc10979e92 (diff)
downloadFreeBSD-ports-43c7cbd1c087981177389072991b70fa1e905b4a.zip
FreeBSD-ports-43c7cbd1c087981177389072991b70fa1e905b4a.tar.gz
Ack, last commit was bogus. Serves me right for making "just one tiny
change" after I tested it. Sigh. While here, make a tweakable hook to change the name from rdist6 to rdist.
Diffstat (limited to 'net/rdist6/Makefile')
-rw-r--r--net/rdist6/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/rdist6/Makefile b/net/rdist6/Makefile
index 70a0fd0..7c8d6d1 100644
--- a/net/rdist6/Makefile
+++ b/net/rdist6/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1995
# Whom: peter
#
-# $Id: Makefile,v 1.6 1996/05/17 11:14:53 peter Exp $
+# $Id: Makefile,v 1.7 1996/09/21 05:12:01 peter Exp $
#
DISTNAME= rdist-6.1.3
@@ -12,13 +12,18 @@ MASTER_SITES= ftp://usc.edu/pub/rdist/
MAINTAINER= peter@FreeBSD.org
-INSTALL_TARGET+=install.man
+# To avoid confusion with /usr/bin/rdist, you may prefer otherwise.
+# Do not forget to deal with pkg/PLIST if you change this.
+RDIST_NAME= rdist6
+
+INSTALL_TARGET= install install.man
+MAKE_ENV+= BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME}
post-install:
- strip ${PREFIX}/bin/rdist6
+ strip ${PREFIX}/bin/${RDIST_NAME}
strip ${PREFIX}/bin/rdistd
.if !defined(NOMANCOMPRESS)
- gzip -9nf ${PREFIX}/man/man1/rdist6.1
+ gzip -9nf ${PREFIX}/man/man1/${RDIST_NAME}.1
gzip -9nf ${PREFIX}/man/man8/rdistd.8
.endif
OpenPOWER on IntegriCloud