diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-24 15:59:55 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-24 15:59:55 +0000 |
commit | 6cf5344ffb033775f865f9aba62d96b2e6b3b6bf (patch) | |
tree | 5132e62fa5ba54e7fbb57b751df0c4091a8bd7e8 /audio | |
parent | c79275aa0d0175a1042acd87f511abc749ca5718 (diff) | |
download | freebsd-ports-6cf5344ffb033775f865f9aba62d96b2e6b3b6bf.zip |
- Take maintainership
- Switch to USES=localbase
- Switch to normal pkg-plist
- Make NLS support optional
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mhwaveedit/Makefile | 25 | ||||
-rw-r--r-- | audio/mhwaveedit/pkg-plist | 12 |
2 files changed, 18 insertions, 19 deletions
diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile index 8df2e7a52a23..a7ce8278f51d 100644 --- a/audio/mhwaveedit/Makefile +++ b/audio/mhwaveedit/Makefile @@ -7,39 +7,24 @@ PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://download.gna.org/mhwaveedit/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= amdmi3@FreeBSD.org COMMENT= Graphical program for editing sound files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= pathfix pkgconfig tar:bzip2 +USES= localbase pathfix pkgconfig tar:bzip2 USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-alsalib --without-arts -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -PLIST_FILES= bin/mhwaveedit \ - man/man1/mhwaveedit.1.gz \ - share/applications/mhwaveedit.desktop \ - share/locale/de/LC_MESSAGES/mhwaveedit.mo \ - share/locale/es/LC_MESSAGES/mhwaveedit.mo \ - share/locale/fr/LC_MESSAGES/mhwaveedit.mo \ - share/locale/it/LC_MESSAGES/mhwaveedit.mo \ - share/locale/pl/LC_MESSAGES/mhwaveedit.mo \ - share/locale/ru/LC_MESSAGES/mhwaveedit.mo \ - share/locale/sv/LC_MESSAGES/mhwaveedit.mo \ - share/locale/zh_CN/LC_MESSAGES/mhwaveedit.mo \ - share/pixmaps/mhwaveedit.xpm - BROKEN_sparc64= Does not compile on sparc64 BROKEN_powerpc64= Does not build on powerpc64 OPTIONS_DEFINE= DOUBLE_SAMPLES ESOUND JACK LADSPA OSS PORTAUDIO \ - PULSEAUDIO SAMPLERATE SDL SNDFILE + PULSEAUDIO SAMPLERATE SDL SNDFILE NLS OPTIONS_DEFAULT= OSS SAMPLERATE SNDFILE +OPTIONS_SUB= yes DOUBLE_SAMPLES_DESC= Increase quality for 24/32-bit samplerates DOUBLE_SAMPLES_CONFIGURE_WITH= double-samples @@ -61,6 +46,8 @@ SDL_USE= sdl=sdl SDL_CONFIGURE_WITH= sdl SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_WITH= libsndfile +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e \ diff --git a/audio/mhwaveedit/pkg-plist b/audio/mhwaveedit/pkg-plist new file mode 100644 index 000000000000..3489a8d3d56c --- /dev/null +++ b/audio/mhwaveedit/pkg-plist @@ -0,0 +1,12 @@ +bin/mhwaveedit +man/man1/mhwaveedit.1.gz +share/applications/mhwaveedit.desktop +%%NLS%%share/locale/de/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/es/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/fr/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/it/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/pl/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/ru/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/sv/LC_MESSAGES/mhwaveedit.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/mhwaveedit.mo +share/pixmaps/mhwaveedit.xpm |