pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/openobex Linux fixes:
details: https://anonhg.NetBSD.org/pkgsrc/rev/d05b0d26ea26
branches: trunk
changeset: 616256:d05b0d26ea26
user: sbd <sbd%pkgsrc.org@localhost>
date: Thu Mar 21 06:53:36 2013 +0000
description:
Linux fixes:
1) Install udev 60-openobex.rules config file.
2) Add Linux plist entries.
diffstat:
comms/openobex/Makefile | 17 ++++++++++++++++-
comms/openobex/PLIST.Linux | 3 +++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 465266c2fdef -r d05b0d26ea26 comms/openobex/Makefile
--- a/comms/openobex/Makefile Thu Mar 21 06:49:12 2013 +0000
+++ b/comms/openobex/Makefile Thu Mar 21 06:53:36 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2013/03/21 06:46:42 sbd Exp $
+# $NetBSD: Makefile,v 1.23 2013/03/21 06:53:36 sbd Exp $
#
DISTNAME= openobex-1.7-Source
@@ -18,5 +18,20 @@
PKGCONFIG_OVERRIDE= openobex.pc.in
+.include "../../mk/bsd.prefs.mk"
+
+EGDIR= share/examples/openobex
+
+.if ${OPSYS} == "Linux"
+INSTALLATION_DIRS+= ${EGDIR}
+MAKE_DIRS+= /etc/udev /etc/udev/rules.d
+CONF_FILES+= ${EGDIR}/60-openobex.rules \
+ /etc/udev/rules.d/60-openobex.rules
+
+post-install:
+ ${MV} ${DESTDIR}/lib/udev/rules.d/60-openobex.rules \
+ ${DESTDIR}${PREFIX}/${EGDIR}/60-openobex.rules
+.endif
+
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 465266c2fdef -r d05b0d26ea26 comms/openobex/PLIST.Linux
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/openobex/PLIST.Linux Thu Mar 21 06:53:36 2013 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2013/03/21 06:53:37 sbd Exp $
+sbin/obex-check-device
+share/examples/openobex/60-openobex.rules
Home |
Main Index |
Thread Index |
Old Index