aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-04-13 12:50:00 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-04-13 12:50:00 +0000
commit3fe07ff8a33a5355d4fe17e341afaa2c3d9ee56c (patch)
treec1dbaa91452f3f4a8c0334811846826b051682cb /audio
parentd0a1aba244b788fc4d725ba2a6cd29b0ae96cb39 (diff)
downloadports-3fe07ff8a33a5355d4fe17e341afaa2c3d9ee56c.tar.gz
ports-3fe07ff8a33a5355d4fe17e341afaa2c3d9ee56c.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/xmradio/Makefile21
-rw-r--r--audio/xmradio/files/patch-radio.c6
-rw-r--r--audio/xmradio/pkg-descr11
3 files changed, 19 insertions, 19 deletions
diff --git a/audio/xmradio/Makefile b/audio/xmradio/Makefile
index 657a2f3dc7af..dad6bd1aa5cb 100644
--- a/audio/xmradio/Makefile
+++ b/audio/xmradio/Makefile
@@ -1,27 +1,22 @@
-# Created by: runge@rostock.zgdv.de
+# Created by: Thomas Runge <runge@rostock.zgdv.de>
# $FreeBSD$
PORTNAME= xmradio
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= http://core.de/~coto/radio/
+MASTER_SITES= http://BSDforge.com/projects/source/audio/xmradio/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Motif based FM tuner (for use with bt848 driver)
+MAINTAINER= portmaster@BSDforge.com
+COMMENT= Motif based FM tuner (for use with bktr(4) driver)
+
+LICENSE= BSD2CLAUSE
+
+ONLY_FOR_ARCHS= i386 amd64
-BROKEN= Unfetchable
USES= imake motif
USE_XORG= xpm
-ONLY_FOR_ARCHS= i386 amd64
PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio
-post-patch:
- ${REINPLACE_CMD} -e "s,machine/ioctl_bt848.h,dev/bktr/ioctl_bt848.h," \
- ${WRKSRC}/radio.c
-#
-#post-install:
-# ${STRIP_CMD} ${PREFIX}/bin/xmradio
-
.include <bsd.port.mk>
diff --git a/audio/xmradio/files/patch-radio.c b/audio/xmradio/files/patch-radio.c
index 52f2c3c2d485..1063ee92c5a8 100644
--- a/audio/xmradio/files/patch-radio.c
+++ b/audio/xmradio/files/patch-radio.c
@@ -9,14 +9,14 @@
+#elif defined(linux)
#include <linux/bttv.h>
#include <sys/soundcard.h>
--#else
+#elif defined(__FreeBSD__)
+#include <sys/soundcard.h>
- #include <machine/ioctl_bt848.h>
++#include <dev/bktr/ioctl_bt848.h>
+ #else
+-#include <machine/ioctl_bt848.h>
-#ifdef JUHA_DRIVER
-#include <machine/ioctl_tuner.h>
-#endif
-+#else
#include <machine/soundcard.h>
#endif
+#ifdef JUHA_DRIVER
diff --git a/audio/xmradio/pkg-descr b/audio/xmradio/pkg-descr
index fed22e55a69f..a6db40c96342 100644
--- a/audio/xmradio/pkg-descr
+++ b/audio/xmradio/pkg-descr
@@ -1,4 +1,9 @@
-This is a simple radio application for FM tuners built into
-some TV cards, such as the Hauppauge Win/TV.
+xmradio is a radio tuner program for X11 (using the Motif widget set),
+using NetBSD's and FreeBSD's bktr(4) driver.
-WWW: http://core.de/~coto/projects/xmradio/
+It also supports Video4Linux because of its design.
+
+You can control an xmradio running on your desktop using some special
+command line options and remote control mechanism.
+
+WWW: http://BSDforge.com/projects/audio/xmradio/