1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/audio/muse/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
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)
2008-06-06 13:08:29 +00:00

68 lines
1.6 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: muse
# Date created: Jun 7, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= MuSE
PORTVERSION= 0.9.2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.dyne.org/muse/releases/ \
http://www.ljudmila.org/~jaromil/muse/releases/
MAINTAINER= stas@FreeBSD.org
COMMENT= Multiple Streaming Engine
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg.5:${PORTSDIR}/audio/libogg
USE_GETTEXT= yes
USE_GNOME= gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-debug --disable-lubrify --disable-rpath
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT -DHAVE_SYS_UIO_H \
${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl
OPTIONS= X11 "Build with X11 support" on \
MP3 "Build with MP3 support" on \
SNDFILE "Build with sndfile support" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -nox11
CONFIGURE_ARGS+=--without-x --with-rubik
.else
USE_GNOME+= gtk20
.endif
.if !defined(WITHOUT_MP3) || exists(${LOCALBASE}/lib/libmp3lame.so.0)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
.endif
.if !defined(WITHOUT_SNDFILE) || exists(${LOCALBASE}/lib/libsndfile.so.1)
LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
PLIST_FILES= bin/muse \
share/locale/es/LC_MESSAGES/muse.mo \
share/locale/it/LC_MESSAGES/muse.mo
MAN1= muse.1
post-patch:
.if exists(/usr/include/sys/soundcard.h)
${REINPLACE_CMD} -e "s,machine/soundcard.h,sys/soundcard.h,g" \
${WRKSRC}/src/portaudio/pa_unix_oss.c
.endif
.include <bsd.port.post.mk>