2015-12-04 21:39:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.68 2015/12/04 20:39:05 wiz Exp $
|
2002-08-23 13:39:27 +02:00
|
|
|
|
2015-12-04 21:39:05 +01:00
|
|
|
DISTNAME= libsndfile-1.0.26
|
2002-08-23 13:39:27 +02:00
|
|
|
CATEGORIES= audio
|
2009-12-15 12:08:38 +01:00
|
|
|
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/
|
2002-08-23 13:39:27 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-02-13 15:57:20 +01:00
|
|
|
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
|
2003-07-21 18:24:36 +02:00
|
|
|
COMMENT= Library for reading and writing audio files
|
2009-06-08 11:32:16 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2002-08-23 13:39:27 +02:00
|
|
|
|
2009-02-21 14:20:45 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2005-09-30 15:26:02 +02:00
|
|
|
USE_LIBTOOL= yes
|
2009-12-15 12:08:38 +01:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2003-09-24 01:28:16 +02:00
|
|
|
PKGCONFIG_OVERRIDE= sndfile.pc.in
|
2005-09-30 15:26:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-10-18 15:26:12 +02:00
|
|
|
|
2004-05-04 00:19:08 +02:00
|
|
|
# This package compiles with gcc2, but its configure script doesn't know that
|
|
|
|
CONFIGURE_ENV+= ac_cv_c_struct_hack=yes
|
2004-03-20 05:30:55 +01:00
|
|
|
|
2010-01-24 18:26:21 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2002-10-18 15:26:12 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-04-07 17:36:19 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2004-11-23 20:02:43 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
BUILDLINK_PASSTHRU_DIRS+= /Developer
|
|
|
|
.endif
|
|
|
|
|
2009-09-18 15:29:31 +02:00
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
|
|
|
CXXFLAGS+= -features=extensions
|
|
|
|
.endif
|
|
|
|
|
2005-09-30 15:26:02 +02:00
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
2009-02-21 14:20:45 +01:00
|
|
|
#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"
|
2002-08-23 13:39:27 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|