summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-09-03 12:36:55 +0000
committerwiz <wiz@pkgsrc.org>2000-09-03 12:36:55 +0000
commit73b9dfc043d05b927786c36a885d9881566644af (patch)
tree676a55f40f84da30f1b3bcfb37ead144d01ac684 /net
parent73d3569b5a891508acd216994dc2e626c9d2ee3f (diff)
downloadpkgsrc-73b9dfc043d05b927786c36a885d9881566644af.tar.gz
Don't hardwire /usr/pkg in MESSAGE.
Diffstat (limited to 'net')
-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.
-