summaryrefslogtreecommitdiff
path: root/net/userppp/Makefile
diff options
context:
space:
mode:
authorad <ad>2000-11-07 18:11:46 +0000
committerad <ad>2000-11-07 18:11:46 +0000
commit082a7b25d548ce56a378981320cc8aed7190b518 (patch)
treec7d6e3dc32d1d96e0ac6362f5924b99c870ee758 /net/userppp/Makefile
parent99fe038f67b75fda91a0fce2bc88bed228edca85 (diff)
downloadpkgsrc-082a7b25d548ce56a378981320cc8aed7190b518.tar.gz
- On second thought, put config files in ${PREFIX}/etc/ppp.
- Update man page references to match file locations.
Diffstat (limited to 'net/userppp/Makefile')
-rw-r--r--net/userppp/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/userppp/Makefile b/net/userppp/Makefile
index ddfca668eee..043005da398 100644
--- a/net/userppp/Makefile
+++ b/net/userppp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
+# $NetBSD: Makefile,v 1.2 2000/11/07 18:11:46 ad Exp $
DISTNAME= userppp-001107
CATEGORIES= net
@@ -10,6 +10,14 @@ HOMEPAGE= http://www.awfulhak.org/~brian/
WRKSRC= ${WRKDIR}/ppp-001107
+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)
+
pre-install:
${GREP} "^network:" /etc/group >/dev/null || \
/usr/sbin/groupadd -g 40 network