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
|
2004-01-30 08:40:37 +00:00
|
|
|
PORTVERSION= 2.1.1
|
2006-06-24 01:45:47 +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
|
|
|
|
2004-10-25 13:39:57 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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
|
2002-06-25 09:32:29 +00:00
|
|
|
|
|
|
|
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:
|
2003-10-05 19:59:13 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin
|
2002-06-25 09:32:29 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/noip.sh ${PREFIX}/etc/rc.d
|
|
|
|
.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>
|