blob: 83edb849f8091f393663b06e8031b015c8371895 (
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
|
# $NetBSD: Makefile,v 1.43 2007/06/04 05:44:09 wiz Exp $
DISTNAME= sox-13.0.0
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sox/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sox.sourceforge.net/
COMMENT= SOund eXchange - universal sound sample translator
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKG_OPTIONS_VAR= PKG_OPTIONS.sox
PKG_SUPPORTED_OPTIONS= lame
# lame has LICENSE= issues and thus should not be SUGGESTED.
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
SUBST_CLASSES+= lrf
SUBST_FILES.lrf= src/libst-config.in
SUBST_SED.lrf= -e "s!@LRF@!"${LINKER_RPATH_FLAG}"!"
SUBST_STAGE.lrf= pre-configure
SUBST_CLASSES+= gsm
SUBST_FILES.gsm= configure src/gsm.c src/wav.c
SUBST_SED.gsm= -e "s!gsm/gsm.h!gsm.h!"
SUBST_STAGE.gsm= pre-configure
# needs obsolete FLAC API
#.include "../../audio/flac/buildlink3.mk"
.include "../../audio/gsm/buildlink3.mk"
.if !empty(PKG_OPTIONS:Mlame)
# This is an option due to LICENSE= issues.
.include "../../audio/lame/buildlink3.mk"
.endif
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|