1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to version 0.2.16

PR:		ports/99046
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Ion-Mihai Tetcu 2006-06-18 10:53:08 +00:00
parent 0a23b0bb65
commit 14e014ca53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165680
3 changed files with 18 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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