2004-08-10 04:04:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2004/08/10 08:04:02 xsa Exp $
|
2003-12-10 16:27:12 -05:00
|
|
|
|
|
|
|
COMMENT= "command-line MPEG audio decoder and player"
|
|
|
|
|
2004-06-16 18:59:12 -04:00
|
|
|
DISTNAME= madplay-0.15.2b
|
2003-12-10 16:27:12 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
HOMEPAGE= http://mad.sourceforge.net/
|
|
|
|
|
2003-12-10 16:36:53 -05:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
2003-12-10 16:27:12 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.mars.org/pub/mpeg/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:=mad/}
|
|
|
|
|
2004-08-10 04:04:01 -04:00
|
|
|
MODULES= devel/gettext
|
2004-02-20 21:32:20 -05:00
|
|
|
LIB_DEPENDS= id3tag.3::audio/libid3tag mad.2::audio/libmad
|
2003-12-10 16:27:12 -05:00
|
|
|
|
|
|
|
FLAVORS= esd
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mesd}
|
|
|
|
CONFIGURE_ARGS+= --with-esd
|
|
|
|
LIB_DEPENDS+= esd.2::audio/esound
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-esd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|