forked from Lainports/freebsd-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
34 lines
887 B
Makefile
34 lines
887 B
Makefile
# Created by: John Polstra <jdp@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pptpclient
|
|
DISTVERSION= 1.10.0
|
|
CATEGORIES= net net-vpn
|
|
MASTER_SITES= SF/${PORTNAME}/pptp/pptp-${PORTVERSION}
|
|
DISTNAME= pptp-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= PPTP client for establishing a VPN link with an NT server
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= perl5
|
|
USE_RC_SUBR= pptp
|
|
CFLAGS+= -DUSER_PPP
|
|
MAKE_ARGS= CC="${CC}" DEBUG="" OPTIMIZE="${CFLAGS}" PPPD=/usr/sbin/ppp
|
|
|
|
PLIST_FILES= man/man8/pptp.8.gz sbin/pptp
|
|
PORTEXAMPLES= README ppp.conf
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pptp ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/pptp.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/README ${FILESDIR}/ppp.conf ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|