mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Enable support for RadioTrack radio cards.
This commit is contained in:
parent
093664a1b5
commit
490285929e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25482
@ -9,27 +9,43 @@
|
||||
DISTNAME= wmtune-1.0
|
||||
CATEGORIES= audio windowmaker
|
||||
MASTER_SITES= http://www.soren.org/linux/wmtune/dl/ \
|
||||
http://www.rostock.zgdv.de/~runge/radio/
|
||||
http://www.rostock.zgdv.de/~runge/radio/ \
|
||||
http://www.fxp.org/~jedgar/distfiles/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
wmtune.diff.gz
|
||||
${WMTUNE_DIFF}
|
||||
|
||||
MAINTAINER= jedgar@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
||||
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
PATCH_ARGS =-p0 -d ${WRKDIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(USE_RADIOTRACK)
|
||||
WMTUNE_DIFF= wmtune.diff.gz
|
||||
pre-patch:
|
||||
@${ECHO}
|
||||
@${ECHO} "To enable support for RadioTrack radio cards,"
|
||||
@${ECHO} "define USE_RADIOTRACK (make USE_RADIOTRACK=yes)."
|
||||
@${ECHO}
|
||||
@sleep 3
|
||||
.else
|
||||
WMTUNE_DIFF= wmtune.radiotrack.diff.gz
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${GUNZIP_CMD} -c ${DISTDIR}/wmtune.diff.gz | ${PATCH} ${PATCH_ARGS}
|
||||
@${PERL} -pi.orig -e 's|/etc|${PREFIX}/etc|' wmtune.c
|
||||
@${GUNZIP_CMD} -c ${DISTDIR}/${WMTUNE_DIFF} | ${PATCH} ${PATCH_ARGS}
|
||||
|
||||
do-configure:
|
||||
@${PERL} -pi.orig -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/src/wmtune.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmtune ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.wmtunerc ${PREFIX}/etc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
MD5 (wmtune-1.0.tar.gz) = 97924e093b2a00d7104895909bbefb94
|
||||
MD5 (wmtune.diff.gz) = b1459a250a91c994b36d90858ab81c82
|
||||
MD5 (wmtune.radiotrack.diff.gz) = 760b0a4093319dbeb2c4557bbad04279
|
||||
|
@ -1 +1 @@
|
||||
Dock app radio program for the BT848/878 cards
|
||||
Dockable radio program for the BT848/878 and RadioTrack cards
|
||||
|
@ -1,5 +1,10 @@
|
||||
Dock app radio program for the BT848/878 cards.
|
||||
Dock app radio program for the BT848/878 cards
|
||||
and RadioTrack radio cards.
|
||||
In particular, this program works with the
|
||||
Happauge WinTV cards with onboard FM tuners.
|
||||
Happauge WinTV cards with onboard FM tuners
|
||||
along with RadioTrack-compatible cards.
|
||||
|
||||
WWW: http://soren.org/linux/wmtune/
|
||||
|
||||
- Chris D. Faulhaber
|
||||
<jedgar@FreeBSD.org>
|
||||
|
Loading…
Reference in New Issue
Block a user