- Support CFLAGS/CXXFLAGS properly
- Utilize NOPORTDOCS bump portrevision PR: 38991 Submitted by: Ports Fury
This commit is contained in:
parent
187bcf33c1
commit
7837b990ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60879
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
PORTNAME= muse
|
PORTNAME= muse
|
||||||
PORTVERSION= 0.7.1
|
PORTVERSION= 0.7.1
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= http://freesoftware.fsf.org/download/muse/ \
|
MASTER_SITES= http://freesoftware.fsf.org/download/muse/ \
|
||||||
http://muse.dyne.org/releases/
|
http://muse.dyne.org/releases/
|
||||||
@ -15,19 +16,32 @@ DISTNAME= MuSE-${PORTVERSION}
|
|||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame \
|
LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
|
||||||
ogg:${PORTSDIR}/audio/libogg \
|
vorbis.1:${PORTSDIR}/audio/libvorbis \
|
||||||
vorbis:${PORTSDIR}/audio/libvorbis \
|
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
||||||
gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
|
||||||
|
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
||||||
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
|
||||||
USE_GMAKE= 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:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,-lgthread,-lgthread12,g" ${WRKSRC}/configure
|
@${PERL} -pi -e 's|-O3|\$$CFLAGS|g ; \
|
||||||
@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile.in
|
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>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
--- Makefile.in.orig Fri Jun 7 02:45:04 2002
|
|
||||||
+++ Makefile.in Fri Jun 7 02:46:00 2002
|
|
||||||
@@ -98,7 +98,7 @@
|
|
||||||
|
|
||||||
|
|
||||||
docs_DATA = README COPYING USAGE AUTHORS NEWS KNOWN-BUGS ChangeLog TODO
|
|
||||||
-docsdir = ${prefix}/doc/MuSE
|
|
||||||
+docsdir = ${prefix}/share/doc/MuSE
|
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
||||||
CONFIG_HEADER = config.h
|
|
||||||
@@ -197,8 +197,8 @@
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
||||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
||||||
if test -f $$p; then \
|
|
||||||
- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
|
||||||
+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
||||||
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed 's/$$/$(EXEEXT)/'`; \
|
|
||||||
else :; fi; \
|
|
||||||
done
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
|||||||
bin/muse
|
bin/muse
|
||||||
share/doc/MuSE/AUTHORS
|
%%PORTDOCS%%share/doc/muse/AUTHORS
|
||||||
share/doc/MuSE/COPYING
|
%%PORTDOCS%%share/doc/muse/ChangeLog
|
||||||
share/doc/MuSE/ChangeLog
|
%%PORTDOCS%%share/doc/muse/KNOWN-BUGS
|
||||||
share/doc/MuSE/KNOWN-BUGS
|
%%PORTDOCS%%share/doc/muse/NEWS
|
||||||
share/doc/MuSE/NEWS
|
%%PORTDOCS%%share/doc/muse/README
|
||||||
share/doc/MuSE/README
|
%%PORTDOCS%%share/doc/muse/TODO
|
||||||
share/doc/MuSE/TODO
|
%%PORTDOCS%%share/doc/muse/USAGE
|
||||||
share/doc/MuSE/USAGE
|
%%PORTDOCS%%@dirrm share/doc/muse
|
||||||
@dirrm share/doc/MuSE
|
|
||||||
|
Loading…
Reference in New Issue
Block a user