blob: 144b43e0bcab29c6218de624b39e77f893cb1ebe (
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
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.16 2001/10/07 13:26:37 tron Exp $
DISTNAME= rp-pppoe-3.3
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE} \
http://roaringpenguin.luky.org/pppoe/
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.roaringpenguin.com/pppoe/
COMMENT= Roaring Penguin's PPP over Ethernet client
CONFLICTS+= mouse_pppoe<20000912nb1
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PPPD=${PPPD}
WRKSRC= ${WRKDIR}/${DISTNAME}/src
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && ${OS_VERSION:M1.[0-4]*} != ""
DEPENDS+= ppp>=2.3.10:../ppp
PPPD= ${LOCALBASE}/sbin/pppd
.else
PPPD= /usr/sbin/pppd
.endif
post-build:
${SED} -e 's#$${PREFIX}#${PREFIX}#g' <${FILESDIR}/pppoe.sh \
>${WRKDIR}/pppoe.sh
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rp-pppoe
cd ${WRKSRC}/../configs && \
${INSTALL_DATA} pppoe.conf pppoe-server-options \
${PREFIX}/share/examples/rp-pppoe
${INSTALL_SCRIPT} ${WRKDIR}/pppoe.sh ${PREFIX}/etc/rc.d/pppoe
.include "../../mk/bsd.pkg.mk"
|