openbsd-ports/devel/sdl-mixer/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

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