summaryrefslogtreecommitdiffstats
path: root/devel/gtranslator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gtranslator/Makefile')
-rw-r--r--devel/gtranslator/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile
new file mode 100644
index 000000000..66329227e
--- /dev/null
+++ b/devel/gtranslator/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: gtranslator
+# Date created: 16 September 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gtranslator
+PORTVERSION= 1.1.7
+PORTREVISION= 1
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A GNOME application for creating GNU gettext translation files
+
+LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack intlhack gnomeprefix gnometarget gnomevfs2 libgnomeui
+USE_GMAKE= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
+CONFIGURE_ARGS= --disable-debug \
+ --enable-compile-warnings=no \
+ --mandir=${PREFIX}/man
+
+MAN1= gtranslator.1 pozilla.sh.1
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(datadir)/omf|$$(datadir)/gnome/omf|' \
+ ${WRKSRC}/help/C/Makefile.in ${WRKSRC}/omf.make
+ @${REINPLACE_CMD} -e 's|$$(datadir)/mime-info|$$(datadir)/gnome/mime-info|' \
+ ${WRKSRC}/data/mime/Makefile.in
+
+.include <bsd.port.mk>