aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gogglesmm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-08-06 22:14:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-08-06 22:14:30 +0800
commit565d4962955a8f02ec455d40d16a630ef272ab06 (patch)
treedb1979811f3cb261a093f95c71ee4d6cbdcba23b /audio/gogglesmm
parent345d0a9340f2b9211c163a84a5def30026e7a4b5 (diff)
downloadfreebsd-ports-gnome-565d4962955a8f02ec455d40d16a630ef272ab06.tar.gz
freebsd-ports-gnome-565d4962955a8f02ec455d40d16a630ef272ab06.tar.zst
freebsd-ports-gnome-565d4962955a8f02ec455d40d16a630ef272ab06.zip
- Update to 0.10.5
- Fix build with custom PREFIX/LOCALBASE - Minor port improvements PR: 137395 Submitted by: Sascha Klauder <sklauder@trimind.de> (maintainer)
Diffstat (limited to 'audio/gogglesmm')
-rw-r--r--audio/gogglesmm/Makefile27
-rw-r--r--audio/gogglesmm/distinfo6
-rw-r--r--audio/gogglesmm/pkg-plist6
3 files changed, 14 insertions, 25 deletions
diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile
index de78699f27e4..5420d34c1b0f 100644
--- a/audio/gogglesmm/Makefile
+++ b/audio/gogglesmm/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gmm
-PORTVERSION= 0.10.1
-PORTREVISION= 1
+PORTVERSION= 0.10.5
CATEGORIES= audio
MASTER_SITES= http://gogglesmm.googlecode.com/files/
DISTNAME= musicmanager-${PORTVERSION}
@@ -26,16 +25,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
USE_GETTEXT= yes
-WANT_GNOME= yes
USE_GNOME= gtk20
INSTALLS_ICONS= yes
PORTDOCS= README AUTHORS
-PLIST_DIRS= share/applications
-PLIST_FILES= bin/gmm \
- share/applications/gmm.desktop \
- share/icons/hicolor/48x48/apps/gmm.png \
- share/locale/de/LC_MESSAGES/gogglesmm.mo
CONFIGURE_ENV= OPT_CFLAGS=" "
@@ -45,24 +38,14 @@ CONFIGURE_ENV= OPT_CFLAGS=" "
CONFIGURE_ARGS+=--without-new-remote
.endif
-post-extract:
- ${REINPLACE_CMD} -i '' -e "s|/bin/bash|${PREFIX}/bin/bash|" \
- ${WRKSRC}/configure
+post-patch:
+ @${REINPLACE_CMD} -i '' -e "s|/bin/bash|${LOCALBASE}/bin/bash|; \
+ s|/usr/local|${LOCALBASE}|" ${WRKSRC}/configure
post-configure:
- ${REINPLACE_CMD} -i '' -e 's| -D | |' \
+ @${REINPLACE_CMD} -i '' -e 's| -[DT] | |g' \
${WRKSRC}/Makefile
- ${REINPLACE_CMD} -i '' -e 's| -T | |' \
- ${WRKSRC}/Makefile
-
-pre-install:
- [ -d ${PREFIX}/share/applications ] || \
- ${MKDIR} ${PREFIX}/share/applications
-
- [ -d ${PREFIX}/share/locale/de/LC_MESSAGES ] ||
- ${MKDIR} ${PREFIX}/share/locale/de/LC_MESSAGES
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
diff --git a/audio/gogglesmm/distinfo b/audio/gogglesmm/distinfo
index 685a2429ef85..7fdc7cd525da 100644
--- a/audio/gogglesmm/distinfo
+++ b/audio/gogglesmm/distinfo
@@ -1,3 +1,3 @@
-MD5 (musicmanager-0.10.1.tar.bz2) = 52dbce30838aa95cc51e67cc8f48e68a
-SHA256 (musicmanager-0.10.1.tar.bz2) = 27ecf3a22b7c2c6429296700094a990b67c207c2a0cd94d1a0e5a3d7130834e7
-SIZE (musicmanager-0.10.1.tar.bz2) = 314531
+MD5 (musicmanager-0.10.5.tar.bz2) = 334eaec15694f4a43410cac67f91d51a
+SHA256 (musicmanager-0.10.5.tar.bz2) = d663804c785e2c57da0b6fe288006902ea0cc56303339c051a00bdb45c53b1c7
+SIZE (musicmanager-0.10.5.tar.bz2) = 335481
diff --git a/audio/gogglesmm/pkg-plist b/audio/gogglesmm/pkg-plist
new file mode 100644
index 000000000000..aec4a84c3cf7
--- /dev/null
+++ b/audio/gogglesmm/pkg-plist
@@ -0,0 +1,6 @@
+bin/gmm
+share/applications/gmm.desktop
+share/icons/hicolor/48x48/apps/gmm.png
+share/locale/de/LC_MESSAGES/gogglesmm.mo
+share/locale/es/LC_MESSAGES/gogglesmm.mo
+@dirrmtry share/applications