45 lines
952 B
Makefile
45 lines
952 B
Makefile
# $OpenBSD: Makefile,v 1.2 2001/07/25 06:07:07 pvalchev Exp $
|
|
|
|
COMMENT= "high-quality mpeg audio decoder"
|
|
|
|
VERSION= 0.13.0b
|
|
DISTNAME= mad-${VERSION}
|
|
CATEGORIES= audio devel
|
|
NEED_VERSION= 1.425
|
|
|
|
HOMEPAGE= http://mad.sourceforge.net/
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://ftp.mars.org/pub/mpeg/
|
|
MASTER_SITE_SUBDIR= mad
|
|
|
|
LIB_DEPENDS= intl.1:gettext-*:devel/gettext
|
|
|
|
FLAVORS= debug
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
CONFIGURE_ARGS+= --enable-debugging
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-debugging
|
|
.endif
|
|
|
|
USE_GMAKE= Yes
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-sso \
|
|
--enable-accuracy \
|
|
--enable-nls
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|