aboutsummaryrefslogtreecommitdiff
path: root/misc/gonvert/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-26 19:53:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-26 19:53:35 +0000
commit9728276d2ab16f981f46ef7a3e85b15e97052239 (patch)
tree186dd5b6a2655ba1ca255f16209344bb27ef2ec0 /misc/gonvert/Makefile
parentc71a287a0a55b155e56e69b050f0387207fb463c (diff)
Notes
Diffstat (limited to 'misc/gonvert/Makefile')
-rw-r--r--misc/gonvert/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile
index e64bb0e2f872..8d40bb6fe9b3 100644
--- a/misc/gonvert/Makefile
+++ b/misc/gonvert/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gonvert
-PORTVERSION= 0.2.12
+PORTVERSION= 0.2.14
CATEGORIES= misc python gnome
MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/
@@ -21,8 +21,8 @@ USE_REINPLACE= yes
NO_BUILD= yes
post-patch:
- @${REINPLACE_CMD} -e \
- 's|#!/usr/bin/python|#!/usr/bin/env python|g' ${WRKSRC}/gonvert
+ @${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g ; \
+ s|gtk.mainloop|gtk.main|g' ${WRKSRC}/gonvert
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin
@@ -35,9 +35,12 @@ do-install:
@${MKDIR} ${DATADIR}/pixmaps
${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_picture.png \
${DATADIR}/pixmaps
+ @${MKDIR} ${PREFIX}/share/locale/pl/LC_MESSAGES
+ ${INSTALL_DATA} ${WRKSRC}/i18n/pl_messages.gmo \
+ ${PREFIX}/share/locale/pl/LC_MESSAGES/gonvert.mo
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in README CHANGELOG FAQ README THANKS TODO
+.for file in CHANGELOG FAQ README THANKS TODO
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif