aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-mac/Makefile
blob: bc6865893cf183a9c47bb115c3d07e0dcdf580fd (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
35
36
37
38
39
40
# New ports collection makefile for:	xmms-mac
# Date Created:				23 February 2005
# Whom:					<arundel@h3c.de>
#
# $FreeBSD$

PORTNAME=	mac
PORTVERSION=	0.3.1
PORTREVISION=	8
CATEGORIES=	audio
MASTER_SITES=	http://repository.slacky.eu/slackware-12.2/multimedia/${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION}/src/ \
		http://ftp.hosteurope.de/mirror/ftp.frugalware.org/pub/frugalware/frugalware-testing/source/xlib-extra/${PKGNAMEPREFIX}${PORTNAME}/ \
		http://ftp.yz.yamagata-u.ac.jp/pub/linux/plamo/Plamo-src/contrib/Sound/MAC/ \
		http://www10.frugalware.org/pub/linux/frugalware/frugalware-current/source/xlib-extra/${PKGNAMEPREFIX}${PORTNAME}/ \
		CENKES
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER=	alexbestms@wwu.de
COMMENT=	Native Monkey Audio Codec plugin for the XMMS1 Multimedia Player

LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms \
		mac.2:${PORTSDIR}/audio/mac

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	CPPFLAGS="${CPPFLAGS}"
USE_AUTOTOOLS=	autoconf
CPPFLAGS+=	"-I${LOCALBASE}/include"
USE_LDCONFIG=	yes

PLIST_FILES=	lib/xmms/Input/libxmms-mac.so

post-patch:
	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/aclocal.m4

do-install:
	${INSTALL_DATA} ${WRKSRC}/src/.libs/libxmms-mac.so ${PREFIX}/lib/xmms/Input

.include <bsd.port.mk>