# New ports collection makefile for: No-IP Dynamic Update Client # Date created: 28 March 2002 # Whom: Eyal Soha # # $FreeBSD$ # PORTNAME= noip PORTVERSION= 2.1.9 PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://www.no-ip.com/client/linux/ \ CRITICAL MAINTAINER= ehaupt@FreeBSD.org COMMENT= No-IP.com's dynamic DNS update client ALL_TARGET= noip2 SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message USE_RC_SUBR= noip LICENSE= GPLv2 CFLAGS+= -Dbsd_with_getifaddrs USERS= noip GROUPS= noip PLIST_SUB+= USER="${USERS}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR} .endif post-install: @${CAT} ${PKGMESSAGE} conf: (cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C) ${CHOWN} noip:noip ${PREFIX}/etc/no-ip2.conf ${CHMOD} 0600 ${PREFIX}/etc/no-ip2.conf .include