summaryrefslogtreecommitdiff
path: root/net/poptop/Makefile
blob: 2d36b7f9d723c3ba15e4efd461e6bfb07bdf61e1 (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
# New ports collection makefile for:	poptop
# Date created:		04 October 1999
# Whom:			Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=		poptop
PORTVERSION=		1.1.3
PORTREVISION=		1
CATEGORIES=		net
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	poptop
DISTNAME=		pptpd-${PORTVERSION}

MAINTAINER=		ports@freebsd.org

GNU_CONFIGURE=		yes
CONFIGURE_ARGS=		--with-bsdppp

MAN5=			pptpd.conf.5
MAN8=			pptpd.8 pptpctrl.8

pre-patch:
	${RM} ${WRKSRC}/config.cache
	${CP} ${WRKSRC}/our_getopt.h ${WRKSRC}/getopt.h

post-install:
	${INSTALL_DATA} ${WRKSRC}/samples/pptpd.conf \
		${PREFIX}/etc/pptpd.conf.sample
	${INSTALL_SCRIPT} ${FILESDIR}/pptpd.sh \
		${PREFIX}/etc/rc.d/pptpd.sh.sample

.include <bsd.port.mk>