From 3fe07ff8a33a5355d4fe17e341afaa2c3d9ee56c Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 13 Apr 2015 12:50:00 +0000 Subject: [PATCH] - Unbreak by providing working mastersite; add LICENSE (GPLv2) - Merge REINPLACE_CMD fix into existing files/patch-radio.c - Standardize header and generally cleanup Makefile - Improve COMMENT and port description text while I'm here - Transfer maintainership to the submitter PR: 199320 Submitted by: Chris Hutchinson --- audio/xmradio/Makefile | 21 ++++++++------------- audio/xmradio/files/patch-radio.c | 6 +++--- audio/xmradio/pkg-descr | 11 ++++++++--- 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 # $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 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 #include --#else +#elif defined(__FreeBSD__) +#include - #include ++#include + #else +-#include -#ifdef JUHA_DRIVER -#include -#endif -+#else #include #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/