blob: 04b3be7edf5b3261679bc36d939825fee59e5a3d (
plain)
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
43
44
45
46
|
# $NetBSD: Makefile,v 1.17 2013/06/04 22:15:38 tron Exp $
#
DISTNAME= flac-1.1.3
PKGNAME= bmp-${DISTNAME}
PKGREVISION= 15
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://flac.sourceforge.net/
COMMENT= FLAC BMP plugin
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= libtool-disable-static
XMMS_WRKSRC= ${WRKSRC}/src/plugin_xmms
SUBST_CLASSES+= bmph
SUBST_STAGE.bmph= post-configure
SUBST_MESSAGE.bmph= Fixing xmms headers
SUBST_FILES.bmph= src/plugin_xmms/*.c
SUBST_SED.bmph= -e 's,include <xmms/,include <bmp/,g'
BUILD_DIRS= src/libFLAC
BUILD_DIRS+= src/plugin_common
BUILD_DIRS+= src/share
BUILD_DIRS+= src/plugin_xmms
INSTALL_DIRS= src/plugin_xmms
.include "../../mk/compiler.mk"
# SunPro does not support __inline
.if !empty(PKGSRC_COMPILER:Msunpro)
CFLAGS+= -D__inline=inline
.endif
BUILDLINK_API_DEPENDS.flac+= flac>=1.1.3nb1
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/bmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|