2003-12-07 02:05:38 +01:00
|
|
|
# New ports collection makefile for: madplay
|
|
|
|
# Date created: 26 November 2003
|
|
|
|
# Whom: Sergey Akifyev <asa@gascom.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= madplay
|
2006-09-11 14:31:15 +02:00
|
|
|
PORTVERSION= 0.15.2b
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
2003-12-07 02:05:38 +01:00
|
|
|
|
2006-12-02 20:44:32 +01:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-12-07 02:05:38 +01:00
|
|
|
COMMENT= Madplay MP3 player (part of MAD project)
|
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
|
2005-10-28 09:59:53 +02:00
|
|
|
id3tag.0:${PORTSDIR}/audio/libid3tag
|
2003-12-07 02:05:38 +01:00
|
|
|
|
2010-06-04 15:49:15 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2003-12-07 02:05:38 +01:00
|
|
|
WANT_GNOME= yes
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-12-07 04:32:10 +01:00
|
|
|
ALL_TARGET= all madtime
|
2003-12-07 02:05:38 +01:00
|
|
|
|
|
|
|
MAN1= abxtest.1 madplay.1
|
|
|
|
|
2006-09-11 14:31:15 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-12-07 02:05:38 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-03-04 18:25:35 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2006-09-11 14:31:15 +02:00
|
|
|
.if ${HAVE_GNOME:Mesound} != ""
|
2003-12-07 02:05:38 +01:00
|
|
|
USE_GNOME+= esound
|
|
|
|
PKGNAMESUFFIX= -esound
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-esd
|
|
|
|
.endif
|
|
|
|
|
2003-12-07 04:32:10 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
|
|
|
|
|
2003-12-07 02:05:38 +01:00
|
|
|
.include <bsd.port.post.mk>
|