summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2009-09-19 07:46:12 +0000
committerahoka <ahoka@pkgsrc.org>2009-09-19 07:46:12 +0000
commitabc2de0dc1cb85bb02978479cd409776fc1acd6e (patch)
tree23529c8cbb3b11a2493ccccbf5d10fc548cd6981 /archivers
parent8d6362fb32ef453d4605de94eaa87be551bf6685 (diff)
downloadpkgsrc-abc2de0dc1cb85bb02978479cd409776fc1acd6e.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')
-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