2009-05-19 10:59:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2009/05/19 08:59:05 wiz Exp $
|
2006-12-07 21:29:10 +01:00
|
|
|
|
|
|
|
DISTNAME= bthfp-0.1
|
|
|
|
CATEGORIES= comms
|
|
|
|
MASTER_SITES= http://homepages.rya-online.net/plunky/
|
|
|
|
DISTFILES= bthfp-0.1.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= plunky@rya-online.net
|
|
|
|
COMMENT= Bluetooth Handsfree Profile
|
2009-05-07 20:01:22 +02:00
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2006-12-07 21:29:10 +01:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-[4-9].*-*
|
|
|
|
|
2008-03-03 06:33:32 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2006-12-07 21:29:10 +01:00
|
|
|
|
2008-03-03 06:33:32 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2006-12-07 21:29:10 +01:00
|
|
|
|
2008-06-21 22:47:28 +02:00
|
|
|
USE_BSD_MAKEFILE= yes
|
|
|
|
|
2009-05-12 16:36:28 +02:00
|
|
|
.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
|
2009-05-07 19:59:37 +02:00
|
|
|
|
2006-12-07 21:29:10 +01:00
|
|
|
do-install:
|
2008-03-03 06:33:32 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bthfp ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bthfp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2006-12-07 21:29:10 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|