aboutsummaryrefslogtreecommitdiff
path: root/misc/gonvert
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-18 10:53:08 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-18 10:53:08 +0000
commit14e014ca5326429f0a94c116b78b1a9fda0bb992 (patch)
tree28107ffb30ab6aee3a7e7c9aff857029ef93202a /misc/gonvert
parent0a23b0bb6563a69ed10965c7e13d688cbfb5737d (diff)
downloadports-14e014ca5326429f0a94c116b78b1a9fda0bb992.tar.gz
ports-14e014ca5326429f0a94c116b78b1a9fda0bb992.zip
Notes
Diffstat (limited to 'misc/gonvert')
-rw-r--r--misc/gonvert/Makefile18
-rw-r--r--misc/gonvert/distinfo6
-rw-r--r--misc/gonvert/pkg-plist9
3 files changed, 18 insertions, 15 deletions
diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile
index 0f0d12b31a5e..5216f094752d 100644
--- a/misc/gonvert/Makefile
+++ b/misc/gonvert/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gonvert
-PORTVERSION= 0.2.15
+PORTVERSION= 0.2.16
CATEGORIES= misc python gnome
MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/
@@ -15,25 +15,25 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A conversion utility that allows conversion between many units
USE_X_PREFIX= yes
-USE_GNOME= gnomehier pygtk2
+USE_GNOME= pygtk2
USE_PYTHON= yes
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g ; \
- s|gtk.mainloop|gtk.main|g' ${WRKSRC}/gonvert
+ s|/usr/share|${PREFIX}/share|g ; \
+ s|/\.\./pixmaps/|/pixmaps/|g' ${WRKSRC}/gonvert
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/gonvert.desktop \
- ${PREFIX}/share/gnome/applications
- ${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert.png \
- ${PREFIX}/share/gnome/pixmaps
+ @${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/gonvert.desktop ${PREFIX}/share/applications
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gonvert.glade ${DATADIR}
@${MKDIR} ${DATADIR}/pixmaps
- ${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_picture.png \
- ${DATADIR}/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}/pixmaps
+ @${MKDIR} ${PREFIX}/share/pixmaps
+ ${LN} -sf ${WRKSRC}/pixmaps/gonvert.png ${PREFIX}/share/pixmaps
@${MKDIR} ${PREFIX}/share/locale/pl/LC_MESSAGES
${INSTALL_DATA} ${WRKSRC}/i18n/pl_messages.gmo \
${PREFIX}/share/locale/pl/LC_MESSAGES/gonvert.mo
diff --git a/misc/gonvert/distinfo b/misc/gonvert/distinfo
index e52fca85b391..c3216cff069c 100644
--- a/misc/gonvert/distinfo
+++ b/misc/gonvert/distinfo
@@ -1,3 +1,3 @@
-MD5 (gonvert-0.2.15.tar.gz) = f8e184cc1a77c790fcb404f3f17bebea
-SHA256 (gonvert-0.2.15.tar.gz) = 967d0edee01f43dd9033f5578e8394e56e21284892c5dd7917e984c917757405
-SIZE (gonvert-0.2.15.tar.gz) = 164750
+MD5 (gonvert-0.2.16.tar.gz) = 43f892270e193b27b5aeb7ee48b1d8a5
+SHA256 (gonvert-0.2.16.tar.gz) = 66b0ecb74aa80d43a5c78f4e9a310aeeb20fc2c2e33acc6a6d8d9d2c823c3896
+SIZE (gonvert-0.2.16.tar.gz) = 151171
diff --git a/misc/gonvert/pkg-plist b/misc/gonvert/pkg-plist
index 60a98da9ebae..0b0b175058ef 100644
--- a/misc/gonvert/pkg-plist
+++ b/misc/gonvert/pkg-plist
@@ -1,14 +1,17 @@
bin/gonvert
+share/applications/gonvert.desktop
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/TODO
-share/gnome/applications/gonvert.desktop
-share/gnome/pixmaps/gonvert.png
%%DATADIR%%/gonvert.glade
-%%DATADIR%%/pixmaps/gonvert_picture.png
+%%DATADIR%%/pixmaps/gonvert.png
+%%DATADIR%%/pixmaps/gonvert-icon_alternative.png
share/locale/pl/LC_MESSAGES/gonvert.mo
+share/pixmaps/gonvert.png
+@comment @dirrmtry share/pixmaps
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications