openbsd-ports/audio/madplay/Makefile

42 lines
887 B
Makefile
Raw Normal View History

2006-09-18 05:04:03 -04:00
# $OpenBSD: Makefile,v 1.9 2006/09/18 09:04:03 espie Exp $
COMMENT= "command-line MPEG audio decoder and player"
2004-06-16 18:59:12 -04:00
DISTNAME= madplay-0.15.2b
CATEGORIES= audio
HOMEPAGE= http://mad.sourceforge.net/
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.mars.org/pub/mpeg/ \
${MASTER_SITE_SOURCEFORGE:=mad/}
2004-08-10 04:04:01 -04:00
MODULES= devel/gettext
2006-09-18 05:04:03 -04:00
LIB_DEPENDS= id3tag.>=3::audio/libid3tag mad.>=2::audio/libmad
2005-10-18 19:24:25 -04:00
WANTLIB= c m z
FLAVORS= esd
FLAVOR?=
.if ${FLAVOR:L:Mesd}
CONFIGURE_ARGS+= --with-esd
2006-09-18 05:04:03 -04:00
LIB_DEPENDS+= esd.>=2::audio/esound
2004-11-21 12:51:44 -05:00
WANTLIB+= audiofile
.else
CONFIGURE_ARGS+= --without-esd
.endif
2005-10-18 19:24:25 -04:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>