aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-31 04:49:13 +0800
committerantoine <antoine@FreeBSD.org>2014-01-31 04:49:13 +0800
commitb0ba2f0a015c68aad38d811ea8f4a259550bfc51 (patch)
tree02903633a19cf510381b20577476be2adb385700 /deskutils
parent28e5f67b5de4440316c9c6c60697fcb67082451f (diff)
downloadfreebsd-ports-gnome-b0ba2f0a015c68aad38d811ea8f4a259550bfc51.tar.gz
freebsd-ports-gnome-b0ba2f0a015c68aad38d811ea8f4a259550bfc51.tar.zst
freebsd-ports-gnome-b0ba2f0a015c68aad38d811ea8f4a259550bfc51.zip
Stage support
Diffstat (limited to 'deskutils')
-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