aboutsummaryrefslogtreecommitdiffstats
path: root/net/pptpclient/Makefile
blob: 1db0f327495d2c5b2423ce62574620830e9a8c41 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    pptpclient
# Date created:             19 June 1999
# Whom:                 John Polstra <jdp@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=       pptpclient
PORTVERSION=        1.7.1
CATEGORIES=     net
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pptpclient
DISTNAME=       pptp-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    PPTP client for establishing a VPN link with an NT server

MAN8=   pptp.8

.include <bsd.port.pre.mk>

MAKE_ARGS=  DEBUG=""
.if ${OSVERSION} < 500041
MAKE_ARGS+= INCLUDE="${CPPFLAGS}" \
        LDFLAGS="${LDFLAGS}"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pptp ${PREFIX}/sbin
    ${MKDIR} ${PREFIX}/share/examples/pptpclient
    ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
    ${INSTALL_DATA} ${FILESDIR}/ppp.conf ${PREFIX}/share/examples/pptpclient
    ${INSTALL_MAN} ${WRKSRC}/pptp.8 ${PREFIX}/man/man8

.include <bsd.port.post.mk>