summaryrefslogtreecommitdiffstats
path: root/devel/gtranslator
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-21 06:05:35 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-21 06:05:35 +0800
commit804438d24cb4bbb3f44ce76b84eaf86946990bf0 (patch)
treef73e2cd32f13693d407dd9420851b4fa75a8f961 /devel/gtranslator
parentc2c56470175ad85eccfb2888b2a09c56f6534b81 (diff)
downloadmarcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.tar
marcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.tar.gz
marcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.tar.bz2
marcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.tar.lz
marcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.tar.xz
marcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.tar.zst
marcuscom-ports-804438d24cb4bbb3f44ce76b84eaf86946990bf0.zip
Correct paths to external scripts and add some comment/description
changes. PORTREVISION bumpage. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1864 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gtranslator')
-rw-r--r--devel/gtranslator/Makefile10
-rw-r--r--devel/gtranslator/pkg-descr7
2 files changed, 11 insertions, 6 deletions
diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile
index a1e100526..f0486d944 100644
--- a/devel/gtranslator/Makefile
+++ b/devel/gtranslator/Makefile
@@ -7,14 +7,14 @@
PORTNAME= gtranslator
PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= http://www.gtranslator.org/download/releases/${PORTVERSION}/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gnome@FreeBSD.org
-COMMENT= A GNOME application for developing ".pot" files used with GNU Gettext
+COMMENT= A GNOME application for creating GNU gettext translation files
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gnomevfs2 libgnomeui
@@ -23,8 +23,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
CONFIGURE_ARGS= --disable-debug
+USE_REINPLACE= yes
MAN1= gtranslator.1 pozilla.sh.1
MANCOMPRESSED= yes
+post-patch:
+ @${REINPLACE_CMD} -e "s|/usr/local/share/gtranslator|${PREFIX}/share/gnome/${PORTNAME}|g; \
+ s|/usr/local/share/pixmaps|${PREFIX}/share/gnome/pixmaps|g" \
+ ${WRKSRC}/src/defines.h
+
.include <bsd.port.mk>
diff --git a/devel/gtranslator/pkg-descr b/devel/gtranslator/pkg-descr
index 06ee480d0..4a01aef41 100644
--- a/devel/gtranslator/pkg-descr
+++ b/devel/gtranslator/pkg-descr
@@ -1,6 +1,5 @@
-Gtranslator is a translation-supporting programm for the Gnome project. Simply
-speaking it is a helper for developing ".pot" files used with GNU Gettext
-library to provide i18n and l10n features. It is offering little funtionability
-yet but it will be more useful and complex later on.
+Gtranslator assists in the creation of GNU gettext translations. Its features include
+auto-learning of translation rules, fuzzy string manipulation, and self-contained
+msgfmt compilation/testing.
WWW: http://www.gtranslator.org/