openbsd-ports/devel/sdl-mixer/Makefile

53 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.42 2012/06/01 15:58:13 ajacoutot Exp $
COMMENT= SDL multi-channel audio mixer library
2010-07-30 16:00:26 -04:00
2012-04-05 07:41:32 -04:00
DISTNAME= SDL_mixer-1.2.12
2010-07-30 16:00:26 -04:00
PKGNAME= ${DISTNAME:L:S/_/-/}
REVISION= 0
CATEGORIES= devel audio
2010-07-30 16:00:26 -04:00
MASTER_SITES= ${HOMEPAGE}release/
2012-04-05 07:41:32 -04:00
SHARED_LIBS= SDL_mixer 5.0
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
2012-04-05 07:41:32 -04:00
# Zlib
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-15 14:45:56 -05:00
WANTLIB= FLAC SDL c m mikmod ogg pthread smpeg>=1 sndio \
2010-09-02 14:34:28 -04:00
usbhid vorbis vorbisfile
2010-07-30 16:00:26 -04:00
MODULES= converters/libiconv
2010-11-15 14:45:56 -05:00
LIB_DEPENDS= audio/flac \
audio/libmikmod \
2012-04-05 07:41:32 -04:00
audio/libogg \
2010-11-15 14:45:56 -05:00
audio/libvorbis \
devel/sdl \
devel/smpeg
2005-07-03 17:36:35 -04:00
2010-07-30 16:00:26 -04:00
USE_LIBTOOL= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-music-flac-shared \
2012-04-05 07:41:32 -04:00
--disable-music-fluidsynth-midi \
2010-07-30 16:00:26 -04:00
--disable-music-mod-shared \
--disable-music-mp3-shared \
--disable-music-ogg-shared
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-10-05 13:35:26 -04:00
2012-04-05 07:41:32 -04:00
NO_REGRESS= Yes
pre-build:
2012-04-05 07:41:32 -04:00
@${SUBST_CMD} ${WRKSRC}/timidity/config.h
post-install:
2010-07-30 16:00:26 -04:00
${INSTALL_PROGRAM} ${WRKBUILD}/build/.libs/play{mus,wave} ${PREFIX}/bin
.include <bsd.port.mk>