2007-10-23 18:13:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2007/10/23 22:13:38 naddy Exp $
|
2000-12-21 09:02:52 -05:00
|
|
|
# $NetBSD: Makefile,v 1.1.1.1 2000/04/10 01:14:01 jtk Exp $
|
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= PPTP client package for Microsoft VPN servers
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2006-11-12 05:10:09 -05:00
|
|
|
DISTNAME= pptp-1.7.1
|
2007-10-23 18:13:38 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2000-12-21 09:02:52 -05:00
|
|
|
CATEGORIES= net
|
2003-01-24 06:49:21 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
|
2000-12-21 09:02:52 -05:00
|
|
|
|
2003-01-24 06:49:21 -05:00
|
|
|
HOMEPAGE= http://pptpclient.sf.net
|
2000-12-21 09:02:52 -05:00
|
|
|
|
2007-10-23 18:13:38 -04:00
|
|
|
MAINTAINER= Stefan Sperling <stsp@stsp.name>
|
2000-12-21 09:02:52 -05:00
|
|
|
|
2003-01-24 06:49:21 -05:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2000-12-21 09:02:52 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c util
|
2000-12-21 09:02:52 -05:00
|
|
|
|
2005-03-23 19:57:58 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-02-04 09:57:29 -05:00
|
|
|
|
2005-10-01 03:40:33 -04:00
|
|
|
MAKE_ENV+= PPPD=/usr/sbin/ppp
|
|
|
|
CFLAGS+= -DUSER_PPP
|
|
|
|
|
2003-01-24 06:49:21 -05:00
|
|
|
DIRS= Documentation Reference
|
2001-02-04 09:57:29 -05:00
|
|
|
|
2000-12-21 09:02:52 -05:00
|
|
|
post-patch:
|
2003-01-24 06:49:21 -05:00
|
|
|
@cd ${WRKSRC}; sed -e s,PREFIX,${PREFIX}, < \
|
2005-03-23 19:57:58 -05:00
|
|
|
${FILESDIR}/pptp_8 > pptp.8
|
2006-10-03 08:53:50 -04:00
|
|
|
@perl -pi -e "s,PREFIX,${PREFIX}," ${WRKSRC}/USING
|
2003-01-24 06:49:21 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pptp ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pptp.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pptp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/USING ${PREFIX}/share/doc/pptp/
|
|
|
|
@cd ${WRKSRC} && \
|
|
|
|
tar cf - ${DIRS} | (cd ${PREFIX}/share/doc/pptp && tar -xf -)
|
2000-12-21 09:02:52 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|