summaryrefslogtreecommitdiff
path: root/net/rp-pppoe/Makefile
blob: 88222b525b256f4a2571c05265ef772c69803752 (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
# $NetBSD: Makefile,v 1.39 2010/02/19 18:41:39 joerg Exp $

DISTNAME=	rp-pppoe-3.8
PKGREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://www.roaringpenguin.com/files/download/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.roaringpenguin.com/products/pppoe
COMMENT=	Roaring Penguin's PPP over Ethernet client

PKG_DESTDIR_SUPPORT=	user-destdir

NOT_FOR_PLATFORM+=	Interix-*-* # no userland protocol stack support

CONFLICTS+=	mouse_pppoe<20000912nb1

USE_TOOLS+=	id
GNU_CONFIGURE=	YES
CONFIGURE_DIRS=	src
CONFIGURE_ENV+=	PPPD=${PPPD:Q}
CONFIGURE_ENV+=	ID=${TOOLS_ID:Q}
MAKE_ENV+=	OPSYS=${OPSYS}
BUILD_DIRS=	src

RCD_SCRIPTS=	pppoe

INSTALLATION_DIRS+=	share/examples/rp-pppoe

INSTALL_MAKE_FLAGS+=	RPM_INSTALL_ROOT=${DESTDIR}

post-install:
	cd ${WRKSRC}/configs && \
	${INSTALL_DATA} pppoe.conf pppoe-server-options \
	    ${DESTDIR}${PREFIX}/share/examples/rp-pppoe

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