openbsd-ports/devel/sdl-mixer/Makefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2002/09/03 06:24:46 mark Exp $
COMMENT= "SDL multi-channel audio mixer library"
VER= 1.2.4
2001-10-05 13:35:26 -04:00
PROJ= SDL_mixer
DISTNAME= ${PROJ}-${VER}
PKGNAME= sdl-mixer-${VER}
CATEGORIES= devel audio
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/release/
HOMEPAGE= http://www.libsdl.org/
2001-12-24 02:51:05 -05:00
MAINTAINER= Mark Grimes <mark@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= vorbis mikmod
FLAVOR?=
LIB_DEPENDS= smpeg.1::devel/smpeg
.if ${FLAVOR:L} == "vorbis"
2001-10-12 07:47:24 -04:00
LIB_DEPENDS+= vorbis.0,vorbisfile.1::audio/libvorbis
.else
CONFIGURE_ARGS+=--disable-music-ogg
.endif
.if ${FLAVOR:L} == "mikmod"
LIB_DEPENDS+= mikmod.::audio/libmikmod
.else
CONFIGURE_ARGS+=--disable-music-mod
.endif
USE_X11= Yes
2001-10-05 13:35:26 -04:00
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
2001-10-05 13:35:26 -04:00
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
2001-12-22 23:47:39 -05:00
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
2001-10-05 15:29:37 -04:00
patch-*
2001-10-05 13:35:26 -04:00
.include <bsd.port.mk>