aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-06-22 00:34:06 +0800
committermakc <makc@FreeBSD.org>2010-06-22 00:34:06 +0800
commit330dbf83628a1e5330b09909f1a171be794255a1 (patch)
tree1ecec5be553f5b2d2fdf32960d5e45e74aeee561 /multimedia
parent4c8d14bb1c197aad573918792f6cf0842f336e95 (diff)
downloadfreebsd-ports-gnome-330dbf83628a1e5330b09909f1a171be794255a1.tar.gz
freebsd-ports-gnome-330dbf83628a1e5330b09909f1a171be794255a1.tar.zst
freebsd-ports-gnome-330dbf83628a1e5330b09909f1a171be794255a1.zip
Update to 20100227
PR: ports/143989 Submitted by: Ganael Laplanche (maintainer) Feature safe: yes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/sms1xxx-kmod/Makefile28
-rw-r--r--multimedia/sms1xxx-kmod/distinfo6
-rw-r--r--multimedia/sms1xxx-kmod/pkg-descr2
-rw-r--r--multimedia/sms1xxx-kmod/pkg-plist1
4 files changed, 28 insertions, 9 deletions
diff --git a/multimedia/sms1xxx-kmod/Makefile b/multimedia/sms1xxx-kmod/Makefile
index 3cca9cb8a187..1aafa2a81fd9 100644
--- a/multimedia/sms1xxx-kmod/Makefile
+++ b/multimedia/sms1xxx-kmod/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sms1xxx
-PORTVERSION= 20100203
+PORTVERSION= 20100227
CATEGORIES= multimedia kld
MASTER_SITES= http://contribs.martymac.org/FreeBSD-siano/
PKGNAMESUFFIX= -kmod
@@ -15,15 +15,16 @@ EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ganael.laplanche@martymac.com
-COMMENT= FreeBSD driver for Siano-based USB DVB devices
+COMMENT= Native FreeBSD driver for Siano-based USB DVB devices
WRKSRC= ${WRKDIR}/siano-${PORTVERSION}
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
-OPTIONS= STELLAR "Build Stellar firmware" off \
- NOVA "Build Nova firmware" off \
- DEBUG "Build with debug symbols" off
+OPTIONS= RC5WATCH "Build rc5watch utility" on \
+ STELLAR "Build Stellar firmware" off \
+ NOVA "Build Nova firmware" off \
+ DEBUG "Build with debug symbols" off
ONLY_FOR_ARCHS= i386 amd64
@@ -34,6 +35,9 @@ MAKE_ENV+= KMODDIR=${KMODDIR}
PORTDOCS= CHANGELOG README COPYING
+MAN4= sms1xxx.4
+MANCOMPRESSED= yes
+
# Supported firmwares / firmwares to build
STELLAR_FW= stellar_dvbt
NOVA_FW= novab0_dvbbda
@@ -51,6 +55,12 @@ IGNORE= requires FreeBSD 8.0 or superior
ALL_TARGET= debug
.endif
+.if defined(WITH_RC5WATCH)
+PLIST_SUB+= PL_RC5WATCH=""
+.else
+PLIST_SUB+= PL_RC5WATCH="@comment "
+.endif
+
.if defined(WITH_STELLAR)
BUILD_FWS+= ${STELLAR_FW}
PLIST_SUB+= PL_STELLAR=""
@@ -112,7 +122,15 @@ pre-build:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${NOVA_FW}.fw ${WRKSRC}/firmwares/${NOVA_FW}/
.endif
+post-build:
+.if defined(WITH_RC5WATCH)
+ @cd ${WRKSRC}/apps/rc5watch/ && ${MAKE} all
+.endif
+
post-install:
+.if defined(WITH_RC5WATCH)
+ ${INSTALL_PROGRAM} ${WRKSRC}/apps/rc5watch/rc5watch ${PREFIX}/bin/rc5watch
+.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
diff --git a/multimedia/sms1xxx-kmod/distinfo b/multimedia/sms1xxx-kmod/distinfo
index a79c32d7f14c..ff7cf5769c32 100644
--- a/multimedia/sms1xxx-kmod/distinfo
+++ b/multimedia/sms1xxx-kmod/distinfo
@@ -1,3 +1,3 @@
-MD5 (sms1xxx/siano-20100203.tgz) = 986c678cdecc6f1c3d03657685770584
-SHA256 (sms1xxx/siano-20100203.tgz) = 100afe029e0ec9f8de00bd7e6e26c32480d16bd184f3d70ef4bc7b83bc31fbfb
-SIZE (sms1xxx/siano-20100203.tgz) = 479855
+MD5 (sms1xxx/siano-20100227.tgz) = 38a6c1646a967e08dda99371c30f146d
+SHA256 (sms1xxx/siano-20100227.tgz) = 631bd61ef4d5865e69e122e5571a8ca3d545d51b9e8a96ede04114f956306e3b
+SIZE (sms1xxx/siano-20100227.tgz) = 481614
diff --git a/multimedia/sms1xxx-kmod/pkg-descr b/multimedia/sms1xxx-kmod/pkg-descr
index f1fb10d9df46..18c535dafff2 100644
--- a/multimedia/sms1xxx-kmod/pkg-descr
+++ b/multimedia/sms1xxx-kmod/pkg-descr
@@ -1,4 +1,4 @@
-FreeBSD driver for Siano-based USB DVB devices.
+Native FreeBSD driver for Siano-based USB DVB devices.
This driver have been tested with the following devices :
diff --git a/multimedia/sms1xxx-kmod/pkg-plist b/multimedia/sms1xxx-kmod/pkg-plist
index da45059e8736..ae48475dded9 100644
--- a/multimedia/sms1xxx-kmod/pkg-plist
+++ b/multimedia/sms1xxx-kmod/pkg-plist
@@ -1,3 +1,4 @@
+%%PL_RC5WATCH%%bin/rc5watch
@cwd %%KMODDIR%%
%%PL_NOVA%%novab0_dvbbda.ko
%%PL_STELLAR%%stellar_dvbt.ko