2003-06-08 12:36:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/06/08 10:36:17 abs Exp $
|
2000-11-07 18:26:58 +01:00
|
|
|
|
2000-11-08 17:04:54 +01:00
|
|
|
DISTNAME= ppp-001107.src
|
|
|
|
PKGNAME= userppp-001107
|
2003-06-08 12:36:17 +02:00
|
|
|
PKGREVISION= 1
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
|
2000-11-07 18:26:58 +01:00
|
|
|
CATEGORIES= net
|
2000-12-17 22:11:49 +01:00
|
|
|
MASTER_SITES= http://www.netbsd.org/~ad/
|
2000-11-07 18:26:58 +01:00
|
|
|
|
|
|
|
MAINTAINER= ad@netbsd.org
|
|
|
|
HOMEPAGE= http://www.awfulhak.org/~brian/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= User-PPP package as found in FreeBSD and OpenBSD
|
2000-11-07 18:26:58 +01:00
|
|
|
|
2000-11-08 16:59:16 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
|
2000-11-08 16:26:36 +01:00
|
|
|
MANCOMPRESSED_IF_MANZ= YES
|
2000-11-07 18:26:58 +01:00
|
|
|
|
2003-06-08 12:36:17 +02:00
|
|
|
CFLAGS+= -fno-strict-aliasing
|
|
|
|
|
2000-11-07 19:11:46 +01:00
|
|
|
post-patch:
|
2001-03-26 23:26:25 +02:00
|
|
|
(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)
|
2000-11-07 19:11:46 +01:00
|
|
|
|
2002-08-12 14:14:40 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2000-11-07 18:26:58 +01:00
|
|
|
|
2002-08-12 14:14:40 +02:00
|
|
|
USERPPP_GROUP?= network
|
|
|
|
BUILD_DEFS+= USERPPP_GROUP
|
|
|
|
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2002-08-12 14:14:40 +02:00
|
|
|
PKG_GROUPS= ${USERPPP_GROUP}
|
|
|
|
|
2000-11-07 18:26:58 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|