aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
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