freebsd-ports/audio/madplay/Makefile

54 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
PORTNAME= madplay
PORTVERSION= 0.15.2b
2011-12-21 13:15:18 +01:00
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
ftp://ftp.mars.org/pub/mpeg/
MAINTAINER= ports@FreeBSD.org
COMMENT= Madplay MP3 player (part of MAD project)
2010-06-04 15:49:15 +02:00
LICENSE= GPLv2
LIB_DEPENDS= mad:${PORTSDIR}/audio/libmad \
id3tag:${PORTSDIR}/audio/libid3tag
WANT_GNOME= yes
GNU_CONFIGURE= yes
2011-12-21 13:15:18 +01:00
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lz
ALL_TARGET= all madtime
NO_STAGE= yes
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}
USES+= gettext
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
.else
CONFIGURE_ARGS+= --without-esd
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/madtime ${PREFIX}/bin
2012-09-16 17:47:00 +02:00
.include <bsd.port.mk>