mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
fc8818719c
PR: 153896 Submitted by: Alex Deiter
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# 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.19
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${RELEASE_MASCOT}-${PORTVERSION:R}
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION:R}-${RELEASE_MASCOT}-${PORTVERSION:E}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= alex.deiter@gmail.com
|
|
COMMENT= UDP-to-HTTP multicast traffic relay daemon
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}-${RELEASE_MASCOT}-${PORTVERSION:E}
|
|
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
|
|
|
|
PLIST_FILES= sbin/udpxy \
|
|
sbin/udpxrec
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${PREFIX}/sbin/
|
|
@${LN} -s udpxy ${PREFIX}/sbin/udpxrec
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_RELEASE) && defined(WITHOUT_LEAN) && defined(WITHOUT_DEBUG)
|
|
ALL_TARGET=release
|
|
.elif defined(WITH_LEAN) && defined(WITHOUT_RELEASE) && defined(WITHOUT_DEBUG)
|
|
ALL_TARGET=lean
|
|
.elif defined(WITH_DEBUG) && defined(WITHOUT_RELEASE) && defined(WITHOUT_LEAN)
|
|
ALL_TARGET=debug
|
|
WITH_DEBUG=yes
|
|
.else
|
|
IGNORE=please run 'make config' again and select one build option
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|