2000-11-08 16:26:36 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2000/11/08 15:26:36 tron Exp $
|
2000-11-07 18:26:58 +01:00
|
|
|
|
|
|
|
DISTNAME= userppp-001107
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.awfulhak.org/~brian/
|
|
|
|
DISTFILES= ppp-001107.src.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= ad@netbsd.org
|
|
|
|
HOMEPAGE= http://www.awfulhak.org/~brian/
|
|
|
|
|
2000-11-08 16:26:36 +01:00
|
|
|
MANCOMPRESSED_IF_MANZ= YES
|
2000-11-07 18:26:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ppp-001107
|
|
|
|
|
2000-11-07 19:11:46 +01:00
|
|
|
post-patch:
|
|
|
|
(cd ${WRKSRC}; \
|
|
|
|
for i in ppp/ppp.8 pppctl/pppctl.8; do \
|
|
|
|
${CP} $$i $$i.bak; \
|
|
|
|
${SED} s@/etc/ppp@${PREFIX}/etc/ppp@ < $$i.bak | \
|
|
|
|
${SED} s@/usr/share@${PREFIX}/share@ > $$i; \
|
|
|
|
done)
|
|
|
|
|
2000-11-07 18:26:58 +01:00
|
|
|
pre-install:
|
|
|
|
${GREP} "^network:" /etc/group >/dev/null || \
|
|
|
|
/usr/sbin/groupadd -g 40 network
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|