2011-07-02 03:34:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2011/07/02 07:34:31 jasper Exp $
|
2004-10-21 01:04:16 -04:00
|
|
|
|
2011-06-25 14:42:02 -04:00
|
|
|
COMMENT = cross-platform 3D audio API
|
2008-04-04 05:33:10 -04:00
|
|
|
|
2011-07-02 03:34:31 -04:00
|
|
|
V = 20110627
|
2011-06-25 14:42:02 -04:00
|
|
|
DISTNAME = openal-soft-$V
|
|
|
|
PKGNAME = openal-$V
|
|
|
|
CATEGORIES = audio
|
|
|
|
SHARED_LIBS = openal 2.0
|
2004-10-21 01:04:16 -04:00
|
|
|
|
2011-06-25 14:42:02 -04:00
|
|
|
HOMEPAGE = http://kcat.strangesoft.net/openal.html
|
2004-10-21 01:04:16 -04:00
|
|
|
|
2011-06-26 16:05:26 -04:00
|
|
|
MAINTAINER = Antti Harri <iku@openbsd.fi>
|
|
|
|
|
2011-06-26 05:58:08 -04:00
|
|
|
# LGPLv2+
|
2011-06-25 14:42:02 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2010-09-05 20:04:28 -04:00
|
|
|
|
2011-07-02 03:34:31 -04:00
|
|
|
WANTLIB = c m pthread sndio
|
2004-10-21 01:04:16 -04:00
|
|
|
|
2011-07-02 03:34:31 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,} \
|
|
|
|
http://openbsd.fi/dist/
|
2004-10-21 01:04:16 -04:00
|
|
|
|
2011-07-02 03:34:31 -04:00
|
|
|
CONFIGURE_ARGS =-DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" \
|
|
|
|
-DCMAKE_BUILD_TYPE=OpenBSD \
|
|
|
|
-DDLOPEN=Off \
|
|
|
|
-DPULSEAUDIO=Off \
|
|
|
|
-DPORTAUDIO=Off \
|
|
|
|
-DSOLARIS=Off \
|
|
|
|
-DALSA=Off \
|
|
|
|
-DOSS=Off
|
2010-10-28 06:02:04 -04:00
|
|
|
|
2011-07-02 03:34:31 -04:00
|
|
|
MODULES = devel/cmake
|
|
|
|
|
|
|
|
NO_REGRESS = Yes
|
2004-10-21 01:04:16 -04:00
|
|
|
|
2011-06-26 05:58:08 -04:00
|
|
|
pre-build:
|
|
|
|
@${SUBST_CMD} ${WRKSRC}/Alc/alcConfig.c
|
|
|
|
|
2011-06-25 14:42:02 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openal
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/alsoftrc.sample \
|
|
|
|
${PREFIX}/share/examples/openal
|
2009-12-16 15:00:41 -05:00
|
|
|
|
2004-10-21 01:04:16 -04:00
|
|
|
.include <bsd.port.mk>
|