aboutsummaryrefslogtreecommitdiffstats
path: root/security/n2n/Makefile
blob: 71cdfdd454b94704a7c998f43660284eacdaa254 (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
26
27
28
29
30
31
32
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   n2n
PORTVERSION=    2.4
CATEGORIES= security net

MAINTAINER= farrokhi@FreeBSD.org
COMMENT=    Layer Two Peer-to-peer VPN

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       gmake ssl

USE_GITHUB= yes
GH_ACCOUNT= ntop

PLIST_FILES=    sbin/edge \
        sbin/supernode \
        man/man1/supernode.1.gz \
        man/man7/n2n.7.gz \
        man/man8/edge.8.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/edge ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_PROGRAM} ${WRKSRC}/supernode ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/edge.8 ${STAGEDIR}${MANPREFIX}/man/man8
    ${INSTALL_MAN} ${WRKSRC}/supernode.1 ${STAGEDIR}${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/n2n.7 ${STAGEDIR}${MANPREFIX}/man/man7

.include <bsd.port.mk>