1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/net/poptop/Makefile
Emanuel Haupt 67bd9e3586 - Fix a segmentation fault
- Bump PORTREVISION
- Respect CC and CFLAGS

PR:		129042
Submitted by:	zlopi.ru <zlopi.ru@gmail.com>
2008-11-27 22:36:52 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: poptop
# Date created: 04 October 1999
# Whom: Nick Sayer <nsayer@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= poptop
PORTVERSION= 1.3.4
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= pptpd-${PORTVERSION:S/.b/-b/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Windows 9x compatible PPTP (VPN) server
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
MAKE_ENV+= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}"
USE_RC_SUBR= pptpd.sh
MAN5= pptpd.conf.5
MAN8= pptpd.8 pptpctrl.8
.if !defined(WITH_KERNPPP)
CONFIGURE_ARGS+= --with-bsdppp
.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.mk>