2002-09-03 02:24:46 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2002/09/03 06:24:46 mark Exp $
|
2001-05-07 00:07:03 -04:00
|
|
|
|
|
|
|
COMMENT= "SDL multi-channel audio mixer library"
|
2002-05-23 02:38:24 -04:00
|
|
|
VER= 1.2.4
|
2001-10-05 13:35:26 -04:00
|
|
|
PROJ= SDL_mixer
|
2001-05-07 00:07:03 -04:00
|
|
|
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>
|
2001-05-07 00:07:03 -04:00
|
|
|
|
2002-09-03 02:24:46 -04:00
|
|
|
# GPL
|
2001-05-07 00:07:03 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-02-04 22:55:06 -05:00
|
|
|
FLAVORS= vorbis mikmod
|
2001-05-07 00:07:03 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2002-05-23 02:38:24 -04:00
|
|
|
LIB_DEPENDS= smpeg.1::devel/smpeg
|
|
|
|
|
2001-05-07 00:07:03 -04:00
|
|
|
.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
|
2001-05-07 00:07:03 -04:00
|
|
|
.endif
|
|
|
|
|
2002-02-04 22:55:06 -05:00
|
|
|
.if ${FLAVOR:L} == "mikmod"
|
|
|
|
LIB_DEPENDS+= mikmod.::audio/libmikmod
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-music-mod
|
|
|
|
.endif
|
|
|
|
|
2001-05-07 00:07:03 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2001-10-05 13:35:26 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2001-05-07 00:07:03 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-10-05 13:35:26 -04:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
2001-05-07 00:07:03 -04:00
|
|
|
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
|
|
|
|
2001-05-07 00:07:03 -04:00
|
|
|
.include <bsd.port.mk>
|