aboutsummaryrefslogtreecommitdiffstats
path: root/audio/play/Makefile
blob: 375d14dcc6ea97367258c6082c93c464e09cef23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Masanori Kiriake <seiken@nbs.co.jp>
# $FreeBSD$

PORTNAME=   play
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_PORTS_JP}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple audio file player

CONFLICTS=  sox-[0-9]*

MAKE_ARGS=  CFLAGS="${CFLAGS}" DESTDIR="${PREFIX}" MANDIR="/man/ja/man"

MANLANG=    ja
MAN1=       play.1
MANCOMPRESSED=  yes
PLIST_FILES=    bin/play

post-patch:
.for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c
    @${REINPLACE_CMD} '/soundcard\.h/s,machine,sys,' ${WRKSRC}/${file}
.endfor

.include <bsd.port.mk>