freebsd-ports/audio/madplay/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

54 lines
1 KiB
Makefile

# New ports collection makefile for: madplay
# Date created: 26 November 2003
# Whom: Sergey Akifyev <asa@gascom.ru>
#
# $FreeBSD$
#
PORTNAME= madplay
PORTVERSION= 0.15.2b
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
ftp://ftp.mars.org/pub/mpeg/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Madplay MP3 player (part of MAD project)
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
id3tag.0:${PORTSDIR}/audio/libid3tag
LICENSE= GPLv2
WANT_GNOME= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= all madtime
MAN1= abxtest.1 madplay.1
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.pre.mk>
CFLAGS+= -I${LOCALBASE}/include
.if ${HAVE_GNOME:Mesound} != ""
USE_GNOME+= esound
PKGNAMESUFFIX= -esound
.else
CONFIGURE_ARGS+= --without-esd
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
.include <bsd.port.post.mk>