aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:58:18 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:58:18 +0000
commitd2d0202a4592c9343ca25da5a7c489a785738ffb (patch)
treef0ac155ba6f525fc8d8163b02e548f838af72108 /dns
parent5240d29127b6ff64dbca60c425dc29b3d1890e92 (diff)
downloadports-d2d0202a4592c9343ca25da5a7c489a785738ffb.tar.gz
ports-d2d0202a4592c9343ca25da5a7c489a785738ffb.zip
Notes
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