2012-10-21 10:45:35 +02:00
|
|
|
# Created by: Sergey Akifyev <asa@gascom.ru>
|
2003-12-07 02:05:38 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= madplay
|
2006-09-11 14:31:15 +02:00
|
|
|
PORTVERSION= 0.15.2b
|
2014-02-05 16:53:18 +01:00
|
|
|
PORTREVISION= 4
|
2003-12-07 02:05:38 +01:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
|
2003-12-07 02:05:38 +01:00
|
|
|
ftp://ftp.mars.org/pub/mpeg/
|
2009-08-22 02:13:26 +02:00
|
|
|
|
2012-10-21 10:47:17 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-12-07 02:05:38 +01:00
|
|
|
COMMENT= Madplay MP3 player (part of MAD project)
|
|
|
|
|
2010-06-04 15:49:15 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \
|
|
|
|
libid3tag.so:${PORTSDIR}/audio/libid3tag
|
2013-07-25 16:43:20 +02:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-12-21 13:15:18 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2013-07-25 16:43:20 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lz
|
2003-12-07 04:32:10 +01:00
|
|
|
ALL_TARGET= all madtime
|
2011-12-21 13:15:18 +01:00
|
|
|
|
2013-12-23 15:02:49 +01:00
|
|
|
OPTIONS_DEFINE= NLS ESOUND
|
|
|
|
OPTIONS_DEFAULT=ESOUND
|
|
|
|
OPTIONS_SUB= yes
|
2006-09-11 14:31:15 +02:00
|
|
|
|
2013-12-23 15:02:49 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
ESOUND_USE= GNOME=esound
|
|
|
|
ESOUND_CONFIGURE_WITH= esd
|
2003-12-07 02:05:38 +01:00
|
|
|
|
2003-12-07 04:32:10 +01:00
|
|
|
post-install:
|
2013-12-23 15:02:49 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${STAGEDIR}${PREFIX}/bin
|
2003-12-07 04:32:10 +01:00
|
|
|
|
2012-09-16 17:47:00 +02:00
|
|
|
.include <bsd.port.mk>
|