Skip to content

Commit

Permalink
- use a single VERSION
Browse files Browse the repository at this point in the history
- tweak MASTER_SITES/DESCR
- simplify do-install
- set NO_REGRESS
  • Loading branch information
jasperla committed Apr 12, 2012
1 parent e1ae3a2 commit 6b3ad7d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
27 changes: 14 additions & 13 deletions net/stuntman/Makefile
Expand Up @@ -2,38 +2,39 @@

COMMENT = STUN server implementation RFCs 5389, 5769, and 5780

VERSION = 1.1.1
DISTVERSION = 1_1_1
DISTNAME = stunserver_${DISTVERSION}
PKGNAME = stuntman-${VERSION}
VERSION = 1_1_1
DISTNAME = stunserver_${VERSION}
PKGNAME = stuntman-${VERSION:S/_/./g}
CATEGORIES = net
EXTRACT_SUFX = .tgz

MAINTAINER = Roman Kravchuk <kravchuk.kp@gmail.com>

HOMEPAGE = http://www.stunprotocol.org/

MASTER_SITES = http://www.stunprotocol.org/
MASTER_SITES = ${HOMEPAGE}

# Apache 2.0 license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes

WANTLIB += c crypto m pthread stdc++
WANTLIB += c crypto m pthread stdc++

LIB_DEPENDS = devel/boost
LIB_DEPENDS = devel/boost

MAKE_FLAGS = BOOST_INCLUDE='-I/usr/local/include'
MAKE_FLAGS = BOOST_INCLUDE='-I/usr/local/include'

USE_GMAKE = Yes

WRKDIST = ${WRKDIR}/stunserver
NO_REGRESS = Yes

WRKDIST = ${WRKDIR}/stunserver

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stunserver ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/stunclient ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/stuntestcode ${PREFIX}/sbin
.for s in stunserver stunclient stuntestcode
${INSTALL_PROGRAM} ${WRKSRC}/$s ${PREFIX}/sbin
.endfor

.include <bsd.port.mk>
7 changes: 3 additions & 4 deletions net/stuntman/pkg/DESCR
@@ -1,4 +1,3 @@
STUNTMAN is an open source, high performance STUN server,
implementation of the STUN protocol as specified in
RFCs 5389, 5769, and 5780. It also includes backwards
compatibility for RFC 3489
STUNTMAN is an open source, high performance STUN server, implementation
of the STUN protocol as specified in RFCs 5389, 5769, and 5780. It also
includes backwards compatibility for RFC 3489

0 comments on commit 6b3ad7d

Please sign in to comment.