Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / sox / Makefile
blob3c8d6d8eeae2b9167ba6585569d57a1cb20f8a82
1 # $NetBSD: Makefile,v 1.57 2012/10/02 23:48:09 asau Exp $
3 DISTNAME= sox-14.4.0
4 PKGREVISION= 1
5 CATEGORIES= audio
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/}
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://sox.sourceforge.net/
10 COMMENT= SOund eXchange - universal sound sample translator
11 LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
13 PKG_INSTALLATION_TYPES= overwrite pkgviews
15 #USE_CMAKE= yes
16 USE_LANGUAGES= c c++
17 USE_LIBTOOL= yes
18 USE_TOOLS+= pkg-config
19 GNU_CONFIGURE= yes
20 CONFIGURE_ARGS+= --disable-gomp
21 CONFIGURE_ARGS+= --without-libltdl
22 CONFIGURE_ENV+= ac_cv_func_fmemopen=no
24 PKGCONFIG_OVERRIDE+= sox.pc.in
26 SUBST_CLASSES+= gsm
27 SUBST_FILES.gsm= configure src/gsm.c src/wav.c CMakeLists.txt
28 SUBST_SED.gsm= -e "s!gsm/gsm.h!gsm.h!"
29 SUBST_STAGE.gsm= pre-configure
31 post-install:
32 ${RMDIR} ${DESTDIR}${PREFIX}/lib/sox
34 .include "options.mk"
36 .include "../../audio/flac/buildlink3.mk"
37 .include "../../audio/gsm/buildlink3.mk"
38 .include "../../audio/libmad/buildlink3.mk"
39 .include "../../audio/libsamplerate/buildlink3.mk"
40 .include "../../audio/libsndfile/buildlink3.mk"
41 .include "../../audio/libvorbis/buildlink3.mk"
42 .include "../../devel/zlib/buildlink3.mk"
43 .include "../../graphics/png/buildlink3.mk"
44 .include "../../sysutils/file/buildlink3.mk"
45 .include "../../mk/bsd.pkg.mk"