2002-06-25 09:32:29 +00:00
|
|
|
# New ports collection makefile for: No-IP Dynamic Update Client
|
|
|
|
# Date created: 28 March 2002
|
|
|
|
# Whom: Eyal Soha <esoha@attbi.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= noip
|
2007-12-28 16:58:50 +00:00
|
|
|
PORTVERSION= 2.1.7
|
2008-01-10 13:21:22 +00:00
|
|
|
PORTREVISION= 2
|
2003-09-05 04:54:37 +00:00
|
|
|
CATEGORIES= dns
|
2006-04-29 09:19:24 +00:00
|
|
|
MASTER_SITES= http://www.no-ip.com/client/linux/ \
|
|
|
|
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
|
2002-06-25 09:32:29 +00:00
|
|
|
|
2006-10-31 14:55:54 +00:00
|
|
|
MAINTAINER= kay.abendroth@raxion.net
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= No-IP.com's dynamic DNS update client
|
2002-06-25 09:32:29 +00:00
|
|
|
|
2003-10-05 19:59:13 +00:00
|
|
|
ALL_TARGET= noip2
|
2006-04-01 12:58:18 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2008-01-03 14:33:11 +00:00
|
|
|
USE_RC_SUBR= noip
|
2002-06-25 09:32:29 +00:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
|
|
|
|
${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
|
|
|
|
|
|
do-install:
|
2003-10-05 19:59:13 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin
|
2002-06-25 09:32:29 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-01-09 22:23:50 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
|
2002-06-25 09:32:29 +00:00
|
|
|
.endif
|
2006-04-01 12:58:18 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2002-06-25 09:32:29 +00:00
|
|
|
|
|
|
|
conf:
|
2003-10-05 19:59:13 +00:00
|
|
|
(cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C)
|
|
|
|
${CHOWN} noip:noip ${PREFIX}/etc/no-ip2.conf
|
|
|
|
${CHMOD} 0600 ${PREFIX}/etc/no-ip2.conf
|
2002-06-25 09:32:29 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|