openbsd-ports/net/poptop/Makefile
naddy 6e8b9c2cb1 * Update to 1.3.0; from new maintainer Giovanni Bechis. GRE is now
automatically enabled at run time.
* Honor CC/CFLAGS.
2008-01-08 16:50:27 +00:00

37 lines
886 B
Makefile

# $OpenBSD: Makefile,v 1.7 2008/01/08 16:50:27 naddy Exp $
COMMENT= PPTP Server
PKGNAME= poptop-1.3.0
DISTNAME= pptpd-1.3.0
CATEGORIES= net
HOMEPAGE= http://www.poptop.org/
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c util
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=poptop/}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-bsdppp --with-pppd-ip-alloc
USE_GMAKE= yes
post-patch:
@perl -pi -e 's,/usr,${PREFIX},g' ${WRKSRC}/pptpctrl.c
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/poptop
${INSTALL_DATA} ${WRKSRC}/samples/pptpd.conf \
${PREFIX}/share/examples/poptop/pptpd.conf-sample
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/poptop/
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${PREFIX}/share/doc/poptop/
.include <bsd.port.mk>