mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
6527ef2070
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
51 lines
1010 B
Makefile
51 lines
1010 B
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= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
ftp://ftp.mars.org/pub/mpeg/
|
|
MASTER_SITE_SUBDIR= mad
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Madplay MP3 player (part of MAD project)
|
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
|
|
id3tag.0:${PORTSDIR}/audio/libid3tag
|
|
|
|
WANT_GNOME= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= 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>
|
|
|
|
.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>
|