mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
d51c675f44
only i386 and ia64 seem to have the bktr(4) driver. - Add a more accurate OSVERSION for the bktr header reorganization.
40 lines
893 B
Makefile
40 lines
893 B
Makefile
# New ports collection makefile for: xmradio
|
|
# Date created: 1 Oct 1999
|
|
# Whom: runge@rostock.zgdv.de
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmradio
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://core.de/~coto/radio/
|
|
|
|
MAINTAINER= g.gonter@ieee.org
|
|
COMMENT= Motif based FM tuner (for use with bt848 driver)
|
|
|
|
# This program does not actually depend on the below, but they are pretty
|
|
# useful if you are into digital audio recording and playback.
|
|
#RUN_DEPENDS= sox:${PORTSDIR}/audio/sox
|
|
|
|
USE_IMAKE= yes
|
|
USE_XPM= yes
|
|
USE_MOTIF= yes
|
|
USE_REINPLACE= yes
|
|
ONLY_FOR_ARCHS= i386 ia64
|
|
|
|
PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 502100
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,machine/ioctl_bt848.h,dev/bktr/ioctl_bt848.h," \
|
|
${WRKSRC}/radio.c
|
|
.endif
|
|
#
|
|
#post-install:
|
|
# ${STRIP_CMD} ${PREFIX}/bin/xmradio
|
|
|
|
.include <bsd.port.post.mk>
|