aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gqview/Makefile
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-08-25 18:16:45 +0800
committerale <ale@FreeBSD.org>2004-08-25 18:16:45 +0800
commit5eb291ce84a0d5647a3565d03166440c25a9b81e (patch)
tree62639fea409a1231eba26d814bf7b0feb522d189 /graphics/gqview/Makefile
parentce1af422bb1cc877a994f40067dd8f4ae33a3440 (diff)
downloadfreebsd-ports-gnome-5eb291ce84a0d5647a3565d03166440c25a9b81e.tar.gz
freebsd-ports-gnome-5eb291ce84a0d5647a3565d03166440c25a9b81e.tar.zst
freebsd-ports-gnome-5eb291ce84a0d5647a3565d03166440c25a9b81e.zip
Add support of WITHOUT_NLS and delete the obsolete conflict
with gqview-devel. PR: ports/69313 Submitted by: Eugene Ossintsev <eugos@gmx.net>
Diffstat (limited to 'graphics/gqview/Makefile')
-rw-r--r--graphics/gqview/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
index fbaf41135008..4bd26dc1d627 100644
--- a/graphics/gqview/Makefile
+++ b/graphics/gqview/Makefile
@@ -16,8 +16,6 @@ COMMENT= Another gtk2-based graphic file viewer
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
-CONFLICTS= gqview-devel-*
-
USE_X_PREFIX= yes
USE_GNOME= gnomehier gtk20
GNU_CONFIGURE= yes
@@ -26,6 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gqview.1
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps