openbsd-ports/audio/openal/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

55 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2010/11/15 00:22:47 espie Exp $
COMMENT= cross-platform 3D audio API
DISTNAME= openal-0.0.8
REVISION= 8
CATEGORIES= audio
SHARED_LIBS += openal 1.0 # .0.0
HOMEPAGE= http://www.openal.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m sndio
MASTER_SITES= http://openbsd.dead-parrot.de/distfiles/
USE_GMAKE= Yes
USE_LIBTOOL= Yes
# auto* uses libtool macros
BUILD_DEPENDS= devel/libtool
AUTOCONF_VERSION=2.59
AUTOMAKE_VERSION=1.9
CONFIGURE_STYLE=autoconf automake
CONFIGURE_ARGS= --disable-vorbis \
--disable-arts \
--disable-mp3 \
--disable-esd \
--disable-sdl \
--disable-solaris
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/admin/autotools
post-extract:
@cp ${FILESDIR}/alc_backend_sndio.c ${WRKSRC}/src/backends/
AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
post-patch:
@echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
@cd ${WRKSRC}; ${AUTO_ENV} aclocal -I admin/autotools/m4
pre-configure:
@echo "Running automake-${AUTOMAKE_VERSION} in ${WRKSRC}"
@cd ${WRKSRC}; ${AUTO_ENV} automake --foreign
.include <bsd.port.mk>