2001-10-05 13:35:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2001/10/05 17:37:26 obecian Exp $
|
2001-05-07 00:07:03 -04:00
|
|
|
|
|
|
|
COMMENT= "SDL multi-channel audio mixer library"
|
2001-10-05 13:35:26 -04:00
|
|
|
VER= 1.2.0
|
|
|
|
PROJ= SDL_mixer
|
2001-05-07 00:07:03 -04:00
|
|
|
DISTNAME= ${PROJ}-${VER}
|
|
|
|
PKGNAME= sdl-mixer-${VER}
|
|
|
|
CATEGORIES= devel audio
|
|
|
|
NEED_VERSION= 1.405
|
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/${PROJ}/release/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.libsdl.org/
|
|
|
|
|
|
|
|
MAINTAINER= Mark Grimes <obecian@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
FLAVORS= vorbis
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L} == "vorbis"
|
|
|
|
LIB_DEPENDS+= vorbis.0::audio/libvorbis
|
|
|
|
.endif
|
|
|
|
|
|
|
|
LIB_DEPENDS= SDL.:sdl-*-!no_x11:devel/sdl \
|
2001-10-05 13:35:26 -04:00
|
|
|
smpeg.1::devel/smpeg
|
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-10-05 13:35:26 -04:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh
|
|
|
|
|
2001-05-07 00:07:03 -04:00
|
|
|
.include <bsd.port.mk>
|