summaryrefslogtreecommitdiff
path: root/net/userppp/Makefile
blob: 8d9eb4a5404c6d3a223767f878f367db30dcdf79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.4 2000/11/08 15:59:16 tron Exp $

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/

ONLY_FOR_PLATFORM=	NetBSD-*-*

MANCOMPRESSED_IF_MANZ=	YES
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

.include "../../mk/bsd.pkg.mk"