diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-25 17:32:29 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-25 17:32:29 +0800 |
commit | 8a9537498fdbdda01fd43ea78b9e06b0fad4dc59 (patch) | |
tree | 56495b6052563e0d630341bd602bdf282ecbaf19 /dns/noip/Makefile | |
parent | 94b936855cab4fd544d1358141d83501c9af0d3d (diff) | |
download | freebsd-ports-gnome-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.tar.gz freebsd-ports-gnome-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.tar.zst freebsd-ports-gnome-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.zip |
add noip 1.6
No-IP.com's dynamic DNS update client
PR: 36543
Submitted by: Eyal Soha <esoha@attbi.com>
Diffstat (limited to 'dns/noip/Makefile')
-rw-r--r-- | dns/noip/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile new file mode 100644 index 000000000000..96f654c96246 --- /dev/null +++ b/dns/noip/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: No-IP Dynamic Update Client +# Date created: 28 March 2002 +# Whom: Eyal Soha <esoha@attbi.com> +# +# $FreeBSD$ +# + +PORTNAME= noip +PORTVERSION= 1.6 +CATEGORIES= net +MASTER_SITES= http://www.no-ip.com/client/linux/ +DISTNAME= noip_updater_v${PORTVERSION} + +MAINTAINER= esoha@attbi.com + +ALL_TARGET= noip + +post-build: + ${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/noip.sh > ${WRKSRC}/noip.sh + +pre-install: + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ + ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/noip ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/noip.sh ${PREFIX}/etc/rc.d +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/${PORTNAME} + ${MKDIR} ${PREFIX}/share/examples/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/no-ip.conf.sample ${PREFIX}/share/examples/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/no-ip.sh ${PREFIX}/share/examples/${PORTNAME} +.endif + @${SED} "s|%%PREFIX%%|${PREFIX}|g" ${PKGMESSAGE} | ${SED} "s|%%WRKSRC%%|${WRKSRC}|g" + +conf: + (cd ${PREFIX}/etc && ${PREFIX}/share/examples/noip/no-ip.sh) + ${CHOWN} noip:noip ${PREFIX}/etc/no-ip.conf + ${CHMOD} 0600 ${PREFIX}/etc/no-ip.conf + +.include <bsd.port.mk> |