summaryrefslogtreecommitdiff
path: root/audio/gmm
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-06 14:14:30 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-06 14:14:30 +0000
commit9491089d1e1078d4b613fa33816dcf5f85e7bc61 (patch)
tree82f977ac0452f8703cc7b2924c24c01586f3dd9a /audio/gmm
parent- Update really to 3.16.3 (diff)
- Update to 0.10.5
- Fix build with custom PREFIX/LOCALBASE - Minor port improvements PR: 137395 Submitted by: Sascha Klauder <sklauder@trimind.de> (maintainer)
Notes
Notes: svn path=/head/; revision=239031
Diffstat (limited to 'audio/gmm')
-rw-r--r--audio/gmm/Makefile27
-rw-r--r--audio/gmm/distinfo6
-rw-r--r--audio/gmm/pkg-plist6
3 files changed, 14 insertions, 25 deletions
diff --git a/audio/gmm/Makefile b/audio/gmm/Makefile
index de78699f27e4..5420d34c1b0f 100644
--- a/audio/gmm/Makefile
+++ b/audio/gmm/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/gmm/distinfo b/audio/gmm/distinfo
index 685a2429ef85..7fdc7cd525da 100644
--- a/audio/gmm/distinfo
+++ b/audio/gmm/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/gmm/pkg-plist b/audio/gmm/pkg-plist
new file mode 100644
index 000000000000..aec4a84c3cf7
--- /dev/null
+++ b/audio/gmm/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