aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/gqview/Makefile8
-rw-r--r--graphics/gqview/files/patch-Makefile.in2
-rw-r--r--graphics/gqview/pkg-plist2
3 files changed, 8 insertions, 4 deletions
diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile
index ebf4bd49d520..93913a84aa45 100644
--- a/graphics/gqview/Makefile
+++ b/graphics/gqview/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gqview
PORTVERSION= 2.0.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SFE
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,10 +22,15 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+MAKE_JOBS_SAFE= yes
+
MAN1= gqview.1
CONFLICTS= gqview-devel-[0-9]*
+# Restrict to stable (even) versions, indicated by the second component.
+PORTSCOUT= limitw:1,even
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
@@ -47,7 +52,6 @@ post-patch:
.endif
post-install:
- ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/pixmaps
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/graphics/gqview/files/patch-Makefile.in b/graphics/gqview/files/patch-Makefile.in
index d7ecd3d0daf0..2a3532bdf4d8 100644
--- a/graphics/gqview/files/patch-Makefile.in
+++ b/graphics/gqview/files/patch-Makefile.in
@@ -6,7 +6,7 @@
-install-data-am: install-desktopDATA install-iconDATA install-man \
- install-readmeDATA
-+install-data-am: install-man
++install-data-am: install-man install-desktopDATA
install-exec-am:
diff --git a/graphics/gqview/pkg-plist b/graphics/gqview/pkg-plist
index a9896421e000..9541c7aa8282 100644
--- a/graphics/gqview/pkg-plist
+++ b/graphics/gqview/pkg-plist
@@ -79,7 +79,7 @@ bin/gqview
%%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/pixmaps/gqview.png
+share/applications/gqview.desktop
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%