summaryrefslogtreecommitdiff
path: root/net/udpxy/Makefile
blob: 857038937de5ff5929e62d3d9cb19360c39d2ddd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	net/udpxy
# Date created:				2 January 2009
# Whom:					Alex Deiter <Alex.Deiter@Gmail.COM>
#
# $FreeBSD$
#

PORTNAME=	udpxy
PORTVERSION=	1.0.23
CATEGORIES=	net
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${RELEASE_MASCOT}-${PORTVERSION:R}
DISTNAME=	${PORTNAME}.${PORTVERSION}-0-prod

MAINTAINER=	alex.deiter@gmail.com
COMMENT=	UDP-to-HTTP multicast traffic relay daemon

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-0
USE_RC_SUBR=	udpxy
USE_GMAKE=	yes
RELEASE_MASCOT=	Chipmunk

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

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${PREFIX}/sbin/
	@${LN} -s udpxy ${PREFIX}/sbin/udpxrec

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MRELEASE}
ALL_TARGET=release
.elif ${PORT_OPTIONS:MLEAN}
ALL_TARGET=lean
.elif ${PORT_OPTIONS:MDEBUG}
ALL_TARGET=debug
WITH_DEBUG=yes
.endif

.include <bsd.port.mk>