summaryrefslogtreecommitdiff
path: root/comms/zaptel-netbsd/Makefile
blob: 7060d9f56e4be37d6649a9716cce88fb6d9a7981 (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.5 2008/01/06 18:58:50 rillig Exp $
#

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

MAINTAINER=	riz@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"