7837b990ee
- Utilize NOPORTDOCS bump portrevision PR: 38991 Submitted by: Ports Fury
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: muse
|
|
# Date created: Jun 7, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= muse
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://freesoftware.fsf.org/download/muse/ \
|
|
http://muse.dyne.org/releases/
|
|
DISTNAME= MuSE-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
|
|
vorbis.1:${PORTSDIR}/audio/libvorbis \
|
|
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
USE_GTK= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
|
CONFIGURE_ARGS= --disable-debug
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's|-O3|\$$CFLAGS|g ; \
|
|
s|\$$GTK_LIBS -lgthread|\$$GTK_LIBS \$$GLIB_LIBS|g ; \
|
|
s|\$$GTK_FLAGS|\$$GTK_CFLAGS \$$GLIB_CFLAGS|g' \
|
|
${WRKSRC}/configure
|
|
@${PERL} -pi -e 's|-lpthread||g' ${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/muse ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS ChangeLog KNOWN-BUGS NEWS README TODO USAGE
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|