- Fix LICENSE

- Add LICENSE_FILE
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-02-28 09:01:41 +00:00
parent 255d1799b5
commit 01c00e325d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435010
2 changed files with 8 additions and 6 deletions

View File

@ -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})

4
audio/muse/pkg-plist Normal file
View File

@ -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