summaryrefslogtreecommitdiff
path: root/security/dsvpn/Makefile
blob: ac18097488dbc43c04bf9c9bc5c40932625d2b10 (plain)
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

PORTNAME=	dsvpn
PORTVERSION=	0.1.4
CATEGORIES=	security net net-vpn

MAINTAINER=	egypcio@FreeBSD.org
COMMENT=	Dead Simple VPN

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	jedisct1

USE_RC_SUBR=	${PORTNAME}
PLIST_FILES=	sbin/${PORTNAME}
SUB_FILES=	pkg-message

post-patch:
	${REINPLACE_CMD} 's/^CFLAGS.*/CFLAGS\?\=${CFLAGS} ${OPTFLAGS}/g' \
	  ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin

.include <bsd.port.mk>