summaryrefslogtreecommitdiff
path: root/comms/bthfp/Makefile
blob: def6623b8afaa452f4366ea8b99b4a7cfb2635ec (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
# $NetBSD: Makefile,v 1.11 2015/01/01 09:32:19 dholland Exp $

DISTNAME=		bthfp-0.1
PKGREVISION=		1
CATEGORIES=		comms
MASTER_SITES=		http://www.NetBSD.org/~plunky/
DISTFILES=		bthfp-0.1.tar.gz

MAINTAINER=		plunky@NetBSD.org
COMMENT=		Bluetooth Handsfree Profile
LICENSE=		modified-bsd

ONLY_FOR_PLATFORM=	NetBSD-*-*
NOT_FOR_PLATFORM=	NetBSD-[0-3].*-*

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

USE_BSD_MAKEFILE=	yes

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

# This uses the older ServiceDiscovery API
.if (${OPSYS} == "NetBSD" && \
    (!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6-9].*)))
MAKE_ENV+=	HAVE_LIBSDP=no
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bthfp ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/bthfp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

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