summaryrefslogtreecommitdiff
path: root/archivers/file-roller
diff options
context:
space:
mode:
authorahoka <ahoka>2009-09-19 07:46:12 +0000
committerahoka <ahoka>2009-09-19 07:46:12 +0000
commite7bd462c9ab9989e92a714fb832ae590cc1262f4 (patch)
tree23529c8cbb3b11a2493ccccbf5d10fc548cd6981 /archivers/file-roller
parentec564788ba34e4e777167c7ac00feffc15c40a46 (diff)
downloadpkgsrc-e7bd462c9ab9989e92a714fb832ae590cc1262f4.tar.gz
Force pkgsrc's unzip so we can actually list archive content on
NetBSD 5.99.16 with unzip in base.
Diffstat (limited to 'archivers/file-roller')
-rw-r--r--archivers/file-roller/Makefile13
-rw-r--r--archivers/file-roller/distinfo3
2 files changed, 13 insertions, 3 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile
index 6e5dd0c0e76..805318638aa 100644
--- a/archivers/file-roller/Makefile
+++ b/archivers/file-roller/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.96 2009/08/26 19:57:07 sno Exp $
+# $NetBSD: Makefile,v 1.97 2009/09/19 07:46:12 ahoka Exp $
#
DISTNAME= file-roller-2.26.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= archivers gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/file-roller/2.26/}
EXTRACT_SUFX= .tar.bz2
@@ -30,6 +30,15 @@ BUILDLINK_API_DEPENDS.gnome-vfs+= gnome-vfs>=2.10.0
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0
BUILDLINK_API_DEPENDS.libglade+= libglade>=2.4.0
+# Force to use unzip from pkgsrc as other installed versions in path
+# may be incompatible. (For example NetBSD 6.0's unzip)
+#
+SUBST_CLASSES+= unzip
+SUBST_STAGE.unzip= pre-build
+SUBST_MESSAGE.unzip= Hardcoding unzip path
+SUBST_FILES.unzip= src/fr-command-zip.c
+SUBST_SED.unzip= -e 's|@@UNZIP_COMMAND@@|${LOCALBASE}/bin/unzip|'
+
# XXX force regen, bundled one doesn't fit
# see gnome bugzilla #587869
post-extract:
diff --git a/archivers/file-roller/distinfo b/archivers/file-roller/distinfo
index bbfc9896f0b..1e022c8cf70 100644
--- a/archivers/file-roller/distinfo
+++ b/archivers/file-roller/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.48 2009/07/09 18:21:44 drochner Exp $
+$NetBSD: distinfo,v 1.49 2009/09/19 07:46:12 ahoka Exp $
SHA1 (file-roller-2.26.3.tar.bz2) = 92760312c9dddec695851170c289f692c2521176
RMD160 (file-roller-2.26.3.tar.bz2) = 4c8cb579c4849a6cdc92250df5b447f575be76a6
Size (file-roller-2.26.3.tar.bz2) = 1561967 bytes
SHA1 (patch-aa) = 0e536d0b9c8e88b97ea7af600e3bb6d6ba496acf
+SHA1 (patch-unzip) = d1abae47ce713af26875c972b351fcd4d00ca22e