diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-08-25 10:16:45 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-08-25 10:16:45 +0000 |
commit | 97adf77a1b1811ce94e2d0289d4879b908aacb5b (patch) | |
tree | 851e8e7ec962e0ea057d0c85dcf6bb9b10c3c6f3 /graphics/gqview/Makefile | |
parent | Better fix for gcc 3.4. (diff) |
Add support of WITHOUT_NLS and delete the obsolete conflict
with gqview-devel.
PR: ports/69313
Submitted by: Eugene Ossintsev <eugos@gmx.net>
Notes
Notes:
svn path=/head/; revision=117241
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 |