aboutsummaryrefslogtreecommitdiff
path: root/dns/noip/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-03-28 16:54:46 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-03-28 16:54:46 +0000
commitdcab57a368ec1d7503ad5cda8266946212c97933 (patch)
tree47000315d19fabdb17fcf1f9e4acca5c1e61fbea /dns/noip/Makefile
parent3fd80b7558b00cc5d6d0cfa751c0285afff2e0e6 (diff)
downloadports-dcab57a368ec1d7503ad5cda8266946212c97933.tar.gz
ports-dcab57a368ec1d7503ad5cda8266946212c97933.zip
Notes
Diffstat (limited to 'dns/noip/Makefile')
-rw-r--r--dns/noip/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index 88cb08658c84..e51dceb8a4d7 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= noip
PORTVERSION= 2.1.9
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.no-ip.com/client/linux/ \
CRITICAL
@@ -21,9 +22,12 @@ USE_RC_SUBR= noip
LICENSE= GPLv2
-pre-install:
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
- ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+CFLAGS+= -Dbsd_with_getifaddrs
+
+USERS= noip
+GROUPS= noip
+
+PLIST_SUB+= USER="${USERS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin