openbsd-ports/audio/libao/Makefile
2001-06-30 13:16:40 +00:00

53 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2001/06/30 13:16:40 naddy Exp $
COMMENT= "portable audio output library"
DISTNAME= libao-0.7.0
CATEGORIES= audio
NEED_VERSION= 1.363
HOMEPAGE= http://www.vorbis.com
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/files/rc1/unix/
# no shared libraries?
.if (${MACHINE_ARCH} == "hppa") || (${MACHINE_ARCH} == "mvme88k") || \
(${MACHINE_ARCH} == "vax")
PLUGINS=
.else
FLAVORS= arts esd sun
FLAVOR?= sun
PLUGINS= ${FLAVOR}
.if ${FLAVOR:L:Marts}
LIB_DEPENDS+= artsc.0::x11/kde/libs2
.endif
.if ${FLAVOR:L:Mesd}
LIB_DEPENDS+= esd.2::audio/esound
.endif
.endif
BUILD_DEPENDS= automake::devel/automake
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static
MAKE_FLAGS= PLUGINS='${PLUGINS}'
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
post-patch:
@cd ${WRKSRC} && \
touch aclocal.m4 configure.in && \
automake -i
.include <bsd.port.mk>