2002-03-21 16:09:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2002/03/21 21:09:20 espie Exp $
|
2000-12-21 09:02:52 -05:00
|
|
|
# $NetBSD: Makefile,v 1.1.1.1 2000/04/10 01:14:01 jtk Exp $
|
|
|
|
|
2001-04-12 10:27:12 -04:00
|
|
|
COMMENT= 'PPTP client package for Microsoft VPN servers'
|
2000-12-21 09:02:52 -05:00
|
|
|
DISTNAME= pptp-linux-1.0.2
|
|
|
|
PKGNAME= pptp-1.0.2
|
2002-03-21 16:09:16 -05:00
|
|
|
NEED_VERSION= 1.515
|
2000-12-21 09:02:52 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://cag.lcs.mit.edu/~cananian/Synaptics/release/
|
|
|
|
|
2001-07-25 00:17:49 -04:00
|
|
|
HOMEPAGE= http://cag.lcs.mit.edu/~cananian/Projects/PPTP/
|
2000-12-21 09:02:52 -05:00
|
|
|
|
|
|
|
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-04-12 10:27:12 -04:00
|
|
|
# bbaa: workaround for buggy Alcatel ADSL 1000 modems
|
2001-02-04 09:57:29 -05:00
|
|
|
FLAVORS+= bbaa
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mbbaa}
|
2001-04-12 10:27:12 -04:00
|
|
|
# needs a slightly modified patch; backup default patch
|
2001-02-04 09:57:29 -05:00
|
|
|
pre-patch:
|
2001-04-12 10:27:12 -04:00
|
|
|
@cp -p ${PATCHDIR}/patch-pptc_ctrl_c ${PATCHDIR}/patch-pptc_ctrl_c.orig
|
2001-02-04 09:57:29 -05:00
|
|
|
@cp ${FILESDIR}/patch-pptc_ctrl_c ${PATCHDIR}/patch-pptc_ctrl_c
|
|
|
|
.endif
|
|
|
|
|
2000-12-21 09:02:52 -05:00
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC}; sed -e s,PREFIX,${PREFIX}, \
|
2001-04-12 10:27:12 -04:00
|
|
|
< ${FILESDIR}/pptp_8 > pptp.8
|
2000-12-21 09:02:52 -05:00
|
|
|
@cd ${WRKSRC}; sed -e s,PREFIX,${PREFIX}, \
|
2001-04-12 10:27:12 -04:00
|
|
|
< ${FILESDIR}/pptp_reconnect > pptp-reconnect
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mbbaa}
|
|
|
|
# move default patch back
|
|
|
|
post-install:
|
|
|
|
@mv ${PATCHDIR}/patch-pptc_ctrl_c.orig ${PATCHDIR}/patch-pptc_ctrl_c
|
|
|
|
.endif
|
2000-12-21 09:02:52 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|