openbsd-ports/net/pptp/Makefile
sthen bcda816348 - remove a patch to zap contents of a file which is already not being
built due to a Makefile patch. From Brad, ok stsp@ (maintainer).

- don't use a header which is only needed because of the unused file,
from/commit req'd by stsp@.

shouldn't affect the package, but bumped for safety.
2010-07-14 11:04:15 +00:00

39 lines
916 B
Makefile

# $OpenBSD: Makefile,v 1.24 2010/07/14 11:04:15 sthen Exp $
# $NetBSD: Makefile,v 1.1.1.1 2000/04/10 01:14:01 jtk Exp $
COMMENT= PPTP client package for Microsoft VPN servers
DISTNAME= pptp-1.7.2
REVISION= 3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
HOMEPAGE= http://pptpclient.sf.net
MAINTAINER= Stefan Sperling <stsp@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c util
NO_REGRESS= Yes
MAKE_ENV+= PPPD=/usr/sbin/ppp
CFLAGS+= -DUSER_PPP
post-patch:
@cd ${WRKSRC}; sed -e s,PREFIX,${PREFIX}, < \
${FILESDIR}/pptp_8 > pptp.8
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}/PROTOCOL-SECURITY ${PREFIX}/share/doc/pptp/
.include <bsd.port.mk>