2000-12-19 15:39:12 +00:00
|
|
|
# New ports collection makefile for: mad
|
|
|
|
# Date created: 18 November 2000
|
2001-05-22 16:57:53 +00:00
|
|
|
# Whom: Jason R. Mastaler <jason@mastaler.com>
|
2000-12-19 15:39:12 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mad
|
2001-11-16 22:48:18 +00:00
|
|
|
PORTVERSION= 0.14.2b
|
2003-08-26 20:25:58 +00:00
|
|
|
PORTREVISION= 3
|
2000-12-19 15:39:12 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
ftp://ftp.mars.org/pub/mpeg/
|
|
|
|
MASTER_SITE_SUBDIR= mad
|
|
|
|
|
2001-05-22 16:57:53 +00:00
|
|
|
MAINTAINER= jason@mastaler.com
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= High-quality MPEG audio decoder
|
2000-12-19 15:39:12 +00:00
|
|
|
|
2003-08-25 05:41:38 +00:00
|
|
|
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
|
2001-02-20 18:51:09 +00:00
|
|
|
|
2002-08-31 00:13:25 +00:00
|
|
|
WANT_GNOME= yes
|
2001-08-18 23:33:12 +00:00
|
|
|
|
2002-07-08 19:33:27 +00:00
|
|
|
USE_AUTOCONF= yes
|
2000-12-19 15:39:12 +00:00
|
|
|
USE_LIBTOOL= yes
|
2002-07-08 19:33:27 +00:00
|
|
|
USE_REINPLACE= yes
|
2001-11-18 14:44:21 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-10-29 04:44:19 +00:00
|
|
|
LIBTOOLFILES= configure libmad/configure libid3tag/configure
|
2001-08-18 23:33:12 +00:00
|
|
|
CONFIGURE_ARGS= --enable-shared \
|
|
|
|
--disable-debugging \
|
|
|
|
--enable-sso \
|
|
|
|
--enable-accuracy
|
2001-02-20 18:51:09 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-12-19 15:39:12 +00:00
|
|
|
|
2001-02-20 18:51:09 +00:00
|
|
|
MAN1= abxtest.1 madplay.1
|
2000-12-19 15:39:12 +00:00
|
|
|
|
2001-11-18 14:44:21 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-08-31 00:13:25 +00:00
|
|
|
.if ${HAVE_GNOME:Mesound}!=""
|
|
|
|
USE_GNOME+= esound
|
|
|
|
PKGNAMESUFFIX= -esound
|
2001-11-18 14:44:21 +00:00
|
|
|
.else
|
2003-10-27 09:11:28 +00:00
|
|
|
CONFIGURE_ARGS+= --without-esd
|
2001-11-18 14:44:21 +00:00
|
|
|
.endif
|
|
|
|
|
2002-07-08 19:33:27 +00:00
|
|
|
post-patch:
|
|
|
|
# fix weird @INSTALL@ behavior caused by USE_AUTOCONF
|
|
|
|
@${FIND} ${WRKSRC} -type f -name Makefile.in | ${XARGS} -n 10 \
|
|
|
|
${REINPLACE_CMD} -E -e 's|^(INSTALL[[:space:]]*=).*$$|\1 ${INSTALL_DATA}|'
|
|
|
|
|
2001-11-18 14:44:21 +00:00
|
|
|
.include <bsd.port.post.mk>
|