c4096e6659
If we need to make an exception we can do it and properly document the reason but by default we should just use the default login class. rc.d uses daemon or the login class provided in login.conf.d so this has no impact there. discussed with sthen@, tb@ and robert@ praying that my grep/sed skills did not break anything and still believing in portbump :-)
40 lines
849 B
Makefile
40 lines
849 B
Makefile
COMMENT = STUN server implementing RFCs 5389, 5769, and 5780
|
|
|
|
VERSION = 1.2.16
|
|
DISTNAME = stunserver-${VERSION}
|
|
PKGNAME = stuntman-${VERSION}
|
|
CATEGORIES = telephony net
|
|
EXTRACT_SUFX = .tgz
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = http://www.stunprotocol.org/
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
# Apache 2.0 license
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += c crypto m pthread ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
BUILD_DEPENDS = devel/boost
|
|
|
|
MAKE_FLAGS = BOOST_INCLUDE='-I${LOCALBASE}/include' \
|
|
FLAVOR_FLAGS='${CXXFLAGS} -Wno-unknown-pragmas -DHAVE_ARC4RANDOM' \
|
|
CXX="${CXX}"
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
WRKDIST = ${WRKDIR}/stunserver
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; ${INSTALL_PROGRAM} stunserver stunclient ${PREFIX}/sbin
|
|
cd ${WRKSRC}/resources/; ${INSTALL_MAN} stunclient.1 stunserver.1 \
|
|
${PREFIX}/man/man1
|
|
|
|
do-test:
|
|
${WRKSRC}/stuntestcode
|
|
|
|
.include <bsd.port.mk>
|