summaryrefslogtreecommitdiff
path: root/net/pppd/Makefile
blob: 6aeda163d06bb75a897651219eac12933d175e14 (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.12 2012/10/23 17:19:00 asau Exp $

DISTNAME=		ppp-${PPPD_VERSION}
PKGNAME=		${DISTNAME:S/ppp/&d/}
PKGREVISION=		2
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.samba.org/pub/ppp/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://ppp.samba.org/
COMMENT=		PPP Daemon

USE_PKGLOCALEDIR=	yes
HAS_CONFIGURE=		yes
USE_TOOLS+=		gmake

ONLY_FOR_PLATFORM+=	NetBSD-*-* Linux-*-* DragonFly*

PKG_SYSCONFSUBDIR=	ppp
CONFIGURE_ENV+=		PREFIX=${PREFIX:Q} PKGSYSCONFDIR=${PKG_SYSCONFDIR:Q}

PPPD_VERSION=	2.4.3
PLIST_SUBST+=	PPPD_VERSION=${PPPD_VERSION:Q}

DESTDIR_VARNAME=	#empty
INSTALL_MAKE_FLAGS+=	DESTDIR=${DESTDIR}${PREFIX}

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