openbsd-ports/devel/sdl-sound/Makefile

42 lines
969 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2012/06/01 15:57:51 ajacoutot Exp $
COMMENT= library that handles the decoding of sound file formats
2010-07-24 22:11:14 -04:00
DISTNAME= SDL_sound-1.0.3
PKGNAME= ${DISTNAME:L:S/_/-/}
REVISION= 1
CATEGORIES= devel audio
2006-07-11 11:28:24 -04:00
MASTER_SITES= http://offload1.icculus.org/SDL_sound/downloads/
2010-07-24 22:11:14 -04:00
SHARED_LIBS= SDL_sound 2.0
HOMEPAGE= http://icculus.org/SDL_sound/
2010-07-24 22:11:14 -04:00
# LGPLv2.1+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= FLAC SDL c m mikmod ogg pthread physfs \
smpeg speex sndio usbhid vorbis \
vorbisfile z
2010-07-24 22:11:14 -04:00
MODULES= converters/libiconv
2010-11-15 14:45:56 -05:00
LIB_DEPENDS+= audio/flac \
audio/libmikmod \
audio/libvorbis \
audio/speex \
devel/physfs \
devel/sdl \
devel/smpeg
USE_LIBTOOL= Yes
2010-07-24 22:11:14 -04:00
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
CONFIGURE_ARGS+=--disable-modplug
2010-07-24 22:11:14 -04:00
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/smpeg -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>