summaryrefslogtreecommitdiff
path: root/net/ddclient
diff options
context:
space:
mode:
authorwiz <wiz>2000-09-03 12:36:55 +0000
committerwiz <wiz>2000-09-03 12:36:55 +0000
commit448967e846682656d3a0ba071741d68567f64ecb (patch)
tree676a55f40f84da30f1b3bcfb37ead144d01ac684 /net/ddclient
parent440a01cc14b134bd030ad307c52f2347a2d586b8 (diff)
downloadpkgsrc-448967e846682656d3a0ba071741d68567f64ecb.tar.gz
Don't hardwire /usr/pkg in MESSAGE.
Diffstat (limited to 'net/ddclient')
-rw-r--r--net/ddclient/Makefile7
-rw-r--r--net/ddclient/pkg/MESSAGE4
2 files changed, 8 insertions, 3 deletions
diff --git a/net/ddclient/Makefile b/net/ddclient/Makefile
index 4fe71e278f8..dce7f653db7 100644
--- a/net/ddclient/Makefile
+++ b/net/ddclient/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/08/07 02:50:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 2000/09/03 12:36:55 wiz Exp $
#
DISTNAME= ddclient-2.3.1
@@ -10,6 +10,11 @@ HOMEPAGE= http://burry.net/ddclient
NO_BUILD= yes
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
+pre-install:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
+
do-install:
${SED} \
-e 's,@LOCALBASE@,${LOCALBASE},g' \
diff --git a/net/ddclient/pkg/MESSAGE b/net/ddclient/pkg/MESSAGE
index c59dd662ced..d5c2c022fa5 100644
--- a/net/ddclient/pkg/MESSAGE
+++ b/net/ddclient/pkg/MESSAGE
@@ -1,6 +1,6 @@
+$NetBSD: MESSAGE,v 1.2 2000/09/03 12:36:55 wiz Exp $
1. Please register at http://www.dyndns.org/
-2. Copy /usr/pkg/etc/ddclient.conf-example to /usr/pkg/etc/ddclient.conf
+2. Copy @PREFIX@/etc/ddclient.conf-example to @PREFIX@/etc/ddclient.conf
and adjust to your needs.
-