2000-01-06 01:00:51 +01:00
|
|
|
# New ports collection makefile for: mp3blaster
|
|
|
|
# Date created: 5 January 2000
|
|
|
|
# Whom: Michael Vasilenko <acid@stu.cn.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= mp3blaster
|
2002-10-22 05:05:23 +02:00
|
|
|
PORTVERSION= 3.1.3
|
2000-01-06 01:00:51 +01:00
|
|
|
CATEGORIES= audio
|
2002-10-22 05:05:23 +02:00
|
|
|
MASTER_SITES= http://www.stack.nl/~brama/mp3blaster/src/
|
2000-01-06 01:00:51 +01:00
|
|
|
|
2001-05-17 20:01:52 +02:00
|
|
|
MAINTAINER= greid@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= MP3 console ncurses-based player
|
2000-01-06 01:00:51 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2001-01-27 16:23:18 +01:00
|
|
|
|
2000-01-06 01:00:51 +01:00
|
|
|
.if ${OSVERSION} < 400010
|
2001-01-27 16:23:18 +01:00
|
|
|
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
|
2000-01-06 01:00:51 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-07-21 22:54:54 +02:00
|
|
|
CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS}" \
|
|
|
|
--without-sidplay
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-09-26 02:07:08 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2002-07-21 22:54:54 +02:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_VORBIS)
|
|
|
|
LIB_DEPENDS+= vorbisfile.3:${PORTSDIR}/audio/libvorbis
|
|
|
|
.else
|
2002-10-22 05:05:23 +02:00
|
|
|
CONFIGURE_ARGS+= --without-oggvorbis
|
2002-07-21 22:54:54 +02:00
|
|
|
.endif
|
2000-01-06 01:00:51 +01:00
|
|
|
|
2001-02-21 09:05:45 +01:00
|
|
|
MAN1= mp3blaster.1 nmixer.1 splay.1
|
2000-01-06 01:00:51 +01:00
|
|
|
|
2002-07-21 22:54:54 +02:00
|
|
|
.if !defined(WITHOUT_VORBIS)
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2002-07-21 22:54:54 +02:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "You can disable support for Ogg Vorbis by defining WITHOUT_VORBIS."
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
2000-01-06 01:00:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|