aboutsummaryrefslogtreecommitdiff
path: root/audio/gogglesmm
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/gogglesmm
parente0cdbd8a9cce3cc777d3999ded55b575e5870762 (diff)
downloadports-9491089d1e1078d4b613fa33816dcf5f85e7bc61.tar.gz
ports-9491089d1e1078d4b613fa33816dcf5f85e7bc61.zip
Notes
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