pkgsrc/net/rp-l2tp/Makefile
jlam 585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00

23 lines
637 B
Makefile

# $NetBSD: Makefile,v 1.4 2005/05/22 20:08:26 jlam Exp $
#
DISTNAME= rp-l2tp-0.3
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rp-l2tp/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/rp-l2tp/
COMMENT= User-space implementation of layer 2 tunnelling protocol
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
USE_TOOLS+= gmake
post-patch:
for f in l2tp.conf.5 l2tpd.8; do \
${MV} ${WRKSRC}/man/$$f ${WRKSRC}/man/$$f.in && \
${SED} -e 's|@SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
${WRKSRC}/man/$$f.in > ${WRKSRC}/man/$$f; \
done
.include "../../mk/bsd.pkg.mk"