aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-08-23 01:27:00 +0800
committerhoek <hoek@FreeBSD.org>1998-08-23 01:27:00 +0800
commitca61d83a053df7d49503da9fb46308adb72cd429 (patch)
treea2e84d62a79d99e7230ddf093ed2597023849326 /net
parent288ddaa06681307a7d1020a6bd9c752deab40d8f (diff)
downloadfreebsd-ports-gnome-ca61d83a053df7d49503da9fb46308adb72cd429.tar.gz
freebsd-ports-gnome-ca61d83a053df7d49503da9fb46308adb72cd429.tar.zst
freebsd-ports-gnome-ca61d83a053df7d49503da9fb46308adb72cd429.zip
Don't force the user to edit pkg/PLIST manuall. Don't use += on
first occurence of MAKE_ENV.
Diffstat (limited to 'net')
-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