1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/audio/fmio/Makefile
Pete Fritchman 0467aae499 machine/soundcard.h -> sys/soundcard.h
Submitted by:	bento
2002-06-07 02:21:52 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: fmio
# Date created: 10 Feb 2001
# Whom: Den Ivanov <d.s.div@bigfoot.com>
#
# $FreeBSD$
#
PORTNAME= fmio
PORTVERSION= 1.2.25
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.jumbo.narod.ru/src/fmio/
MAINTAINER= kunia@istc.kiev.ua
MAN1= fmio.1
MANCOMPRESSED= no
post-patch:
@${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
${WRKSRC}/mixer.c > ${WRKSRC}/mixer.c.new
@${MV} ${WRKSRC}/mixer.c.new ${WRKSRC}/mixer.c
pre-build:
.if !defined(WITH_BKTR)
@${ECHO_MSG}
@${ECHO_MSG} "If you want to compile with Highway Xtreme support,"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_BKTR=yes\""
@${ECHO_MSG}
.endif
post-build:
.if defined(WITH_BKTR)
@${MAKE} ${WRKSRC}/utils/bktrctl
.endif
do-install:
.if defined(WITH_BKTR)
${INSTALL_PROGRAM} ${WRKSRC}/utils/bktrctl ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/bktrctl.sh ${PREFIX}/etc/rc.d
.endif
${INSTALL_PROGRAM} ${WRKSRC}/fmio ${PREFIX}/bin
${CHMOD} 4555 ${PREFIX}/bin/fmio
${INSTALL_MAN} ${WRKSRC}/fmio.1 ${MANPREFIX}/man/man1
post-install:
.if !defined(WITH_BKTR)
${GREP} -v "bktrctl.sh" ${TMPPLIST} > ${TMPPLIST}.tmp
${MV} -f ${TMPPLIST}.tmp ${TMPPLIST}
.endif
.include <bsd.port.mk>