aboutsummaryrefslogtreecommitdiffstats
path: root/net/stund/Makefile
blob: a938283b87dff96e795b7e821d8f79c4700ca11b (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
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=   stund
PORTVERSION=    0.96
CATEGORIES= net
MASTER_SITES=   SF/stun/stun/${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION}_Aug13

MAINTAINER= sobomax@FreeBSD.org
COMMENT=    Simple STUN (RFC 3489) server and client

USES=       gmake tar:tgz
USE_RC_SUBR=    stund

MAKE_ENV=   "CXX=${CXX}"

post-extract:
    @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/server ${STAGEDIR}${PREFIX}/sbin/stund
    ${INSTALL_PROGRAM} ${WRKSRC}/client ${STAGEDIR}${PREFIX}/bin/stun_client

.include <bsd.port.mk>