summaryrefslogtreecommitdiff
path: root/net/userppp/Makefile
blob: edbbdf4fa6cea32c69abd56b394da1bf7547c0a3 (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
29
# $NetBSD: Makefile,v 1.8 2001/03/26 21:26:25 zuntum Exp $

DISTNAME=		ppp-001107.src
PKGNAME=		userppp-001107
CATEGORIES=		net
MASTER_SITES=		http://www.netbsd.org/~ad/

MAINTAINER=		ad@netbsd.org
HOMEPAGE=		http://www.awfulhak.org/~brian/
COMMENT=		User-PPP package as found in FreeBSD and OpenBSD

ONLY_FOR_PLATFORM=	NetBSD-*-*

MANCOMPRESSED_IF_MANZ=	YES
WRKSRC=			${WRKDIR}/${DISTNAME:S/.src//}

post-patch:
	(cd ${WRKSRC};							\
	for i in ppp/ppp.8 pppctl/pppctl.8; do \
		${SED}	-e "s,/etc/ppp,${PREFIX}/etc/ppp,"		\
			-e "s,/usr/share,${PREFIX}/share,"		\
			$$i > $$i.done; ${MV} $$i.done $$i;		\
	done)

pre-install:
	${GREP} "^network:" /etc/group >/dev/null || \
	    /usr/sbin/groupadd -g 40 network

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