openbsd-ports/audio/madplay/Makefile
martynas edf3a72e78 put it into the stopped state, if needed, before setting configuration
set and starting it again so that madplay could work with multiple
files properly.  ok naddy@
2009-06-20 14:56:18 +00:00

38 lines
893 B
Makefile

# $OpenBSD: Makefile,v 1.14 2009/06/20 14:56:18 martynas Exp $
COMMENT= command-line MPEG audio decoder and player
DISTNAME= madplay-0.15.2b
PKGNAME= ${DISTNAME}p2
CATEGORIES= audio
HOMEPAGE= http://mad.sourceforge.net/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv2
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/}
MODULES= devel/gettext
LIB_DEPENDS= id3tag.>=3::audio/libid3tag mad.>=2::audio/libmad
WANTLIB= c m sndio z
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
AUTOCONF_VERSION=2.59
AUTOMAKE_VERSION=1.8
CONFIGURE_STYLE= autoconf automake
CONFIGURE_ARGS= --without-esd
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-extract:
@cp -f ${FILESDIR}/audio_sndio.c ${WRKSRC}/
.include <bsd.port.mk>