summaryrefslogtreecommitdiff
path: root/comms/openobex/Makefile
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2009-08-07 12:18:33 +0000
committerplunky <plunky@pkgsrc.org>2009-08-07 12:18:33 +0000
commit59faa7b9f62c47e13479d8437de33da4c73fa816 (patch)
tree156ccf6dd5a275ce6ca151b5c0b36b895b2e7ffc /comms/openobex/Makefile
parented1c333e162bfbf9826ba7a56a0bb4ca57ad8cf8 (diff)
downloadpkgsrc-59faa7b9f62c47e13479d8437de33da4c73fa816.tar.gz
update to openobex 1.5,
Bluetooth detection on BSD is much improved so the patches are no longer required. They got it wrong though, so one patch added (I also fed that upstream) while here, include LICENSE=gnu-lgpl-v2 update HOMEPAGE=http://www.openobex.org/
Diffstat (limited to 'comms/openobex/Makefile')
-rw-r--r--comms/openobex/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index 523e42a16ad..1549e11cec1 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.17 2009/03/20 19:42:20 hasso Exp $
+# $NetBSD: Makefile,v 1.18 2009/08/07 12:18:33 plunky Exp $
#
-DISTNAME= openobex-1.3
-PKGREVISION= 2
+DISTNAME= openobex-1.5
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://openobex.triq.net/
+HOMEPAGE= http://www.openobex.org/
COMMENT= Implementation of the Object Exchange (OBEX) protocol
+LICENSE= gnu-lgpl-v2
+
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
@@ -18,17 +19,6 @@ USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE= openobex.pc.in
-.include "../../mk/bsd.prefs.mk"
-
-.if ((${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h)) || ${OPSYS} == "DragonFly")
-SUBST_CLASSES+= bt
-SUBST_STAGE.bt= post-patch
-SUBST_FILES.bt= include/obex.h
-SUBST_SED.bt= -e "s,\#ifndef SOL_RFCOMM,\#if defined(__NetBSD__) || defined(__DragonFly__),"
-SUBST_SED.bt+= -e "s,typedef char\* bdaddr_t\;,\#include \<bluetooth.h\>,"
-SUBST_MESSAGE.bt= Fixing bluetooth detection.
-.endif
-
post-patch:
cd ${WRKSRC} && autoconf