diff -ruN cx88.orig/Makefile cx88/Makefile --- cx88.orig/Makefile 2012-03-03 15:10:53.000000000 -0600 +++ cx88/Makefile 2012-06-14 18:32:25.000000000 -0500 @@ -2,11 +2,11 @@ # Date created: 7 September 2008 # Whom: jah # -# $FreeBSD: ports/multimedia/cx88/Makefile,v 1.19 2012/03/03 21:10:53 jgh Exp $ +# $FreeBSD$ # PORTNAME= cx88 -PORTVERSION= 1.4.2 +PORTVERSION= 1.4.3 CATEGORIES= multimedia kld MASTER_SITES= ftp://corona.homeunix.net/ports/cx88/ @@ -17,20 +17,43 @@ LIB_DEPENDS= tuner.1:${PORTSDIR}/multimedia/libtuner BUILD_DEPENDS= ${LOCALBASE}/lib/libezxml.a:${PORTSDIR}/textproc/ezxml \ - libtuner>=1.0.8:${PORTSDIR}/multimedia/libtuner + libtuner>=1.0.9:${PORTSDIR}/multimedia/libtuner KMODDIR= /boot/modules PLIST_SUB+= KMODDIR=${KMODDIR} MAKE_ARGS+= LIBTUNER_LIB=${LOCALBASE}/lib/libtuner LIBTUNER_HEADER=${LOCALBASE}/include/libtuner KMODDIR=${KMODDIR} MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= DEBUG LINUX_COMPAT HAL + +DEBUG_DESC= Build with debugging and verbose output enabled +LINUX_COMPAT_DESC= Support for Linux DVB and radio devices (requires FreeBSD 8.1+) +HAL_DESC= Register Linux DVB devices with HAL + +OPTIONS_DEFAULT= LINUX_COMPAT + +.include + .include +.if ${PORT_OPTIONS:MDEBUG} +MAKE_ARGS+= DIAGNOSTIC=0x7f +.endif + .if (${OSVERSION} >= 801000) +.if ${PORT_OPTIONS:MLINUX_COMPAT} LIB_DEPENDS+= cuse4bsd.1:${PORTSDIR}/multimedia/cuse4bsd-kmod BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \ - cuse4bsd-kmod>=0.1.12:${PORTSDIR}/multimedia/cuse4bsd-kmod + cuse4bsd-kmod>=0.1.12:${PORTSDIR}/multimedia/cuse4bsd-kmod MAKE_ARGS+= -D WITH_LINUX_COMPAT +.if ${PORT_OPTIONS:MHAL} +LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal \ + dbus-1:${PORTSDIR}/devel/dbus +BUILD_DEPENDS+= hal>=0.5.14:${PORTSDIR}/sysutils/hal \ + dbus>=1.4.0:${PORTSDIR}/devel/dbus +MAKE_ARGS+= -D WITH_HAL +.endif +.endif .endif .if (${OSVERSION} < 704000) || ((${OSVERSION} >= 800000) && (${OSVERSION} < 801000)) diff -ruN cx88.orig/distinfo cx88/distinfo --- cx88.orig/distinfo 2012-03-03 15:10:53.000000000 -0600 +++ cx88/distinfo 2012-06-14 18:32:25.000000000 -0500 @@ -1,2 +1,2 @@ -SHA256 (cx88-1.4.2.tar.gz) = c9127481fbed600452f043ae3f395c29b2cac88db5ee84f1786f07336ca7c8ec -SIZE (cx88-1.4.2.tar.gz) = 182216 +SHA256 (cx88-1.4.3.tar.gz) = 5955ea85157faa049ac1977c11815f967b6006ebe7e9b4602b71452087834411 +SIZE (cx88-1.4.3.tar.gz) = 186964