aboutsummaryrefslogtreecommitdiff
path: root/dns/noip/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-01-03 14:33:11 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-01-03 14:33:11 +0000
commit282fc4395ef4b249786f3fb79e09b4485ae224bf (patch)
tree199babd13478be611afdc5f1500b0e0d8c4eb4ac /dns/noip/Makefile
parentdf76860b057fa14903fa96becac1df21e6519850 (diff)
downloadports-282fc4395ef4b249786f3fb79e09b4485ae224bf.tar.gz
ports-282fc4395ef4b249786f3fb79e09b4485ae224bf.zip
- Replace old style rc script by a RCng one
PR: ports/119135 Submitted by: Kay Abendroth <kay.abendroth at raxion.net> (maintainer)
Notes
Notes: svn path=/head/; revision=204916
Diffstat (limited to 'dns/noip/Makefile')
-rw-r--r--dns/noip/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index 6289a1e72573..724a57c3f9d5 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= noip
PORTVERSION= 2.1.7
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.no-ip.com/client/linux/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
@@ -17,9 +18,7 @@ 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
+USE_RC_SUBR= noip
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
@@ -27,7 +26,6 @@ pre-install:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/noip.sh ${PREFIX}/etc/rc.d
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCSDIR}