diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-02-05 00:16:58 +0000 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-02-05 00:16:58 +0000 |
commit | 312538518c657d0462b1d23191b2f2af0772c120 (patch) | |
tree | 463a042f450fc25470e99cf634daeba81ed2bbb8 /audio/wmtune | |
parent | b4fa9e491b934e6a84d7c326083afa406b88dac7 (diff) | |
download | FreeBSD-ports-312538518c657d0462b1d23191b2f2af0772c120.zip FreeBSD-ports-312538518c657d0462b1d23191b2f2af0772c120.tar.gz |
Enable support for RadioTrack radio cards.
Diffstat (limited to 'audio/wmtune')
-rw-r--r-- | audio/wmtune/Makefile | 28 | ||||
-rw-r--r-- | audio/wmtune/distinfo | 1 | ||||
-rw-r--r-- | audio/wmtune/pkg-comment | 2 | ||||
-rw-r--r-- | audio/wmtune/pkg-descr | 9 |
4 files changed, 31 insertions, 9 deletions
diff --git a/audio/wmtune/Makefile b/audio/wmtune/Makefile index 7f0f8c9..f8b303c 100644 --- a/audio/wmtune/Makefile +++ b/audio/wmtune/Makefile @@ -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> diff --git a/audio/wmtune/distinfo b/audio/wmtune/distinfo index fcb0391..71f1678 100644 --- a/audio/wmtune/distinfo +++ b/audio/wmtune/distinfo @@ -1,2 +1,3 @@ MD5 (wmtune-1.0.tar.gz) = 97924e093b2a00d7104895909bbefb94 MD5 (wmtune.diff.gz) = b1459a250a91c994b36d90858ab81c82 +MD5 (wmtune.radiotrack.diff.gz) = 760b0a4093319dbeb2c4557bbad04279 diff --git a/audio/wmtune/pkg-comment b/audio/wmtune/pkg-comment index 2d9e483..830a3cc 100644 --- a/audio/wmtune/pkg-comment +++ b/audio/wmtune/pkg-comment @@ -1 +1 @@ -Dock app radio program for the BT848/878 cards +Dockable radio program for the BT848/878 and RadioTrack cards diff --git a/audio/wmtune/pkg-descr b/audio/wmtune/pkg-descr index 44eefc4..d120374 100644 --- a/audio/wmtune/pkg-descr +++ b/audio/wmtune/pkg-descr @@ -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> |