openbsd-ports/devel/sdl-mixer/Makefile

41 lines
957 B
Makefile

# $OpenBSD: Makefile,v 1.18 2003/06/18 09:24:42 jolan Exp $
COMMENT= "SDL multi-channel audio mixer library"
DISTNAME= SDL_mixer-1.2.5
PKGNAME= ${DISTNAME:L:S/_/-/}p2
CATEGORIES= devel audio
MASTER_SITES= ${HOMEPAGE}release/
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
LIB_DEPENDS= SDL::devel/sdl \
mikmod.2::audio/libmikmod \
smpeg.1::devel/smpeg \
vorbis.0,vorbisfile.1::audio/libvorbis
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
post-install:
${INSTALL_PROGRAM} ${WRKBUILD}/.libs/play{mus,wave} ${PREFIX}/bin
.include <bsd.port.mk>