openbsd-ports/audio/libao/Makefile

69 lines
1.6 KiB
Makefile
Raw Normal View History

2002-08-07 16:40:15 -04:00
# $OpenBSD: Makefile,v 1.20 2002/08/07 20:40:15 naddy Exp $
2001-03-25 17:04:07 -05:00
COMMENT= "portable audio output library"
COMMENT-arts= "aRts module for portable audio output library"
COMMENT-esd= "ESounD module for portable audio output library"
2002-07-19 20:52:44 -04:00
VERSION= 0.8.3
DISTNAME= libao-${VERSION}
2002-08-07 16:40:15 -04:00
PKGNAME-arts= libao-arts-${VERSION}
PKGNAME-esd= libao-esd-${VERSION}
CATEGORIES= audio
HOMEPAGE= http://www.vorbis.com/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.linuxpowered.com/pub/Vorbis/unix/ \
ftp://ftp.wiles.org/pub/mirrors/Vorbis/unix/ \
2002-07-19 20:52:44 -04:00
http://xiph.stratius.com/vorbis/unix/ \
http://www.oddsock.org/vorbis/unix/ \
http://www.casterclub.com/vorbis/unix/ \
http://www.math.utoledo.edu/~chaese/Vorbis/unix/
2001-10-08 10:57:55 -04:00
2002-08-07 16:40:15 -04:00
PSEUDO_FLAVORS= no_arts no_esd
2001-07-26 08:31:32 -04:00
FLAVOR?= no_arts
MULTI_PACKAGES=
2001-07-26 08:31:32 -04:00
.if !${FLAVOR:L:Mno_arts}
MULTI_PACKAGES+= -arts
.endif
2001-07-26 08:31:32 -04:00
.if !${FLAVOR:L:Mno_esd}
MULTI_PACKAGES+= -esd
.endif
SUBPACKAGE?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static
.if ${FLAVOR:L:Mno_arts}
CONFIGURE_ARGS+= --disable-arts
.endif
.if ${FLAVOR:L:Mno_esd}
CONFIGURE_ARGS+= --disable-esd
.endif
.if defined(PACKAGING)
. if ${SUBPACKAGE} == "-arts"
LIB_DEPENDS= ao.3::audio/libao \
artsc.0::x11/kde/arts3
. elif ${SUBPACKAGE} == "-esd"
LIB_DEPENDS= ao.3::audio/libao \
esd.2::audio/esound
. endif
.else
. if ${MULTI_PACKAGES:M-arts}
LIB_DEPENDS+= artsc.0::x11/kde/arts3
. endif
. if ${MULTI_PACKAGES:M-esd}
LIB_DEPENDS+= esd.2::audio/esound
. endif
.endif
.include <bsd.port.mk>