1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net/poptop/Makefile
Sam Lawrance 9969531d09 Update to 1.2.3
PR:		ports/88260
Submitted by:	Serge Maslov <serge@maslov.biz>
Approved by:	Oleg M. Golovanov <olmi@rentech.ru> (maintainer, timeout 26 days)
2005-11-28 12:44:11 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: poptop
# Date created: 04 October 1999
# Whom: Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= poptop
PORTVERSION= 1.2.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= pptpd-${PORTVERSION:S/.b/-b/}
MAINTAINER= olmi@rentech.ru
COMMENT= Windows 9x compatible PPTP (VPN) server
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_RC_SUBR= pptpd.sh
MAN5= pptpd.conf.5
MAN8= pptpd.8 pptpctrl.8
.if !defined(WITH_KERNPPP)
CONFIGURE_ARGS+= --with-bsdppp
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
USE_GETOPT_LONG= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pptpctrl.c
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pptpd.8
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pptpd.conf.5
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/pptpd.conf \
${PREFIX}/etc/pptpd.conf.sample
.include <bsd.port.post.mk>