mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
- 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
This commit is contained in:
parent
d0a1aba244
commit
3fe07ff8a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383914
3 changed files with 19 additions and 19 deletions
|
@ -1,27 +1,22 @@
|
||||||
# Created by: runge@rostock.zgdv.de
|
# Created by: Thomas Runge <runge@rostock.zgdv.de>
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= xmradio
|
PORTNAME= xmradio
|
||||||
PORTVERSION= 1.2
|
PORTVERSION= 1.2
|
||||||
PORTREVISION= 2
|
PORTREVISION= 2
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= http://core.de/~coto/radio/
|
MASTER_SITES= http://BSDforge.com/projects/source/audio/xmradio/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= portmaster@BSDforge.com
|
||||||
COMMENT= Motif based FM tuner (for use with bt848 driver)
|
COMMENT= Motif based FM tuner (for use with bktr(4) driver)
|
||||||
|
|
||||||
|
LICENSE= BSD2CLAUSE
|
||||||
|
|
||||||
|
ONLY_FOR_ARCHS= i386 amd64
|
||||||
|
|
||||||
BROKEN= Unfetchable
|
|
||||||
USES= imake motif
|
USES= imake motif
|
||||||
USE_XORG= xpm
|
USE_XORG= xpm
|
||||||
ONLY_FOR_ARCHS= i386 amd64
|
|
||||||
|
|
||||||
PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio
|
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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
+#elif defined(linux)
|
+#elif defined(linux)
|
||||||
#include <linux/bttv.h>
|
#include <linux/bttv.h>
|
||||||
#include <sys/soundcard.h>
|
#include <sys/soundcard.h>
|
||||||
-#else
|
|
||||||
+#elif defined(__FreeBSD__)
|
+#elif defined(__FreeBSD__)
|
||||||
+#include <sys/soundcard.h>
|
+#include <sys/soundcard.h>
|
||||||
#include <machine/ioctl_bt848.h>
|
+#include <dev/bktr/ioctl_bt848.h>
|
||||||
|
#else
|
||||||
|
-#include <machine/ioctl_bt848.h>
|
||||||
-#ifdef JUHA_DRIVER
|
-#ifdef JUHA_DRIVER
|
||||||
-#include <machine/ioctl_tuner.h>
|
-#include <machine/ioctl_tuner.h>
|
||||||
-#endif
|
-#endif
|
||||||
+#else
|
|
||||||
#include <machine/soundcard.h>
|
#include <machine/soundcard.h>
|
||||||
#endif
|
#endif
|
||||||
+#ifdef JUHA_DRIVER
|
+#ifdef JUHA_DRIVER
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
This is a simple radio application for FM tuners built into
|
xmradio is a radio tuner program for X11 (using the Motif widget set),
|
||||||
some TV cards, such as the Hauppauge Win/TV.
|
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/
|
||||||
|
|
Loading…
Add table
Reference in a new issue