2006-01-30 10:22:11 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2006/01/30 10:22:11 jsg Exp $
|
2001-05-07 04:07:03 +00:00
|
|
|
|
|
|
|
COMMENT= "SDL multi-channel audio mixer library"
|
2005-07-03 21:36:35 +00:00
|
|
|
DISTNAME= SDL_mixer-1.2.6
|
2006-01-30 10:22:11 +00:00
|
|
|
PKGNAME= ${DISTNAME:L:S/_/-/}p3
|
2006-01-13 23:40:22 +00:00
|
|
|
SHARED_LIBS= SDL_mixer 3.0
|
2001-05-07 04:07:03 +00:00
|
|
|
CATEGORIES= devel audio
|
2003-05-12 22:36:32 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}release/
|
2001-05-07 04:07:03 +00:00
|
|
|
|
2003-04-03 23:46:17 +00:00
|
|
|
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
|
2001-05-07 04:07:03 +00:00
|
|
|
|
2003-09-23 04:34:40 +00:00
|
|
|
# LGPL
|
2001-05-07 04:07:03 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-07-03 21:36:35 +00:00
|
|
|
USE_LIBTOOL= Yes
|
2003-05-12 22:36:32 +00:00
|
|
|
USE_X11= Yes
|
2001-05-07 04:07:03 +00:00
|
|
|
|
2005-07-03 21:36:35 +00:00
|
|
|
LIB_DEPENDS= mikmod.2::audio/libmikmod \
|
|
|
|
vorbis.0,vorbisfile.1::audio/libvorbis \
|
|
|
|
SDL.4::devel/sdl \
|
|
|
|
smpeg.1::devel/smpeg
|
|
|
|
|
2005-09-10 18:18:41 +00:00
|
|
|
WANTLIB= X11 Xext c ogg pthread usbhid m
|
2002-05-23 06:38:24 +00:00
|
|
|
|
2003-09-23 04:34:40 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
|
2005-07-06 05:04:58 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -Dunix=1" \
|
2005-07-03 21:36:35 +00:00
|
|
|
LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
|
2001-10-05 17:35:26 +00:00
|
|
|
|
2006-01-30 10:22:11 +00:00
|
|
|
pre-build:
|
|
|
|
@perl -pi -e 's,_SYSCONFDIR_,${SYSCONFDIR},g' \
|
|
|
|
${WRKSRC}/timidity/config.h
|
|
|
|
|
2003-06-18 09:24:42 +00:00
|
|
|
post-install:
|
2005-07-06 05:04:58 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/.libs/play{mus,wave} ${PREFIX}/bin
|
2003-06-18 09:24:42 +00:00
|
|
|
|
2001-05-07 04:07:03 +00:00
|
|
|
.include <bsd.port.mk>
|