From 73b9dfc043d05b927786c36a885d9881566644af Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 3 Sep 2000 12:36:55 +0000 Subject: Don't hardwire /usr/pkg in MESSAGE. --- net/ddclient/Makefile | 7 ++++++- net/ddclient/pkg/MESSAGE | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'net/ddclient') 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. - -- cgit v1.2.3