aboutsummaryrefslogtreecommitdiff
path: root/audio/rioutil/Makefile
blob: 7a89545137dcf23be6dc61d24d6f2a4ff3d4207b (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
28
29
30
31
32
33
34
# Created by: George Reid <greid@FreeBSD.org>
# $FreeBSD$

PORTNAME=	rioutil
PORTVERSION=	1.5.0
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Program to interface with the Rio600, Rio800, and psa[play devices

USES=		gmake
USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

MAN1=		rioutil.1

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.pre.mk>

EXTRA_PATCHES=  ${FILESDIR}/extra-patch-configure.ac
USE_AUTOTOOLS=	autoconf

post-extract:
#	@${RM} -f ${WRKSRC}/src/getopt*
# Fix for GCC 4.2
	@${REINPLACE_CMD} -e 's,read_buffer = .*),(&),' \
		${WRKSRC}/librioutil/rio.c

.include <bsd.port.post.mk>