aboutsummaryrefslogtreecommitdiff
path: root/audio/esound/Makefile
blob: e69cbe0ede9f881e1102d7b27e6e9bd8745e887e (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
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/audio/esound/Makefile,v 1.1 2008/11/20 19:38:24 marcus Exp $

PORTNAME=	esound
PORTVERSION=	0.2.41
PORTREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Sound library for enlightenment package

LIB_DEPENDS=	libaudiofile.so:${PORTSDIR}/audio/libaudiofile

USES=		alias libtool:keepla pathfix pkgconfig:both tar:bzip2
USE_LDCONFIG=	yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=	JW=false
INSTALL_TARGET=	install-strip

CONFLICTS=	py*-ro-[0-9]*

post-patch:
	@${REINPLACE_CMD} -e 's|esdconf_DATA = esd.conf|esdconf_DATA = |g' \
		-e '/^esd_LDADD =/s/$$/ -lm/' \
		${WRKSRC}/Makefile.in

post-install:
	${INSTALL_DATA} ${WRKSRC}/esd.conf ${STAGEDIR}${PREFIX}/etc/esd.conf.sample

.include <bsd.port.mk>