blob: 67c350bc013c4aeb8454af6217014dec41ad9c73 (
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
47
48
49
|
# $NetBSD: Makefile,v 1.58 2010/02/06 14:38:27 tnn Exp $
DISTNAME= libsndfile-1.0.21
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
COMMENT= Library for reading and writing audio files
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE= sndfile.pc.in
GNU_CONFIGURE= yes
SUBST_CLASSES+= vorbis
SUBST_FILES.vorbis= configure
SUBST_SED.vorbis= -e "s/1\.2\.1/1.2.0/g"
SUBST_STAGE.vorbis= pre-configure
SUBST_MESSAGE.vorbis= Allowing libvorbis-1.2.0.
# This package compiles with gcc2, but its configure script doesn't know that
CONFIGURE_ENV+= ac_cv_c_struct_hack=yes
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
.if ${OPSYS} == "Darwin"
BUILDLINK_PASSTHRU_DIRS+= /Developer
.endif
.if !empty(PKGSRC_COMPILER:Msunpro)
CXXFLAGS+= -features=extensions
.endif
.include "../../audio/flac/buildlink3.mk"
#BUILDLINK_API_DEPENDS.libvorbis+= libvorbis>=1.2.1
.include "../../audio/libvorbis/buildlink3.mk"
BUILDLINK_API_DEPENDS.libogg+= libogg>=1.1.3
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|