summaryrefslogtreecommitdiff
path: root/comms/zaptel-netbsd/Makefile
blob: 9ed69cfaca989aa91998d331083b95df21d1510a (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
# $NetBSD: Makefile,v 1.6 2008/06/07 17:28:11 riz Exp $
#

DISTNAME=		zaptel-netbsd-20060127
PKGREVISION=		1
CATEGORIES=		comms
MASTER_SITES=		http://www.tastylime.net/netbsd/zaptel/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=	packages@NetBSD.org
HOMEPAGE=	http://www.tastylime.net/netbsd/zaptel/
COMMENT=	The "zaptel" drivers and utils for the Asterisk Software PBX

ONLY_FOR_PLATFORM=	NetBSD-[2-9]*-*
INSTALLATION_DIRS=	lkm

ZAPTEL_KERNEL_ENV?=	# empty
BUILD_DEFS+=		ZAPTEL_KERNEL_ENV
MAKE_ENV+=		ZAPTEL_KERNEL_ENV=${ZAPTEL_KERNEL_ENV:Q}
MAKE_ENV+=		BSDSRCDIR=${BSDSRCDIR}
CONF_FILES=		${PREFIX}/share/examples/zaptel/zaptel.conf \
			${PKG_SYSCONFDIR}/zaptel.conf

RCD_SCRIPTS=		ztcfg

.include "../../mk/bsd.prefs.mk"

.if !exists(${BSDSRCDIR}/sys)
PKG_FAIL_REASON+=	"${PKGNAME} needs kernel sources in ${BSDSRCDIR}."
.endif

.include "../../devel/newt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"