2008-02-24 16:53:37 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2008/02/24 21:53:37 uwe Exp $
|
2005-07-16 16:45:39 -04:00
|
|
|
|
2007-06-06 17:12:23 -04:00
|
|
|
COMMENT= bluetooth network libraries
|
2008-02-24 16:53:37 -05:00
|
|
|
DISTNAME= bluetooth-libs-20080217
|
2007-06-06 17:12:23 -04:00
|
|
|
SHARED_LIBS= bluetooth 2.0 \
|
|
|
|
sdp 2.0
|
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
|
|
|
|
|
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>
|