ajacoutot a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00

57 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.31 2015/05/22 11:31:11 ajacoutot Exp $
BROKEN-hppa = undefined reference to __sync atomic ops
BROKEN-mips64 = undefined reference to __sync atomic ops
BROKEN-mips64el = undefined reference to __sync atomic ops
COMMENT = cross-platform 3D audio API
V = 1.15.1
EPOCH = 0
REVISION = 1
DISTNAME = openal-soft-$V
PKGNAME = openal-$V
CATEGORIES = audio
SHARED_LIBS = openal 2.2
HOMEPAGE = http://kcat.strangesoft.net/openal.html
MAINTAINER = Antti Harri <iku@openbsd.fi>
# LGPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c m pthread sndio
MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,}
EXTRACT_SUFX = .tar.bz2
CONFIGURE_ARGS =-DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" \
-DCMAKE_BUILD_TYPE=OpenBSD \
-DDLOPEN=Off \
-DREQUIRE_SNDIO=On \
-DPULSEAUDIO=Off \
-DPORTAUDIO=Off \
-DSOLARIS=Off \
-DALSA=Off \
-DOSS=Off \
-DCOREAUDIO=Off \
-DDSOUND=Off \
-DOPENSL=Off \
-DEXAMPLES=Off
MODULES = devel/cmake
SEPARATE_BUILD =Yes
NO_TEST = Yes
pre-build:
@${SUBST_CMD} ${WRKSRC}/Alc/alcConfig.c
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openal
${INSTALL_DATA} ${WRKSRC}/alsoftrc.sample \
${PREFIX}/share/examples/openal
.include <bsd.port.mk>