summaryrefslogtreecommitdiff
path: root/net/rdist6
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-08-22 17:27:00 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-08-22 17:27:00 +0000
commitca1b9291af554cb4c8c388f20a1c90bd48cfa620 (patch)
tree0f388454828a605f7b405a4bf783a1e957696825 /net/rdist6
parent${PKGDIR}/PLIST -> ${PLIST} (diff)
Don't force the user to edit pkg/PLIST manuall. Don't use += on
first occurence of MAKE_ENV.
Notes
Notes: svn path=/head/; revision=12718
Diffstat (limited to 'net/rdist6')
-rw-r--r--net/rdist6/Makefile8
-rw-r--r--net/rdist6/pkg-plist2
2 files changed, 5 insertions, 5 deletions
diff --git a/net/rdist6/Makefile b/net/rdist6/Makefile
index 698d710de43f..4ae7e3f9af99 100644
--- a/net/rdist6/Makefile
+++ b/net/rdist6/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1995
# Whom: peter
#
-# $Id: Makefile,v 1.12 1998/01/21 02:39:56 peter Exp $
+# $Id: Makefile,v 1.13 1998/06/22 12:14:09 peter Exp $
#
DISTNAME= rdist-6.1.4
@@ -15,13 +15,13 @@ MASTER_SITES= http://www.magnicomp.com/download/rdist/ \
MAINTAINER= peter@FreeBSD.org
# 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
+RDIST_NAME?= rdist6
INSTALL_TARGET= install install.man
-MAKE_ENV+= BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME}
+MAKE_ENV= BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME}
MAN1= ${RDIST_NAME}.1
MAN8= rdistd.8
+PLIST_SUB= RDIST_NAME=${RDIST_NAME}
post-install:
@strip ${PREFIX}/bin/${RDIST_NAME}
diff --git a/net/rdist6/pkg-plist b/net/rdist6/pkg-plist
index f990d3dc663e..b31c03e51d7a 100644
--- a/net/rdist6/pkg-plist
+++ b/net/rdist6/pkg-plist
@@ -1,2 +1,2 @@
-bin/rdist6
+bin/%%RDIST_NAME%%
bin/rdistd