diff options
author | lme <lme@FreeBSD.org> | 2009-04-11 20:08:29 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2009-04-11 20:08:29 +0800 |
commit | 73dbb75a3c0fdf83c545a65e4ea72730c23c2b08 (patch) | |
tree | 08f8d324e6f4ed9a2aa1a4657357e5bed00ce789 | |
parent | 6121bed3508945378fa3560f7c66296d5ec5a093 (diff) | |
download | freebsd-ports-gnome-73dbb75a3c0fdf83c545a65e4ea72730c23c2b08.tar.gz freebsd-ports-gnome-73dbb75a3c0fdf83c545a65e4ea72730c23c2b08.tar.zst freebsd-ports-gnome-73dbb75a3c0fdf83c545a65e4ea72730c23c2b08.zip |
- Install .desktop file to freedesktop's standard directory [1]
- Add PORTSCOUT restriction
- Add MAKE_JOBS_SAFE
- Bump PORTREVISION
Suggested by: Jilles Tjoelker jilles (AT) stack.nl [1]
-rw-r--r-- | graphics/gqview/Makefile | 8 | ||||
-rw-r--r-- | graphics/gqview/files/patch-Makefile.in | 2 | ||||
-rw-r--r-- | graphics/gqview/pkg-plist | 2 |
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%% |