mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
ddc70f06b2
- Stage support PR: ports/185711 Submitted by: KATO Tsuguru
32 lines
858 B
Makefile
32 lines
858 B
Makefile
# Created by: John Polstra <jdp@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pptpclient
|
|
PORTVERSION= 1.8.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/${PORTNAME}/pptp/pptp-${PORTVERSION}
|
|
DISTNAME= pptp-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PPTP client for establishing a VPN link with an NT server
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
USES= perl5
|
|
MAKE_ARGS= CC="${CC}" OPTIMIZE="${CFLAGS}" DEBUG="" PPPD="/usr/sbin/ppp"
|
|
CFLAGS+= -DUSER_PPP
|
|
|
|
PLIST_FILES= sbin/pptp man/man8/pptp.8.gz
|
|
PORTEXAMPLES= README ppp.conf
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pptp ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/README ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/ppp.conf ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/pptp.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|