diff options
Diffstat (limited to 'graphics/gqview/Makefile')
-rw-r--r-- | graphics/gqview/Makefile | 10 |
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 |