summaryrefslogtreecommitdiffstats
path: root/audio/wmtune/Makefile
diff options
context:
space:
mode:
authordan <dan@FreeBSD.org>1999-09-29 03:48:58 +0000
committerdan <dan@FreeBSD.org>1999-09-29 03:48:58 +0000
commitc47ae1d96d771fb80c93df674a80bee0ff900bc2 (patch)
treeace8514009222e18b896cb46dbab9b2d967f0f3e /audio/wmtune/Makefile
parent926a70206a2532e3e9c13f296ca69101e55975f2 (diff)
downloadFreeBSD-ports-c47ae1d96d771fb80c93df674a80bee0ff900bc2.zip
FreeBSD-ports-c47ae1d96d771fb80c93df674a80bee0ff900bc2.tar.gz
Dock app radio program for the BT848/878 cards.
In particular, this program works with the Happauge WinTV cards with onboard FM tuners. PR: ports/14029 Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
Diffstat (limited to 'audio/wmtune/Makefile')
-rw-r--r--audio/wmtune/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/audio/wmtune/Makefile b/audio/wmtune/Makefile
new file mode 100644
index 0000000..998f44e
--- /dev/null
+++ b/audio/wmtune/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: wmtune
+# Version required: 1.0
+# Date created: 28 September 1999
+# Whom: Chris D. Faulhaber <jedgar@fxp.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= wmtune-1.0
+CATEGORIES= audio windowmaker
+MASTER_SITES= http://www.soren.org/linux/wmtune/dl/ \
+ http://www.rostock.zgdv.de/~runge/radio/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ wmtune.diff.gz
+
+MAINTAINER= jedgar@fxp.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}
+
+post-patch:
+ @${GUNZIP_CMD} -c ${DISTDIR}/wmtune.diff.gz | ${PATCH} ${PATCH_ARGS}
+ @cd ${WRKSRC}/src; \
+ ${MV} wmtune.c wmtune.c.orig; \
+ ${SED} -e 's|/etc|${PREFIX}/etc|' < wmtune.c.orig > wmtune.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmtune ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/sample.wmtunerc ${PREFIX}/etc
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud