aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 20:58:18 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 20:58:18 +0800
commit7f2e67e7d312d635c16f95debd4471d5a7b27be4 (patch)
treec9cf30434b21b9d952da478e78158a0b05746a6d /dns
parent52605cd50a742f7a740c29cbfae14af1c947f225 (diff)
downloadfreebsd-ports-gnome-7f2e67e7d312d635c16f95debd4471d5a7b27be4.tar.gz
freebsd-ports-gnome-7f2e67e7d312d635c16f95debd4471d5a7b27be4.tar.zst
freebsd-ports-gnome-7f2e67e7d312d635c16f95debd4471d5a7b27be4.zip
Use SUB_FILES for pkg-message
Diffstat (limited to 'dns')
-rw-r--r--dns/noip/Makefile6
-rw-r--r--dns/noip/files/pkg-message.in (renamed from dns/noip/pkg-message)0
2 files changed, 5 insertions, 1 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index 8b0d51bb067c..24667ac7fa94 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -15,6 +15,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= No-IP.com's dynamic DNS update client
ALL_TARGET= noip2
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
post-build:
${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/noip.sh > ${WRKSRC}/noip.sh
@@ -31,7 +33,9 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
.endif
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" ${PKGMESSAGE} | ${SED} "s|%%WRKSRC%%|${WRKSRC}|g"
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
conf:
(cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C)
diff --git a/dns/noip/pkg-message b/dns/noip/files/pkg-message.in
index 294ab4ce52ab..294ab4ce52ab 100644
--- a/dns/noip/pkg-message
+++ b/dns/noip/files/pkg-message.in