aboutsummaryrefslogtreecommitdiff
path: root/graphics/gqview
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-08-25 10:16:45 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-08-25 10:16:45 +0000
commit97adf77a1b1811ce94e2d0289d4879b908aacb5b (patch)
tree851e8e7ec962e0ea057d0c85dcf6bb9b10c3c6f3 /graphics/gqview
parent861b667e6e67655ceef53212bc83cda714580971 (diff)
downloadports-97adf77a1b1811ce94e2d0289d4879b908aacb5b.tar.gz
ports-97adf77a1b1811ce94e2d0289d4879b908aacb5b.zip
Notes
Diffstat (limited to 'graphics/gqview')
-rw-r--r--graphics/gqview/Makefile10
-rw-r--r--graphics/gqview/pkg-plist54
2 files changed, 35 insertions, 29 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
diff --git a/graphics/gqview/pkg-plist b/graphics/gqview/pkg-plist
index b3b690d1cdd1..e8490d2b498c 100644
--- a/graphics/gqview/pkg-plist
+++ b/graphics/gqview/pkg-plist
@@ -1,32 +1,32 @@
bin/gqview
%%PORTDOCS%%%%DOCSDIR%%/README
-share/locale/bg/LC_MESSAGES/gqview.mo
-share/locale/cs/LC_MESSAGES/gqview.mo
-share/locale/da/LC_MESSAGES/gqview.mo
-share/locale/de/LC_MESSAGES/gqview.mo
-share/locale/es/LC_MESSAGES/gqview.mo
-share/locale/et/LC_MESSAGES/gqview.mo
-share/locale/fi/LC_MESSAGES/gqview.mo
-share/locale/fr/LC_MESSAGES/gqview.mo
-share/locale/hu/LC_MESSAGES/gqview.mo
-share/locale/id/LC_MESSAGES/gqview.mo
-share/locale/it/LC_MESSAGES/gqview.mo
-share/locale/ja/LC_MESSAGES/gqview.mo
-share/locale/nl/LC_MESSAGES/gqview.mo
-share/locale/no/LC_MESSAGES/gqview.mo
-share/locale/pl/LC_MESSAGES/gqview.mo
-share/locale/pt_BR/LC_MESSAGES/gqview.mo
-share/locale/ro/LC_MESSAGES/gqview.mo
-share/locale/ru/LC_MESSAGES/gqview.mo
-share/locale/sk/LC_MESSAGES/gqview.mo
-share/locale/sl/LC_MESSAGES/gqview.mo
-share/locale/sv/LC_MESSAGES/gqview.mo
-share/locale/th/LC_MESSAGES/gqview.mo
-share/locale/tr/LC_MESSAGES/gqview.mo
-share/locale/uk/LC_MESSAGES/gqview.mo
-share/locale/vi/LC_MESSAGES/gqview.mo
-share/locale/zh_CN.GB2312/LC_MESSAGES/gqview.mo
-share/locale/zh_TW/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/no/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/th/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/gqview.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gqview.mo
share/gnome/apps/Graphics/gqview.desktop
share/gnome/pixmaps/gqview.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%