509069c24a
and doesn't depend on the external version. correct the licensing comment (GPL->LGPL).
40 lines
922 B
Makefile
40 lines
922 B
Makefile
# $OpenBSD: Makefile,v 1.19 2003/09/23 04:34:40 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>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
LIB_DEPENDS= SDL::devel/sdl \
|
|
smpeg.1::devel/smpeg \
|
|
vorbis.0,vorbisfile.1::audio/libvorbis
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \
|
|
PPFLAGS="-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>
|