aboutsummaryrefslogtreecommitdiff
path: root/audio/bmp-flac/Makefile
blob: cbe1c88f52537b7cd99a6869504ad7a3fd4e91e5 (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
41
42
# New ports collection makefile for:	bmp-flac
# Date created:				2005-05-22
# Whom:					nork@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	flac
PORTVERSION=	20040316
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://ccm.sherry.jp/tmp/
PKGNAMEPREFIX=	bmp-
DISTNAME=	${PORTNAME}-CVS-${PORTVERSION}-with-bmp-plugin

MAINTAINER=	nork@FreeBSD.org
COMMENT=	FLAC input plugin for beep-media-player

LIB_DEPENDS=	beep.2:${PORTSDIR}/multimedia/beep-media-player \
		FLAC.7:${PORTSDIR}/audio/flac

PLIST_FILES=	lib/bmp/Input/libbmp-flac.so

USE_BZIP2=	yes
USE_X_PREFIX=	yes
##GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	libtool:15:inc
CONFIGURE_ARGS=	--with-libiconv-prefix="${LOCALBASE}" \
		--with-ogg="${LOCALBASE}" \
		--with-xmms-prefix="${X11BASE}"

MAKEFILE=	${FILESDIR}/Makefile

# "obj" is magic to our make(1)
post-configure:
	@${RM} -rf ${WRKSRC}/obj

# This is to avoid libtool running ldconfig -m ${X11BASE}/lib/bmp/Input
do-install:
	${INSTALL_DATA} ${WRKSRC}/src/plugin_bmp/.libs/libbmp-flac.so ${PREFIX}/lib/bmp/Input

.include <bsd.port.mk>