2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2005/04/11 21:44:54 tv Exp $
|
2003-07-10 10:45:31 +02:00
|
|
|
#
|
|
|
|
|
2004-03-01 16:56:58 +01:00
|
|
|
DISTNAME= madplay-0.15.2b
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
2003-07-10 10:45:31 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
|
|
|
|
ftp://ftp.mars.org/pub/mpeg/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= simonb@NetBSD.org
|
2003-07-10 10:45:31 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/mad/
|
|
|
|
COMMENT= High-quality MPEG audio decoder
|
|
|
|
|
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
2004-03-23 00:02:11 +01:00
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
|
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
|
2004-06-22 15:59:10 +02:00
|
|
|
BUILD_DEFS+= USE_ESOUND
|
|
|
|
BUILD_DEFS+= USE_OSS
|
|
|
|
|
2003-07-10 10:45:31 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-06-22 15:59:10 +02:00
|
|
|
.if empty(USE_ESOUND:M[Yy][Ee][Ss])
|
|
|
|
CONFIGURE_ARGS+= --without-esd
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(USE_ESOUND:M[Yy][Ee][Ss])
|
2004-03-01 16:56:58 +01:00
|
|
|
.include "../../audio/esound/buildlink3.mk"
|
2004-06-22 15:59:10 +02:00
|
|
|
.endif
|
2004-03-01 16:56:58 +01:00
|
|
|
.include "../../audio/libid3tag/buildlink3.mk"
|
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2003-07-10 10:45:31 +02:00
|
|
|
|
|
|
|
.if defined(USE_OSS)
|
2004-03-01 16:56:58 +01:00
|
|
|
. include "../../mk/ossaudio.buildlink3.mk"
|
2003-07-10 10:45:31 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|