aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-flac/Makefile
blob: f3b2b44057aa1b33e2f23b8d2908663700b51ebb (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
# New ports collection makefile for:    xmms-flac
# Date created:     2003-06-10
# Whom:         Christian Weisgerber <naddy@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xmms-flac
PORTVERSION=    1.2.1
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= flac
DISTNAME=   flac-${PORTVERSION}

MAINTAINER= naddy@FreeBSD.org
COMMENT=    XMMS input plugin for playing FLAC files

LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms \
        FLAC.10:${PORTSDIR}/audio/flac

USE_AUTOTOOLS=  libtool:15
CONFIGURE_TARGET=   --target=${ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
        --with-ogg="${LOCALBASE}" \
        --with-xmms-prefix="${X11BASE}"
MAKE_ARGS=  LIBTOOL="${LIBTOOL} --tag=disable-static"
MAKE_ENV=   MAKEOBJDIR=/nonexistent     # ignore ${WRKSRC}/obj
MAKEFILE=   ${FILESDIR}/Makefile

# XXX
post-install:
    ${RM} ${PREFIX}/lib/xmms/Input/libxmms-flac.la

.include <bsd.port.mk>