freebsd-ports/net/mlvpn/Makefile
Koichiro Iwao 222e095f2a Implement new virtual category: net-vpn for VPN related ports
based on discussion at ports@ [1]. As VPN softwares are put in different
physical category net and security. This is a little bit confusing. Let's
give them new virtual category net-vpn.

[1] https://lists.freebsd.org/pipermail/freebsd-ports/2019-April/115915.html

PR:		239395
Submitted by:	myself
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D21174
2019-08-14 03:26:09 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= mlvpn
PORTVERSION= 2.3.1
PORTREVISION= 2
CATEGORIES= net net-vpn
MAINTAINER= olivier@FreeBSD.org
COMMENT= Multi-link VPN
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libev.so:devel/libev \
libsodium.so:security/libsodium
USE_GITHUB= yes
GH_PROJECT= MLVPN
GH_ACCOUNT= zehome
USES= autoreconf libtool pkgconfig localbase
GNU_CONFIGURE= yes
USERS= mlvpn
GROUPS= mlvpn
USE_RC_SUBR= mlvpn
OPTIONS_DEFINE= CONTROL
CONTROL_DESC= Enable UNIX socket/HTTP json remote control API
OPTIONS_DEFAULT= CONTROL
CONTROL_CONFIGURE_OFF= --disable-control
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.conf.5 ${STAGEDIR}${PREFIX}/man/man5
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/examples/${PORTNAME}.conf.in ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/mlvpn_updown.sh.in ${STAGEDIR}${ETCDIR}/mlvpn_updown.sh
.include <bsd.port.mk>