freebsd-ports/net/pptpclient/Makefile
Tim Bishop b1f5eb34b4 Avoid running /bin/ip which doesn't exist on FreeBSD.
I get the following error every time I run pptp:

/bin/ip: not found
/bin/ip: not found

Since /bin/ip doesn't exist on FreeBSD it doesn't make sense to try
and run it, and pptp appears to function without it (this change
certainly won't make things any worse). I've done a minimally
invasive change which just makes it run /usr/bin/true instead.
2015-02-05 19:37:20 +00:00

33 lines
897 B
Makefile

# Created by: John Polstra <jdp@FreeBSD.org>
# $FreeBSD$
PORTNAME= pptpclient
PORTVERSION= 1.8.0
PORTREVISION= 1
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" IP="/usr/bin/true"
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>