2010-03-21 06:54:46 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/03/21 10:54:46 jasper Exp $
|
2005-07-16 16:45:39 -04:00
|
|
|
|
2007-06-06 17:12:23 -04:00
|
|
|
COMMENT= bluetooth network libraries
|
2008-11-22 09:05:37 -05:00
|
|
|
DISTNAME= bluetooth-libs-20081122
|
2010-03-21 06:54:46 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2007-06-06 17:12:23 -04:00
|
|
|
SHARED_LIBS= bluetooth 2.0 \
|
2008-11-22 09:05:37 -05:00
|
|
|
sdp 2.1
|
2006-01-06 08:38:06 -05:00
|
|
|
|
2005-07-16 16:45:39 -04:00
|
|
|
CATEGORIES= devel net
|
2007-06-06 17:12:23 -04:00
|
|
|
MAINTAINER= Uwe Stuehler <uwe@openbsd.org>
|
2005-07-16 16:45:39 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2007-06-06 17:12:23 -04:00
|
|
|
MASTER_SITES= http://www.bsdx.de/openbsd/distfiles/
|
2005-07-16 16:45:39 -04:00
|
|
|
|
2007-06-06 17:12:23 -04:00
|
|
|
MAKE_ENV= LIBDIR=${TRUEPREFIX}/lib \
|
|
|
|
MANDIR=${TRUEPREFIX}/man/cat \
|
2006-01-06 08:38:06 -05:00
|
|
|
LIBbluetooth_VERSION=${LIBbluetooth_VERSION} \
|
|
|
|
LIBsdp_VERSION=${LIBsdp_VERSION}
|
2005-12-16 14:29:55 -05:00
|
|
|
FAKE_FLAGS= DEBUGLIBS=No
|
2005-07-16 16:45:39 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2010-03-21 06:54:46 -04:00
|
|
|
# See bsd.lib.mk:162
|
|
|
|
.if ${MACHINE_ARCH:Mmips64*}
|
|
|
|
PKG_ARGS+= -Dno_mips64=0
|
|
|
|
.else
|
|
|
|
PKG_ARGS+= -Dno_mips64=1
|
|
|
|
.endif
|
|
|
|
|
2005-09-06 14:59:19 -04:00
|
|
|
pre-build:
|
2007-06-06 17:12:23 -04:00
|
|
|
@perl -pi -e "s,/etc,${SYSCONFDIR},g" \
|
|
|
|
${WRKSRC}/libbluetooth/*.[ch3] \
|
|
|
|
${WRKSRC}/libsdp/*.[ch3]
|
2005-09-06 14:59:19 -04:00
|
|
|
|
2005-07-16 16:45:39 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libbluetooth/bluetooth.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libsdp/sdp.h ${PREFIX}/include
|
2007-06-06 17:12:23 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bluetooth
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/hosts \
|
|
|
|
${PREFIX}/share/examples/bluetooth
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/protocols \
|
|
|
|
${PREFIX}/share/examples/bluetooth
|
2005-07-16 16:45:39 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|