2001-10-08 10:57:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2001/10/08 14:57:55 naddy Exp $
|
2001-03-13 20:54:08 -05:00
|
|
|
|
2001-03-25 17:04:07 -05:00
|
|
|
COMMENT= "portable audio output library"
|
2001-07-21 20:12:55 -04:00
|
|
|
COMMENT-arts= "aRts module for portable audio output library"
|
|
|
|
COMMENT-esd= "ESounD module for portable audio output library"
|
|
|
|
|
2001-07-26 08:31:32 -04:00
|
|
|
FULLPKGNAME= libao-${VERSION}
|
|
|
|
FULLPKGNAME-arts= libao-arts-${VERSION}
|
|
|
|
FULLPKGNAME-esd= libao-esd-${VERSION}
|
2001-08-09 11:07:31 -04:00
|
|
|
|
2001-08-20 17:53:56 -04:00
|
|
|
VERSION= 0.8.0
|
2001-08-09 11:07:31 -04:00
|
|
|
DISTNAME= libao-${VERSION}
|
2001-03-13 20:54:08 -05:00
|
|
|
CATEGORIES= audio
|
2001-08-20 17:53:56 -04:00
|
|
|
NEED_VERSION= 1.435
|
2001-07-25 14:39:29 -04:00
|
|
|
HOMEPAGE= http://www.vorbis.com/
|
2001-03-13 20:54:08 -05:00
|
|
|
|
2001-03-20 10:25:33 -05:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
2001-03-13 20:54:08 -05:00
|
|
|
|
2001-08-20 17:53:56 -04:00
|
|
|
# GPL
|
2001-03-13 20:54:08 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-08-20 17:53:56 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}files/rc2/unix/
|
2001-03-13 20:54:08 -05:00
|
|
|
|
2001-10-08 10:57:55 -04:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
|
|
|
|
patch-*
|
|
|
|
|
2001-07-25 14:39:29 -04:00
|
|
|
FLAVORS= no_arts no_esd
|
2001-07-26 08:31:32 -04:00
|
|
|
FLAVOR?= no_arts
|
2001-03-16 06:58:43 -05:00
|
|
|
|
2001-07-25 14:39:29 -04:00
|
|
|
MULTI_PACKAGES=
|
2001-07-26 08:31:32 -04:00
|
|
|
.if !${FLAVOR:L:Mno_arts}
|
2001-07-25 14:39:29 -04:00
|
|
|
MULTI_PACKAGES+= -arts
|
|
|
|
.endif
|
2001-07-26 08:31:32 -04:00
|
|
|
.if !${FLAVOR:L:Mno_esd}
|
2001-07-25 14:39:29 -04:00
|
|
|
MULTI_PACKAGES+= -esd
|
2001-03-16 06:58:43 -05:00
|
|
|
.endif
|
|
|
|
|
2001-07-25 14:39:29 -04:00
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static
|
2001-08-09 11:07:31 -04:00
|
|
|
.if ${FLAVOR:L:Mno_arts}
|
|
|
|
CONFIGURE_ARGS+= --disable-arts
|
|
|
|
.endif
|
|
|
|
.if ${FLAVOR:L:Mno_esd}
|
|
|
|
CONFIGURE_ARGS+= --disable-esd
|
|
|
|
.endif
|
2001-07-25 14:39:29 -04:00
|
|
|
|
|
|
|
.if defined(PACKAGING)
|
|
|
|
. if ${SUBPACKAGE} == "-arts"
|
2001-08-20 17:53:56 -04:00
|
|
|
LIB_DEPENDS= ao.2::audio/libao \
|
2001-07-21 20:12:55 -04:00
|
|
|
artsc.0::x11/kde/libs2
|
2001-07-25 14:39:29 -04:00
|
|
|
. elif ${SUBPACKAGE} == "-esd"
|
2001-08-20 17:53:56 -04:00
|
|
|
LIB_DEPENDS= ao.2::audio/libao \
|
2001-07-21 20:12:55 -04:00
|
|
|
esd.2::audio/esound
|
2001-07-25 14:39:29 -04:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
. if ${MULTI_PACKAGES:M-arts}
|
|
|
|
LIB_DEPENDS+= artsc.0::x11/kde/libs2
|
|
|
|
. endif
|
|
|
|
. if ${MULTI_PACKAGES:M-esd}
|
|
|
|
LIB_DEPENDS+= esd.2::audio/esound
|
|
|
|
. endif
|
2001-03-16 06:58:43 -05:00
|
|
|
.endif
|
2001-03-13 20:54:08 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|