2005-12-23 11:10:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2005/12/23 16:10:48 espie Exp $
|
2004-10-21 01:04:16 -04:00
|
|
|
|
|
|
|
COMMENT= "cross-platform 3D audio API"
|
|
|
|
DISTNAME= openal-20040816
|
2005-12-23 11:10:48 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-10-21 01:04:16 -04:00
|
|
|
CATEGORIES= audio
|
2005-12-23 11:10:48 -05:00
|
|
|
SHARED_LIBS= openal 0.0
|
2004-10-21 01:04:16 -04:00
|
|
|
MASTER_SITES= http://math.smsu.edu/~erik/files/fbsd/ \
|
|
|
|
http://www.smluc.org/~erik/files/fbsd/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.openal.org/
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 12:51:44 -05:00
|
|
|
WANTLIB= m ogg
|
2004-10-21 01:04:16 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= vorbis.3.0,vorbisfile.4.0::audio/libvorbis
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/linux
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=--enable-vorbis
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LIBS="-logg"
|
|
|
|
|
2005-12-23 11:10:48 -05:00
|
|
|
MAKE_FLAGS=MAJOR_VERSION=${LIBopenal_VERSION:R} VERSION=${LIBopenal_VERSION}
|
|
|
|
FAKE_FLAGS=${MAKE_FLAGS} DESTDIR=${WRKINST}
|
|
|
|
|
2004-10-21 01:04:16 -04:00
|
|
|
.include <bsd.port.mk>
|