aboutsummaryrefslogtreecommitdiff
path: root/audio/gogglesmm
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-15 15:22:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-15 15:22:42 +0000
commit5d5e8449a4388d6fb921032c3fa579ea7110ce17 (patch)
treece14f2c860da49a1064afd933274fd02efcdaede /audio/gogglesmm
parentd37224f61b5f0c0580382e601f3f0d779c4448f4 (diff)
downloadports-5d5e8449a4388d6fb921032c3fa579ea7110ce17.tar.gz
ports-5d5e8449a4388d6fb921032c3fa579ea7110ce17.zip
Notes
Diffstat (limited to 'audio/gogglesmm')
-rw-r--r--audio/gogglesmm/Makefile35
-rw-r--r--audio/gogglesmm/distinfo6
2 files changed, 26 insertions, 15 deletions
diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile
index 49de7badfb03..93f2545e66d1 100644
--- a/audio/gogglesmm/Makefile
+++ b/audio/gogglesmm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gmm
-PORTVERSION= 0.9.12
+PORTVERSION= 0.9.15
CATEGORIES= audio
MASTER_SITES= http://gogglesmm.googlecode.com/files/
DISTNAME= musicmanager-${PORTVERSION}
@@ -15,20 +15,29 @@ MAINTAINER= sklauder@trimind.de
COMMENT= Music collection manager and player
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
-LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \
+LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \
xine.1:${PORTSDIR}/multimedia/libxine \
tag.6:${PORTSDIR}/audio/taglib \
- sqlite3.8:${PORTSDIR}/databases/sqlite3
+ sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ dbus-1:${PORTSDIR}/devel/dbus \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
+WANT_GNOME= yes
+USE_GNOME= gtk20
+INSTALLS_ICONS= yes
PORTDOCS= README AUTHORS
-PLIST_FILES= bin/gmm \
- share/pixmaps/gmm.png
+PLIST_DIRS= share/applications
+PLIST_FILES= bin/gmm \
+ bin/gmm-tray \
+ share/applications/gmm.desktop \
+ share/icons/hicolor/24x24/apps/gmm-tray.png \
+ share/icons/hicolor/48x48/apps/gmm.png \
+ share/icons/hicolor/48x48/apps/gmm-tray.png
-CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ENV= OPT_CFLAGS=" "
.include <bsd.port.pre.mk>
@@ -37,15 +46,18 @@ CONFIGURE_ENV= OPT_CFLAGS=" "
CONFIGURE_ARGS+=--without-new-remote
.endif
-.if defined(WITH_DBUS)
-CONFIGURE_ARGS+=--with-dbus
-LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus
-.endif
-
post-extract:
${REINPLACE_CMD} -i '' -e "s|/bin/bash|${PREFIX}/bin/bash|" \
${WRKSRC}/configure
+post-configure:
+ ${REINPLACE_CMD} -i '' -e 's|-D -m|-m|' \
+ ${WRKSRC}/Makefile
+
+pre-install:
+ [ -d ${PREFIX}/share/applications ] || \
+ ${MKDIR} ${PREFIX}/share/applications
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@@ -53,6 +65,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
. endfor
.endif
- ${INSTALL_DATA} ${WRKSRC}/extra/gmm.png ${PREFIX}/share/pixmaps
.include <bsd.port.post.mk>
diff --git a/audio/gogglesmm/distinfo b/audio/gogglesmm/distinfo
index 09afb92fd455..af174e2f4a4b 100644
--- a/audio/gogglesmm/distinfo
+++ b/audio/gogglesmm/distinfo
@@ -1,3 +1,3 @@
-MD5 (musicmanager-0.9.12.tar.bz2) = 3500a9f59f26fea753d8f03721448c37
-SHA256 (musicmanager-0.9.12.tar.bz2) = b472243e8298abfda2c4e5ee10de315a13e6b5e634c5c39489378219d9c38c73
-SIZE (musicmanager-0.9.12.tar.bz2) = 268334
+MD5 (musicmanager-0.9.15.tar.bz2) = 8dabda9acc1e45859081d66ab032ed19
+SHA256 (musicmanager-0.9.15.tar.bz2) = e6deccad4d28652c119814367d9facecd253eff02f489669e010f11da2973b86
+SIZE (musicmanager-0.9.15.tar.bz2) = 282202