From 01c00e325d13f50d0d27a23cbecdcc14ea770f38 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 28 Feb 2017 09:01:41 +0000 Subject: [PATCH] - Fix LICENSE - Add LICENSE_FILE - Switch to options helpers --- audio/muse/Makefile | 10 ++++------ audio/muse/pkg-plist | 4 ++++ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 audio/muse/pkg-plist diff --git a/audio/muse/Makefile b/audio/muse/Makefile index f2523e2e18e7..fc939a4b6899 100644 --- a/audio/muse/Makefile +++ b/audio/muse/Makefile @@ -10,7 +10,8 @@ MASTER_SITES= https://files.dyne.org/muse/sources/ MAINTAINER= ports@FreeBSD.org COMMENT= Multiple Streaming Engine -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis @@ -26,10 +27,6 @@ CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_SYS_UIO_H LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lintl PORTDOCS= AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE -PLIST_FILES= bin/muse man/man1/muse.1.gz -.for lang in es it -PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/muse.mo -.endfor LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENV= ac_cv_header_lame_lame_h=no @@ -40,11 +37,12 @@ X11_CONFIGURE_OFF= --without-x --with-rubik post-patch: @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \ ${WRKSRC}/src/portaudio/pa_unix_oss.c + post-patch-SNDFILE-off: @${REINPLACE_CMD} -e '/sndfile >=/s|$$PKG_CONFIG|${FALSE}|' \ ${WRKSRC}/configure -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) diff --git a/audio/muse/pkg-plist b/audio/muse/pkg-plist new file mode 100644 index 000000000000..c10a40de9ad0 --- /dev/null +++ b/audio/muse/pkg-plist @@ -0,0 +1,4 @@ +bin/muse +man/man1/muse.1.gz +share/locale/es/LC_MESSAGES/muse.mo +share/locale/it/LC_MESSAGES/muse.mo