31 lines
613 B
Makefile
31 lines
613 B
Makefile
# $OpenBSD: Makefile,v 1.23 2019/07/12 20:48:44 sthen Exp $
|
|
|
|
COMMENT= PPTP Server
|
|
|
|
V= 1.3.4
|
|
DISTNAME= pptpd-$V
|
|
PKGNAME= poptop-$V
|
|
REVISION= 8
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://poptop.sourceforge.net/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c util
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=poptop/}
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-bsdppp --with-pppd-ip-alloc
|
|
FAKE_FLAGS= DESTDIR=
|
|
USE_GMAKE= Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/poptop
|
|
${INSTALL_DATA} ${WRKSRC}/samples/pptpd.conf \
|
|
${PREFIX}/share/examples/poptop/pptpd.conf-sample
|
|
|
|
.include <bsd.port.mk>
|