summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-09-15 09:38:26 +0000
committerAlex Kozlov <ak@FreeBSD.org>2012-09-15 09:38:26 +0000
commit3e06b9965f0d0f18ced537c4625661c03ec183af (patch)
treec716ae14a0e4551611705cda7f3c4f9588e483ee /net
parent- Update to 1.33 (diff)
- Update to 1.0.23 [1]
- Convert to new options framework PR: ports/170917 [1] Submitted by: Denis Zaika <i@doct.org.ua> [1]
Notes
Notes: svn path=/head/; revision=304312
Diffstat (limited to 'net')
-rw-r--r--net/udpxy/Makefile29
-rw-r--r--net/udpxy/distinfo4
-rw-r--r--net/udpxy/files/udpxy.in2
3 files changed, 18 insertions, 17 deletions
diff --git a/net/udpxy/Makefile b/net/udpxy/Makefile
index 8793f59d1ef6..c1f4fd098c2c 100644
--- a/net/udpxy/Makefile
+++ b/net/udpxy/Makefile
@@ -6,23 +6,26 @@
#
PORTNAME= udpxy
-PORTVERSION= 1.0.21
+PORTVERSION= 1.0.23
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${RELEASE_MASCOT}-${PORTVERSION:R}
-DISTNAME= ${PORTNAME}.${PORTVERSION}-2-prod
-EXTRACT_SUFX= .tgz
+DISTNAME= ${PORTNAME}.${PORTVERSION}-0-prod
MAINTAINER= alex.deiter@gmail.com
COMMENT= UDP-to-HTTP multicast traffic relay daemon
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-2
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-0
USE_RC_SUBR= udpxy
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
RELEASE_MASCOT= Chipmunk
-OPTIONS= RELEASE "No asserts, no debug symbols, verbose mode on" on \
- LEAN "No asserts, no debug symbols, verbose mode off" off \
- DEBUG "Asserts, debug symbols, verbose mode on" off
+
+OPTIONS_SINGLE= CONF
+OPTIONS_SINGLE_CONF= RELEASE LEAN DEBUG
+RELEASE_DESC= No asserts, no debug symbols, verbose on
+LEAN_DESC= No asserts, no debug symbols, verbose off
+DEBUG_DESC= Asserts, debug symbols, verbose on
+OPTIONS_DEFAULT= RELEASE
PLIST_FILES= sbin/udpxy \
sbin/udpxrec
@@ -31,17 +34,15 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${PREFIX}/sbin/
@${LN} -s udpxy ${PREFIX}/sbin/udpxrec
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_RELEASE) && defined(WITHOUT_LEAN) && defined(WITHOUT_DEBUG)
+.if ${PORT_OPTIONS:MRELEASE}
ALL_TARGET=release
-.elif defined(WITH_LEAN) && defined(WITHOUT_RELEASE) && defined(WITHOUT_DEBUG)
+.elif ${PORT_OPTIONS:MLEAN}
ALL_TARGET=lean
-.elif defined(WITH_DEBUG) && defined(WITHOUT_RELEASE) && defined(WITHOUT_LEAN)
+.elif ${PORT_OPTIONS:MDEBUG}
ALL_TARGET=debug
WITH_DEBUG=yes
-.else
-IGNORE=please run 'make config' again and select one build option
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/udpxy/distinfo b/net/udpxy/distinfo
index 6adbc11d7997..ac3825449995 100644
--- a/net/udpxy/distinfo
+++ b/net/udpxy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (udpxy.1.0.21-2-prod.tgz) = 630ab98c9e1c8248be1b3a3b16efef48e6da439995dbc795700de028138f76eb
-SIZE (udpxy.1.0.21-2-prod.tgz) = 82947
+SHA256 (udpxy.1.0.23-0-prod.tar.gz) = b5b3523f20c82b0249acced317daa65ec1791ceed4e5f8f582ecf79067f41a18
+SIZE (udpxy.1.0.23-0-prod.tar.gz) = 79133
diff --git a/net/udpxy/files/udpxy.in b/net/udpxy/files/udpxy.in
index 4dc359195c9a..d983f1eff450 100644
--- a/net/udpxy/files/udpxy.in
+++ b/net/udpxy/files/udpxy.in
@@ -4,7 +4,7 @@
#
# PROVIDE: udpxy
-# REQUIRE: NETWORKING
+# REQUIRE: DAEMON
# Define these udpxy_* variables in one of these files:
# /etc/rc.conf