aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gnochm
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnochm')
-rw-r--r--deskutils/gnochm/Makefile9
-rw-r--r--deskutils/gnochm/pkg-plist3
2 files changed, 4 insertions, 8 deletions
diff --git a/deskutils/gnochm/Makefile b/deskutils/gnochm/Makefile
index ae431e9c4ee1..f413c35303ec 100644
--- a/deskutils/gnochm/Makefile
+++ b/deskutils/gnochm/Makefile
@@ -3,20 +3,20 @@
PORTNAME= gnochm
PORTVERSION= 0.9.11
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= deskutils python gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
-COMMENT= A GNOME viewer for CHM files
+COMMENT= GNOME viewer for CHM files
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/chm/_chmlib.so:${PORTSDIR}/textproc/pychm
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_GMAKE= yes
-USES= pathfix gettext
+USES= desktop-file-utils gettext gmake pathfix shared-mime-info
USE_GNOME= gnomeprefix intlhack pygnome2 pygtk2 pygnomeextras
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-mime-update
USE_PYTHON= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -24,7 +24,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= gnochm.schemas
INSTALLS_OMF= yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|$(prefix)/share/man|$(prefix)/man|' ${WRKSRC}/data/Makefile.in
diff --git a/deskutils/gnochm/pkg-plist b/deskutils/gnochm/pkg-plist
index dad9272b01e0..b329433f3e83 100644
--- a/deskutils/gnochm/pkg-plist
+++ b/deskutils/gnochm/pkg-plist
@@ -28,12 +28,9 @@ share/locale/tr/LC_MESSAGES/gnochm.mo
share/locale/vi/LC_MESSAGES/gnochm.mo
share/locale/zh_CN/LC_MESSAGES/gnochm.mo
share/locale/zh_TW/LC_MESSAGES/gnochm.mo
-share/mime/application/x-chm.xml
share/mime/packages/gnochm.xml
@dirrm share/omf/gnochm
@dirrm share/gnome/help/gnochm/C
@dirrm share/gnome/help/gnochm
@dirrm share/gnochm/glade
@dirrm share/gnochm
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime