openbsd-ports/textproc/gtranslator/Makefile
ajacoutot 11c3f135a7 Import gtranslator-1.9.11.
gtranslator is a quite comfortable gettext po/po.gz/(g)mo files editor
for the GNOME 2.x platform with many features. It's evolving quite fast
and many useful functions are already implemented; gtranslator aims to
be a very complete editing environment for translation issues within the
GNU gettext/GNOME desktop world.

ok jasper@
2010-09-19 17:24:45 +00:00

58 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/09/19 17:24:45 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= gettext(1) files editor for GNOME
GNOME_PROJECT= gtranslator
GNOME_VERSION= 1.9.11
CATEGORIES= textproc devel
HOMEPAGE= http://projects.gnome.org/gtranslator/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1 dbus-glib-1
WANTLIB += enchant expat fontconfig freetype gcrypt gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0 gnutls
WANTLIB += gobject-2.0 gpg-error gthread-2.0 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs soup-2.4 sqlite3 stdc++ tasn1 xcb xml2 z
WANTLIB += gettextpo gdl-1 gdict-1.0 gtksourceview-2.0 gtkspell
WANTLIB += gucharmap xcb-render-util xcb-render gda-4.0 unique-1.0
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
LIB_DEPENDS= ::x11/gnome/gdl \
::x11/gnome/utils \
::x11/gtksourceview \
::textproc/gtkspell \
::x11/gnome/gucharmap \
::x11/gnome/libgda \
::devel/libunique
USE_X11= Yes
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= gtranslator
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-gtk-doc=no \
--with-gtkspell \
--with-dictionary
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/db4" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-liconv -lintl"
.include <bsd.port.mk>