mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
37dccdd7a1
Changelog: * Update to latest 1.0-24.1 * Switch upstream fro SF to GH (pcherenkov) * Add LICENSE * Install manpages * Remove unneeded patch PR: 242069 Submitted by: <timp87@gmail.com> Approved by: <alex.deiter@gmail.com> (maintainer)
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# Created by: Alex Deiter <Alex.Deiter@Gmail.COM>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= udpxy
|
|
DISTVERSION= 1.0-24.1
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= alex.deiter@gmail.com
|
|
COMMENT= UDP-to-HTTP multicast traffic relay daemon
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gmake
|
|
USE_RC_SUBR= udpxy
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pcherenkov
|
|
WRKSRC_SUBDIR= 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 \
|
|
man/man1/udpxy.1.gz \
|
|
man/man1/udpxrec.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${STAGEDIR}${PREFIX}/sbin
|
|
${LN} -s udpxy ${STAGEDIR}${PREFIX}/sbin/udpxrec
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/udpxy.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/udpxrec.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
|
|
.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>
|