aboutsummaryrefslogtreecommitdiff
path: root/audio/wavbreaker
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-31 09:04:51 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-31 09:04:51 +0000
commita2a907c55c7d74b276a36965b19a10e552529aa4 (patch)
tree06f3f07d5188c497ec8e4574f2b11dcb2eea5da7 /audio/wavbreaker
parent5bfc9c6254732400a4ca078eff2dbc045e65ead7 (diff)
downloadports-a2a907c55c7d74b276a36965b19a10e552529aa4.tar.gz
ports-a2a907c55c7d74b276a36965b19a10e552529aa4.zip
Notes
Diffstat (limited to 'audio/wavbreaker')
-rw-r--r--audio/wavbreaker/Makefile11
-rw-r--r--audio/wavbreaker/pkg-plist15
2 files changed, 20 insertions, 6 deletions
diff --git a/audio/wavbreaker/Makefile b/audio/wavbreaker/Makefile
index dcce1713b8a4..f74ea805ecd4 100644
--- a/audio/wavbreaker/Makefile
+++ b/audio/wavbreaker/Makefile
@@ -10,11 +10,12 @@ MASTER_SITES= SF
MAINTAINER= gahr@FreeBSD.org
COMMENT= Tool to split and merge wav files
+LICENSE= GPLv2
+
OPTIONS_DEFINE= PULSEAUDIO NLS
USE_GNOME= gtk20 libxml2
-NO_STAGE= yes
-USES= gmake pathfix pkgconfig
+USES= gmake pathfix pkgconfig desktop-file-utils
GNU_CONFIGURE= yes
CONFIGURE_ENV= PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
CPPFLAGS+= -I${LOCALBASE}/include
@@ -22,21 +23,19 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-alsa
INSTALLS_ICONS= yes
-MAN1= wavbreaker.1 wavinfo.1 wavmerge.1
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPULSEAUDIO}
LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
.else
-CONFIGURE_ARGS+= --disable-pulse
+CONFIGURE_ARGS+=--disable-pulse
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB= NLS=""
.else
-CONFIGURE_ARGS+= --disable-nls
+CONFIGURE_ARGS+=--disable-nls
PLIST_SUB= NLS="@comment "
.endif
diff --git a/audio/wavbreaker/pkg-plist b/audio/wavbreaker/pkg-plist
index 4a1098c6e612..45f6ea280b27 100644
--- a/audio/wavbreaker/pkg-plist
+++ b/audio/wavbreaker/pkg-plist
@@ -1,6 +1,9 @@
bin/wavbreaker
bin/wavinfo
bin/wavmerge
+man/man1/wavbreaker.1.gz
+man/man1/wavinfo.1.gz
+man/man1/wavmerge.1.gz
share/applications/wavbreaker.desktop
share/icons/hicolor/16x16/apps/wavbreaker.png
share/icons/hicolor/22x22/apps/wavbreaker.png
@@ -12,3 +15,15 @@ share/icons/hicolor/scalable/apps/wavbreaker.svg
%%NLS%%share/locale/fr/LC_MESSAGES/wavbreaker.mo
%%NLS%%share/locale/pt/LC_MESSAGES/wavbreaker.mo
share/pixmaps/wavbreaker.png
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor/24x24/apps
+@dirrmtry share/icons/hicolor/24x24
+@dirrmtry share/icons/hicolor/22x22/apps
+@dirrmtry share/icons/hicolor/22x22
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons