diff options
Diffstat (limited to 'devel/gtranslator')
-rw-r--r-- | devel/gtranslator/Makefile | 10 | ||||
-rw-r--r-- | devel/gtranslator/pkg-descr | 7 |
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/ |