aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorAlexander Logvinov <avl@FreeBSD.org>2009-10-12 09:41:50 +0000
committerAlexander Logvinov <avl@FreeBSD.org>2009-10-12 09:41:50 +0000
commit1bf8a74fbaec64d7a2c08b1204a134143a2cf7f5 (patch)
treeb802cf57663c540940ae48a479db7c266622e6c5 /palm
parent230b034a606b20a8790170ede6e9929748b67bab (diff)
downloadports-1bf8a74fbaec64d7a2c08b1204a134143a2cf7f5.tar.gz
ports-1bf8a74fbaec64d7a2c08b1204a134143a2cf7f5.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/synce-hal/Makefile17
-rw-r--r--palm/synce-hal/distinfo6
-rw-r--r--palm/synce-hal/files/patch-configure20
-rw-r--r--palm/synce-hal/pkg-plist11
4 files changed, 41 insertions, 13 deletions
diff --git a/palm/synce-hal/Makefile b/palm/synce-hal/Makefile
index 650a9baa7f3f..f919733a83c5 100644
--- a/palm/synce-hal/Makefile
+++ b/palm/synce-hal/Makefile
@@ -5,10 +5,10 @@
# $FreeBSD$
PORTNAME= hal
-PORTVERSION= 0.13.1
+PORTVERSION= 0.14
PORTEPOCH= 1
CATEGORIES= palm
-MASTER_SITES= SF/synce/SynCE/0.13
+MASTER_SITES= SF/synce/SynCE/${PORTVERSION}
PKGNAMEPREFIX= synce-
DISTNAME= synce-hal-${PORTVERSION}
@@ -24,14 +24,11 @@ LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
USE_ICONV= yes
USE_PYTHON_RUN= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE} --with-hal-addon-dir=${PREFIX}/libexec --disable-bluetooth-support
+CONFIGURE_ARGS+=--with-hal-addon-dir=${PREFIX}/libexec \
+ --disable-bluetooth-support
-PLIST_FILES= libexec/hal-dccm \
- libexec/synce-serial-chat \
- libexec/hal-synce-rndis \
- libexec/hal-synce-serial \
- share/synce-hal/dhclient.conf \
- share/hal/fdi/policy/20thirdparty/10-synce.fdi
+if ${OSVERSION} >= 800074
+IGNORE= requires pppd
+.endif
-PLIST_DIRS= share/synce-hal
.include <bsd.port.mk>
diff --git a/palm/synce-hal/distinfo b/palm/synce-hal/distinfo
index b8cd5023a570..8e1e341cdee3 100644
--- a/palm/synce-hal/distinfo
+++ b/palm/synce-hal/distinfo
@@ -1,3 +1,3 @@
-MD5 (synce-hal-0.13.1.tar.gz) = bf5d36ed73d6db6bdb310410c294a124
-SHA256 (synce-hal-0.13.1.tar.gz) = c80e5db965cf0477e01aa6570c6d487e7840482294c0a4b59850f4da41f8a741
-SIZE (synce-hal-0.13.1.tar.gz) = 312987
+MD5 (synce-hal-0.14.tar.gz) = 1c3842c2361bbefc92525a431312516f
+SHA256 (synce-hal-0.14.tar.gz) = 891d6ece1a55e1176daff116aabc3912c6296c4bd035ce9335730d70384ae2ab
+SIZE (synce-hal-0.14.tar.gz) = 321379
diff --git a/palm/synce-hal/files/patch-configure b/palm/synce-hal/files/patch-configure
new file mode 100644
index 000000000000..679580d384c5
--- /dev/null
+++ b/palm/synce-hal/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2009-10-03 21:00:04.000000000 +1000
++++ configure 2009-10-03 21:00:46.000000000 +1000
+@@ -12270,7 +12270,7 @@
+ if test "x${with_hal_addon_dir}" = "xno"; then
+ hal_addon_dir="`pkg-config --variable=libdir hal`/hal/scripts"
+
+- hald_test_output=`hald --daemon=no 2>&1 | grep 'allowed paths' | grep "$hal_addon_dir"`
++ hald_test_output=`echo "$hal_addon_dir"`
+ if test $? -ne 0
+ then
+ { { $as_echo "$as_me:$LINENO: error: Automatically determined hal script location ${hal_addon_dir} not in allowed paths, use --with-hal-addon-dir" >&5
+@@ -12282,7 +12282,7 @@
+ else
+ hal_addon_dir="$with_hal_addon_dir"
+
+- hald_test_output=`hald --daemon=no 2>&1 | grep 'allowed paths' | grep "$hal_addon_dir"`
++ hald_test_output=`echo "$hal_addon_dir"`
+ if test $? -ne 0
+ then
+ { $as_echo "$as_me:$LINENO: WARNING: Specified hal script location ${hal_addon_dir} not in allowed paths" >&5
diff --git a/palm/synce-hal/pkg-plist b/palm/synce-hal/pkg-plist
new file mode 100644
index 000000000000..4a2100e88ebe
--- /dev/null
+++ b/palm/synce-hal/pkg-plist
@@ -0,0 +1,11 @@
+bin/synce-unlock.py
+libexec/hal-dccm
+libexec/synce-serial-chat
+libexec/hal-synce-rndis
+libexec/hal-synce-serial
+share/synce-hal/dhclient.conf
+share/hal/fdi/policy/20thirdparty/10-synce.fdi
+etc/dbus-1/system.d/org.freedesktop.Hal.Device.Synce.conf
+@dirrmtry etc/dbus-1/system.d
+@dirrmtry etc/dbus-1
+@dirrm share/synce-hal