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
|
2011-12-21 13:15:18 +01:00
|
|
|
PORTREVISION= 3
|
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-07-25 16:43:20 +02:00
|
|
|
LIB_DEPENDS= mad:${PORTSDIR}/audio/libmad \
|
|
|
|
id3tag:${PORTSDIR}/audio/libid3tag
|
|
|
|
|
2003-12-07 02:05:38 +01:00
|
|
|
WANT_GNOME= yes
|
|
|
|
|
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
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2003-12-07 02:05:38 +01:00
|
|
|
|
|
|
|
MAN1= abxtest.1 madplay.1
|
|
|
|
|
2012-09-16 17:47:00 +02:00
|
|
|
OPTIONS_DEFINE=NLS ESOUND
|
|
|
|
OPTIONS_DEFAULT=NLS ESOUND
|
|
|
|
NO_OPTIONS_SORT=yes
|
|
|
|
TCL82_MAN_DESC= Install tcl 8.3 manpages
|
2011-12-21 13:15:18 +01:00
|
|
|
|
2012-09-16 17:47:00 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2011-12-21 13:15:18 +01:00
|
|
|
|
2012-09-16 17:47:00 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2006-09-11 14:31:15 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-09-16 17:47:00 +02:00
|
|
|
.if ${PORT_OPTIONS:MESOUND}
|
2011-12-21 13:15:18 +01:00
|
|
|
USE_GNOME+= esound
|
2012-02-15 07:53:41 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-esd
|
2003-12-07 02:05:38 +01:00
|
|
|
.endif
|
|
|
|
|
2003-12-07 04:32:10 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
|
|
|
|
|
2012-09-16 17:47:00 +02:00
|
|
|
.include <bsd.port.mk>
|