summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-19 06:35:06 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-19 06:35:06 +0800
commit3ac81806a8f73cb153d030d17e499d574de54e5d (patch)
treed0407e74b326152bc8d6f1e657d9ff47adf5a387
parenta2d2a0ad67f7ae3fa33513bf608207ec8df9aabf (diff)
downloadmarcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.tar
marcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.tar.gz
marcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.tar.bz2
marcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.tar.lz
marcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.tar.xz
marcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.tar.zst
marcuscom-ports-3ac81806a8f73cb153d030d17e499d574de54e5d.zip
-Re-add fileroller, at 2.9.0.
-Reset to $FreeBSD$. -Use INSTALL_OMF. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3080 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--archivers/file-roller/Makefile40
-rw-r--r--archivers/file-roller/distinfo2
-rw-r--r--archivers/file-roller/files/patch-src_fr-command-tar.c72
-rw-r--r--archivers/file-roller/pkg-descr21
-rw-r--r--archivers/file-roller/pkg-plist177
-rw-r--r--archivers/fileroller/Makefile40
-rw-r--r--archivers/fileroller/distinfo2
-rw-r--r--archivers/fileroller/files/patch-src_fr-command-tar.c72
-rw-r--r--archivers/fileroller/pkg-descr21
-rw-r--r--archivers/fileroller/pkg-plist177
10 files changed, 624 insertions, 0 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile
new file mode 100644
index 000000000..7c58feb4b
--- /dev/null
+++ b/archivers/file-roller/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: fileroller
+# Date created: 18 May 2002
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fileroller
+PORTVERSION= 2.9.0
+PORTEPOCH= 1
+CATEGORIES= archivers gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/file-roller/2.9
+DISTNAME= file-roller-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An archive manager for zip files, tar, etc
+
+USE_BZIP2= yes
+INSTALL_OMF= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui desktopfileutils
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= file-roller.schemas
+
+post-install:
+ @${X11BASE}/bin/update-desktop-database
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in AUTHORS NEWS README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/file-roller/distinfo b/archivers/file-roller/distinfo
new file mode 100644
index 000000000..bc5ad537d
--- /dev/null
+++ b/archivers/file-roller/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/file-roller-2.9.0.tar.bz2) = fc4c1d034fc3f9facddfad7782e628d6
+SIZE (gnome2/file-roller-2.9.0.tar.bz2) = 1385452
diff --git a/archivers/file-roller/files/patch-src_fr-command-tar.c b/archivers/file-roller/files/patch-src_fr-command-tar.c
new file mode 100644
index 000000000..72e95a4fa
--- /dev/null
+++ b/archivers/file-roller/files/patch-src_fr-command-tar.c
@@ -0,0 +1,72 @@
+--- src/fr-command-tar.c.orig Thu Nov 18 16:07:02 2004
++++ src/fr-command-tar.c Thu Nov 18 16:11:03 2004
+@@ -114,6 +114,10 @@
+ return g_strdup (f_start);
+ }
+
++static char *months[] = {
++ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
++ "Nov", "Dec"
++};
+
+ static void
+ process_line (char *line,
+@@ -122,28 +126,37 @@
+ FileData *fdata;
+ FRCommand *comm = FR_COMMAND (data);
+ char **fields;
+- int date_idx;
+- char *field_date, *field_time, *field_size, *field_name;
++ int i;
++ struct tm tm = {0, };
++ char **time_fields;
++ const char *field_name;
+
+ g_return_if_fail (line != NULL);
+
+ fdata = file_data_new ();
+
+- date_idx = file_list__get_index_from_pattern (line, "%n%n%n%n-%n%n-%n%n %n%n:%n%n");
++ fields = split_line (line, 7);
+
+- field_size = file_list__get_prev_field (line, date_idx, 1);
+- fdata->size = atol (field_size);
+- g_free (field_size);
+-
+- field_date = file_list__get_next_field (line, date_idx, 1);
+- field_time = file_list__get_next_field (line, date_idx, 2);
+- fdata->modified = mktime_from_string (field_date, field_time);
+- g_free (field_date);
+- g_free (field_time);
++ fdata->size = atol (fields[2]);
++ for (i = 0; i < 12; i++) {
++ if (!strncmp(fields[3], months[i], 3)) break;
++ }
++
++ tm.tm_mon = i;
++ tm.tm_year = atoi (fields[6]) - 1900;
++ tm.tm_mday = atoi (fields[4]);
++ time_fields = g_strsplit(fields[5], ":", 2);
++ tm.tm_hour = atoi (time_fields[0]);
++ tm.tm_min = atoi (time_fields[1]);
++ tm.tm_sec = 0;
++ tm.tm_isdst = -1;
++ fdata->modified = mktime(&tm);
++ g_strfreev (fields);
++ g_strfreev (time_fields);
+
+ /* Full path */
+
+- field_name = tar_get_last_field (line, date_idx, 3);
++ field_name = get_last_field (line, 8);
+ fields = g_strsplit (field_name, " -> ", 2);
+
+ if (fields[1] == NULL) {
+@@ -162,7 +175,6 @@
+ if (fields[1] != NULL)
+ fdata->link = g_strdup (fields[1]);
+ g_strfreev (fields);
+- g_free (field_name);
+
+ fdata->name = g_strdup (file_name_from_path (fdata->full_path));
+ fdata->path = remove_level_from_path (fdata->full_path);
diff --git a/archivers/file-roller/pkg-descr b/archivers/file-roller/pkg-descr
new file mode 100644
index 000000000..703a89829
--- /dev/null
+++ b/archivers/file-roller/pkg-descr
@@ -0,0 +1,21 @@
+File Roller is an archive manager for the GNOME environment. It is only a
+front-end (a graphical interface) to archiving programs like tar and zip.
+The supported file types are:
+
+* Tar archives uncompressed (.tar) or compressed with gzip (.tar.gz , .tgz),
+ bzip (.tar.bz , .tbz), bzip2 (.tar.bz2 , .tbz2), compress (.tar.Z , .taz),
+ lzop (.tar.lzo , .tzo)
+* Zip archives (.zip)
+* Jar archives (.jar , .ear , .war)
+* Lha archives (.lzh)
+* Rar archives (.rar)
+* Single files compressed with gzip, bzip, bzip2, compress, lzop
+
+File Roller also has a document viewer based on bonobo that lets you view files
+of any type for which you have a viewer.
+
+Former WinZip users may find this program useful. It serves the same purpose.
+
+WWW: http://fileroller.sourceforge.net/
+
+- Anders Nordby <anders@FreeBSD.org>
diff --git a/archivers/file-roller/pkg-plist b/archivers/file-roller/pkg-plist
new file mode 100644
index 000000000..187b11b08
--- /dev/null
+++ b/archivers/file-roller/pkg-plist
@@ -0,0 +1,177 @@
+bin/file-roller
+lib/bonobo/libfile-roller-component.so
+libdata/bonobo/servers/File_Roller_Component.server
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/gnome/application-registry/file-roller.applications
+share/gnome/applications/file-roller.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
+share/gnome/file-roller/glade/file_roller.glade
+share/gnome/help/file-roller/C/figures/file-roller_home.png
+share/gnome/help/file-roller/C/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/C/figures/file-roller_main_window.png
+share/gnome/help/file-roller/C/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/C/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/C/file-roller.xml
+share/gnome/help/file-roller/C/legal.xml
+share/gnome/help/file-roller/de/figures/file-roller_main_window.png
+share/gnome/help/file-roller/de/file-roller.xml
+share/gnome/help/file-roller/de/legal.xml
+share/gnome/help/file-roller/es/figures/file-roller_home.png
+share/gnome/help/file-roller/es/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/es/figures/file-roller_main_window.png
+share/gnome/help/file-roller/es/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/es/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/es/file-roller.xml
+share/gnome/help/file-roller/es/legal.xml
+share/gnome/help/file-roller/fr/figures/file-roller_main_window.png
+share/gnome/help/file-roller/fr/file-roller.xml
+share/gnome/help/file-roller/fr/legal.xml
+share/gnome/help/file-roller/it/figures/file-roller_main_window.png
+share/gnome/help/file-roller/it/file-roller.xml
+share/gnome/help/file-roller/it/legal.xml
+share/gnome/help/file-roller/ja/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ja/file-roller.xml
+share/gnome/help/file-roller/ja/legal.xml
+share/gnome/help/file-roller/ko/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ko/file-roller.xml
+share/gnome/help/file-roller/ko/legal.xml
+share/gnome/help/file-roller/ru/figures/fr-add-dialog.png
+share/gnome/help/file-roller/ru/figures/fr-extract.png
+share/gnome/help/file-roller/ru/figures/fr-mainwindow.png
+share/gnome/help/file-roller/ru/figures/fr-prefs.png
+share/gnome/help/file-roller/ru/file-roller.xml
+share/gnome/help/file-roller/ru/legal.xml
+share/gnome/help/file-roller/sv/figures/file-roller_main_window.png
+share/gnome/help/file-roller/sv/file-roller.xml
+share/gnome/help/file-roller/sv/legal.xml
+share/gnome/help/file-roller/uk/figures/fr-add-dialog.png
+share/gnome/help/file-roller/uk/figures/fr-extract.png
+share/gnome/help/file-roller/uk/figures/fr-mainwindow.png
+share/gnome/help/file-roller/uk/figures/fr-prefs.png
+share/gnome/help/file-roller/uk/file-roller.xml
+share/gnome/help/file-roller/uk/legal.xml
+share/gnome/help/file-roller/zh_CN/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_CN/file-roller.xml
+share/gnome/help/file-roller/zh_CN/legal.xml
+share/gnome/help/file-roller/zh_HK/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_HK/file-roller.xml
+share/gnome/help/file-roller/zh_HK/legal.xml
+share/gnome/help/file-roller/zh_TW/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_TW/file-roller.xml
+share/gnome/help/file-roller/zh_TW/legal.xml
+share/gnome/mime-info/file-roller.keys
+share/gnome/mime-info/file-roller.mime
+share/gnome/omf/file-roller/file-roller-C.omf
+share/gnome/omf/file-roller/file-roller-de.omf
+share/gnome/omf/file-roller/file-roller-es.omf
+share/gnome/omf/file-roller/file-roller-fr.omf
+share/gnome/omf/file-roller/file-roller-it.omf
+share/gnome/omf/file-roller/file-roller-ja.omf
+share/gnome/omf/file-roller/file-roller-ko.omf
+share/gnome/omf/file-roller/file-roller-ru.omf
+share/gnome/omf/file-roller/file-roller-sv.omf
+share/gnome/omf/file-roller/file-roller-uk.omf
+share/gnome/omf/file-roller/file-roller-zh_CN.omf
+share/gnome/omf/file-roller/file-roller-zh_HK.omf
+share/gnome/omf/file-roller/file-roller-zh_TW.omf
+share/gnome/pixmaps/file-roller.png
+share/locale/am/LC_MESSAGES/file-roller.mo
+share/locale/ar/LC_MESSAGES/file-roller.mo
+share/locale/az/LC_MESSAGES/file-roller.mo
+share/locale/be/LC_MESSAGES/file-roller.mo
+share/locale/bg/LC_MESSAGES/file-roller.mo
+share/locale/bn/LC_MESSAGES/file-roller.mo
+share/locale/bs/LC_MESSAGES/file-roller.mo
+share/locale/ca/LC_MESSAGES/file-roller.mo
+share/locale/cs/LC_MESSAGES/file-roller.mo
+share/locale/cy/LC_MESSAGES/file-roller.mo
+share/locale/da/LC_MESSAGES/file-roller.mo
+share/locale/de/LC_MESSAGES/file-roller.mo
+share/locale/el/LC_MESSAGES/file-roller.mo
+share/locale/en_CA/LC_MESSAGES/file-roller.mo
+share/locale/en_GB/LC_MESSAGES/file-roller.mo
+share/locale/es/LC_MESSAGES/file-roller.mo
+share/locale/et/LC_MESSAGES/file-roller.mo
+share/locale/eu/LC_MESSAGES/file-roller.mo
+share/locale/fa/LC_MESSAGES/file-roller.mo
+share/locale/fi/LC_MESSAGES/file-roller.mo
+share/locale/fr/LC_MESSAGES/file-roller.mo
+share/locale/ga/LC_MESSAGES/file-roller.mo
+share/locale/gu/LC_MESSAGES/file-roller.mo
+share/locale/he/LC_MESSAGES/file-roller.mo
+share/locale/hi/LC_MESSAGES/file-roller.mo
+share/locale/hr/LC_MESSAGES/file-roller.mo
+share/locale/hu/LC_MESSAGES/file-roller.mo
+share/locale/id/LC_MESSAGES/file-roller.mo
+share/locale/is/LC_MESSAGES/file-roller.mo
+share/locale/it/LC_MESSAGES/file-roller.mo
+share/locale/ja/LC_MESSAGES/file-roller.mo
+share/locale/kn/LC_MESSAGES/file-roller.mo
+share/locale/ko/LC_MESSAGES/file-roller.mo
+share/locale/lt/LC_MESSAGES/file-roller.mo
+share/locale/lv/LC_MESSAGES/file-roller.mo
+share/locale/mk/LC_MESSAGES/file-roller.mo
+share/locale/ml/LC_MESSAGES/file-roller.mo
+share/locale/mn/LC_MESSAGES/file-roller.mo
+share/locale/ms/LC_MESSAGES/file-roller.mo
+share/locale/nb/LC_MESSAGES/file-roller.mo
+share/locale/ne/LC_MESSAGES/file-roller.mo
+share/locale/nl/LC_MESSAGES/file-roller.mo
+share/locale/nn/LC_MESSAGES/file-roller.mo
+share/locale/no/LC_MESSAGES/file-roller.mo
+share/locale/pa/LC_MESSAGES/file-roller.mo
+share/locale/pl/LC_MESSAGES/file-roller.mo
+share/locale/pt/LC_MESSAGES/file-roller.mo
+share/locale/pt_BR/LC_MESSAGES/file-roller.mo
+share/locale/ro/LC_MESSAGES/file-roller.mo
+share/locale/ru/LC_MESSAGES/file-roller.mo
+share/locale/sk/LC_MESSAGES/file-roller.mo
+share/locale/sl/LC_MESSAGES/file-roller.mo
+share/locale/sq/LC_MESSAGES/file-roller.mo
+share/locale/sr/LC_MESSAGES/file-roller.mo
+share/locale/sr@Latn/LC_MESSAGES/file-roller.mo
+share/locale/sr@ije/LC_MESSAGES/file-roller.mo
+share/locale/sv/LC_MESSAGES/file-roller.mo
+share/locale/ta/LC_MESSAGES/file-roller.mo
+share/locale/th/LC_MESSAGES/file-roller.mo
+share/locale/tk/LC_MESSAGES/file-roller.mo
+share/locale/tr/LC_MESSAGES/file-roller.mo
+share/locale/uk/LC_MESSAGES/file-roller.mo
+share/locale/vi/LC_MESSAGES/file-roller.mo
+share/locale/zh_CN/LC_MESSAGES/file-roller.mo
+share/locale/zh_TW/LC_MESSAGES/file-roller.mo
+@dirrm share/gnome/omf/file-roller
+@dirrm share/gnome/help/file-roller/zh_TW/figures
+@dirrm share/gnome/help/file-roller/zh_TW
+@dirrm share/gnome/help/file-roller/zh_HK/figures
+@dirrm share/gnome/help/file-roller/zh_HK
+@dirrm share/gnome/help/file-roller/zh_CN/figures
+@dirrm share/gnome/help/file-roller/zh_CN
+@dirrm share/gnome/help/file-roller/uk/figures
+@dirrm share/gnome/help/file-roller/uk
+@dirrm share/gnome/help/file-roller/sv/figures
+@dirrm share/gnome/help/file-roller/sv
+@dirrm share/gnome/help/file-roller/ru/figures
+@dirrm share/gnome/help/file-roller/ru
+@dirrm share/gnome/help/file-roller/ko/figures
+@dirrm share/gnome/help/file-roller/ko
+@dirrm share/gnome/help/file-roller/ja/figures
+@dirrm share/gnome/help/file-roller/ja
+@dirrm share/gnome/help/file-roller/it/figures
+@dirrm share/gnome/help/file-roller/it
+@dirrm share/gnome/help/file-roller/fr/figures
+@dirrm share/gnome/help/file-roller/fr
+@dirrm share/gnome/help/file-roller/es/figures
+@dirrm share/gnome/help/file-roller/es
+@dirrm share/gnome/help/file-roller/de/figures
+@dirrm share/gnome/help/file-roller/de
+@dirrm share/gnome/help/file-roller/C/figures
+@dirrm share/gnome/help/file-roller/C
+@dirrm share/gnome/help/file-roller
+@dirrm share/gnome/file-roller/glade
+@dirrm share/gnome/file-roller
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec update-desktop-database > /dev/null || /usr/bin/true
diff --git a/archivers/fileroller/Makefile b/archivers/fileroller/Makefile
new file mode 100644
index 000000000..7c58feb4b
--- /dev/null
+++ b/archivers/fileroller/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: fileroller
+# Date created: 18 May 2002
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fileroller
+PORTVERSION= 2.9.0
+PORTEPOCH= 1
+CATEGORIES= archivers gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/file-roller/2.9
+DISTNAME= file-roller-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An archive manager for zip files, tar, etc
+
+USE_BZIP2= yes
+INSTALL_OMF= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui desktopfileutils
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= file-roller.schemas
+
+post-install:
+ @${X11BASE}/bin/update-desktop-database
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in AUTHORS NEWS README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/fileroller/distinfo b/archivers/fileroller/distinfo
new file mode 100644
index 000000000..bc5ad537d
--- /dev/null
+++ b/archivers/fileroller/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/file-roller-2.9.0.tar.bz2) = fc4c1d034fc3f9facddfad7782e628d6
+SIZE (gnome2/file-roller-2.9.0.tar.bz2) = 1385452
diff --git a/archivers/fileroller/files/patch-src_fr-command-tar.c b/archivers/fileroller/files/patch-src_fr-command-tar.c
new file mode 100644
index 000000000..72e95a4fa
--- /dev/null
+++ b/archivers/fileroller/files/patch-src_fr-command-tar.c
@@ -0,0 +1,72 @@
+--- src/fr-command-tar.c.orig Thu Nov 18 16:07:02 2004
++++ src/fr-command-tar.c Thu Nov 18 16:11:03 2004
+@@ -114,6 +114,10 @@
+ return g_strdup (f_start);
+ }
+
++static char *months[] = {
++ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
++ "Nov", "Dec"
++};
+
+ static void
+ process_line (char *line,
+@@ -122,28 +126,37 @@
+ FileData *fdata;
+ FRCommand *comm = FR_COMMAND (data);
+ char **fields;
+- int date_idx;
+- char *field_date, *field_time, *field_size, *field_name;
++ int i;
++ struct tm tm = {0, };
++ char **time_fields;
++ const char *field_name;
+
+ g_return_if_fail (line != NULL);
+
+ fdata = file_data_new ();
+
+- date_idx = file_list__get_index_from_pattern (line, "%n%n%n%n-%n%n-%n%n %n%n:%n%n");
++ fields = split_line (line, 7);
+
+- field_size = file_list__get_prev_field (line, date_idx, 1);
+- fdata->size = atol (field_size);
+- g_free (field_size);
+-
+- field_date = file_list__get_next_field (line, date_idx, 1);
+- field_time = file_list__get_next_field (line, date_idx, 2);
+- fdata->modified = mktime_from_string (field_date, field_time);
+- g_free (field_date);
+- g_free (field_time);
++ fdata->size = atol (fields[2]);
++ for (i = 0; i < 12; i++) {
++ if (!strncmp(fields[3], months[i], 3)) break;
++ }
++
++ tm.tm_mon = i;
++ tm.tm_year = atoi (fields[6]) - 1900;
++ tm.tm_mday = atoi (fields[4]);
++ time_fields = g_strsplit(fields[5], ":", 2);
++ tm.tm_hour = atoi (time_fields[0]);
++ tm.tm_min = atoi (time_fields[1]);
++ tm.tm_sec = 0;
++ tm.tm_isdst = -1;
++ fdata->modified = mktime(&tm);
++ g_strfreev (fields);
++ g_strfreev (time_fields);
+
+ /* Full path */
+
+- field_name = tar_get_last_field (line, date_idx, 3);
++ field_name = get_last_field (line, 8);
+ fields = g_strsplit (field_name, " -> ", 2);
+
+ if (fields[1] == NULL) {
+@@ -162,7 +175,6 @@
+ if (fields[1] != NULL)
+ fdata->link = g_strdup (fields[1]);
+ g_strfreev (fields);
+- g_free (field_name);
+
+ fdata->name = g_strdup (file_name_from_path (fdata->full_path));
+ fdata->path = remove_level_from_path (fdata->full_path);
diff --git a/archivers/fileroller/pkg-descr b/archivers/fileroller/pkg-descr
new file mode 100644
index 000000000..703a89829
--- /dev/null
+++ b/archivers/fileroller/pkg-descr
@@ -0,0 +1,21 @@
+File Roller is an archive manager for the GNOME environment. It is only a
+front-end (a graphical interface) to archiving programs like tar and zip.
+The supported file types are:
+
+* Tar archives uncompressed (.tar) or compressed with gzip (.tar.gz , .tgz),
+ bzip (.tar.bz , .tbz), bzip2 (.tar.bz2 , .tbz2), compress (.tar.Z , .taz),
+ lzop (.tar.lzo , .tzo)
+* Zip archives (.zip)
+* Jar archives (.jar , .ear , .war)
+* Lha archives (.lzh)
+* Rar archives (.rar)
+* Single files compressed with gzip, bzip, bzip2, compress, lzop
+
+File Roller also has a document viewer based on bonobo that lets you view files
+of any type for which you have a viewer.
+
+Former WinZip users may find this program useful. It serves the same purpose.
+
+WWW: http://fileroller.sourceforge.net/
+
+- Anders Nordby <anders@FreeBSD.org>
diff --git a/archivers/fileroller/pkg-plist b/archivers/fileroller/pkg-plist
new file mode 100644
index 000000000..187b11b08
--- /dev/null
+++ b/archivers/fileroller/pkg-plist
@@ -0,0 +1,177 @@
+bin/file-roller
+lib/bonobo/libfile-roller-component.so
+libdata/bonobo/servers/File_Roller_Component.server
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/gnome/application-registry/file-roller.applications
+share/gnome/applications/file-roller.desktop
+@exec update-desktop-database > /dev/null || /usr/bin/true
+share/gnome/file-roller/glade/file_roller.glade
+share/gnome/help/file-roller/C/figures/file-roller_home.png
+share/gnome/help/file-roller/C/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/C/figures/file-roller_main_window.png
+share/gnome/help/file-roller/C/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/C/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/C/file-roller.xml
+share/gnome/help/file-roller/C/legal.xml
+share/gnome/help/file-roller/de/figures/file-roller_main_window.png
+share/gnome/help/file-roller/de/file-roller.xml
+share/gnome/help/file-roller/de/legal.xml
+share/gnome/help/file-roller/es/figures/file-roller_home.png
+share/gnome/help/file-roller/es/figures/file-roller_leftarrow.png
+share/gnome/help/file-roller/es/figures/file-roller_main_window.png
+share/gnome/help/file-roller/es/figures/file-roller_rightarrow.png
+share/gnome/help/file-roller/es/figures/file-roller_uparrow.png
+share/gnome/help/file-roller/es/file-roller.xml
+share/gnome/help/file-roller/es/legal.xml
+share/gnome/help/file-roller/fr/figures/file-roller_main_window.png
+share/gnome/help/file-roller/fr/file-roller.xml
+share/gnome/help/file-roller/fr/legal.xml
+share/gnome/help/file-roller/it/figures/file-roller_main_window.png
+share/gnome/help/file-roller/it/file-roller.xml
+share/gnome/help/file-roller/it/legal.xml
+share/gnome/help/file-roller/ja/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ja/file-roller.xml
+share/gnome/help/file-roller/ja/legal.xml
+share/gnome/help/file-roller/ko/figures/file-roller_main_window.png
+share/gnome/help/file-roller/ko/file-roller.xml
+share/gnome/help/file-roller/ko/legal.xml
+share/gnome/help/file-roller/ru/figures/fr-add-dialog.png
+share/gnome/help/file-roller/ru/figures/fr-extract.png
+share/gnome/help/file-roller/ru/figures/fr-mainwindow.png
+share/gnome/help/file-roller/ru/figures/fr-prefs.png
+share/gnome/help/file-roller/ru/file-roller.xml
+share/gnome/help/file-roller/ru/legal.xml
+share/gnome/help/file-roller/sv/figures/file-roller_main_window.png
+share/gnome/help/file-roller/sv/file-roller.xml
+share/gnome/help/file-roller/sv/legal.xml
+share/gnome/help/file-roller/uk/figures/fr-add-dialog.png
+share/gnome/help/file-roller/uk/figures/fr-extract.png
+share/gnome/help/file-roller/uk/figures/fr-mainwindow.png
+share/gnome/help/file-roller/uk/figures/fr-prefs.png
+share/gnome/help/file-roller/uk/file-roller.xml
+share/gnome/help/file-roller/uk/legal.xml
+share/gnome/help/file-roller/zh_CN/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_CN/file-roller.xml
+share/gnome/help/file-roller/zh_CN/legal.xml
+share/gnome/help/file-roller/zh_HK/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_HK/file-roller.xml
+share/gnome/help/file-roller/zh_HK/legal.xml
+share/gnome/help/file-roller/zh_TW/figures/file-roller_main_window.png
+share/gnome/help/file-roller/zh_TW/file-roller.xml
+share/gnome/help/file-roller/zh_TW/legal.xml
+share/gnome/mime-info/file-roller.keys
+share/gnome/mime-info/file-roller.mime
+share/gnome/omf/file-roller/file-roller-C.omf
+share/gnome/omf/file-roller/file-roller-de.omf
+share/gnome/omf/file-roller/file-roller-es.omf
+share/gnome/omf/file-roller/file-roller-fr.omf
+share/gnome/omf/file-roller/file-roller-it.omf
+share/gnome/omf/file-roller/file-roller-ja.omf
+share/gnome/omf/file-roller/file-roller-ko.omf
+share/gnome/omf/file-roller/file-roller-ru.omf
+share/gnome/omf/file-roller/file-roller-sv.omf
+share/gnome/omf/file-roller/file-roller-uk.omf
+share/gnome/omf/file-roller/file-roller-zh_CN.omf
+share/gnome/omf/file-roller/file-roller-zh_HK.omf
+share/gnome/omf/file-roller/file-roller-zh_TW.omf
+share/gnome/pixmaps/file-roller.png
+share/locale/am/LC_MESSAGES/file-roller.mo
+share/locale/ar/LC_MESSAGES/file-roller.mo
+share/locale/az/LC_MESSAGES/file-roller.mo
+share/locale/be/LC_MESSAGES/file-roller.mo
+share/locale/bg/LC_MESSAGES/file-roller.mo
+share/locale/bn/LC_MESSAGES/file-roller.mo
+share/locale/bs/LC_MESSAGES/file-roller.mo
+share/locale/ca/LC_MESSAGES/file-roller.mo
+share/locale/cs/LC_MESSAGES/file-roller.mo
+share/locale/cy/LC_MESSAGES/file-roller.mo
+share/locale/da/LC_MESSAGES/file-roller.mo
+share/locale/de/LC_MESSAGES/file-roller.mo
+share/locale/el/LC_MESSAGES/file-roller.mo
+share/locale/en_CA/LC_MESSAGES/file-roller.mo
+share/locale/en_GB/LC_MESSAGES/file-roller.mo
+share/locale/es/LC_MESSAGES/file-roller.mo
+share/locale/et/LC_MESSAGES/file-roller.mo
+share/locale/eu/LC_MESSAGES/file-roller.mo
+share/locale/fa/LC_MESSAGES/file-roller.mo
+share/locale/fi/LC_MESSAGES/file-roller.mo
+share/locale/fr/LC_MESSAGES/file-roller.mo
+share/locale/ga/LC_MESSAGES/file-roller.mo
+share/locale/gu/LC_MESSAGES/file-roller.mo
+share/locale/he/LC_MESSAGES/file-roller.mo
+share/locale/hi/LC_MESSAGES/file-roller.mo
+share/locale/hr/LC_MESSAGES/file-roller.mo
+share/locale/hu/LC_MESSAGES/file-roller.mo
+share/locale/id/LC_MESSAGES/file-roller.mo
+share/locale/is/LC_MESSAGES/file-roller.mo
+share/locale/it/LC_MESSAGES/file-roller.mo
+share/locale/ja/LC_MESSAGES/file-roller.mo
+share/locale/kn/LC_MESSAGES/file-roller.mo
+share/locale/ko/LC_MESSAGES/file-roller.mo
+share/locale/lt/LC_MESSAGES/file-roller.mo
+share/locale/lv/LC_MESSAGES/file-roller.mo
+share/locale/mk/LC_MESSAGES/file-roller.mo
+share/locale/ml/LC_MESSAGES/file-roller.mo
+share/locale/mn/LC_MESSAGES/file-roller.mo
+share/locale/ms/LC_MESSAGES/file-roller.mo
+share/locale/nb/LC_MESSAGES/file-roller.mo
+share/locale/ne/LC_MESSAGES/file-roller.mo
+share/locale/nl/LC_MESSAGES/file-roller.mo
+share/locale/nn/LC_MESSAGES/file-roller.mo
+share/locale/no/LC_MESSAGES/file-roller.mo
+share/locale/pa/LC_MESSAGES/file-roller.mo
+share/locale/pl/LC_MESSAGES/file-roller.mo
+share/locale/pt/LC_MESSAGES/file-roller.mo
+share/locale/pt_BR/LC_MESSAGES/file-roller.mo
+share/locale/ro/LC_MESSAGES/file-roller.mo
+share/locale/ru/LC_MESSAGES/file-roller.mo
+share/locale/sk/LC_MESSAGES/file-roller.mo
+share/locale/sl/LC_MESSAGES/file-roller.mo
+share/locale/sq/LC_MESSAGES/file-roller.mo
+share/locale/sr/LC_MESSAGES/file-roller.mo
+share/locale/sr@Latn/LC_MESSAGES/file-roller.mo
+share/locale/sr@ije/LC_MESSAGES/file-roller.mo
+share/locale/sv/LC_MESSAGES/file-roller.mo
+share/locale/ta/LC_MESSAGES/file-roller.mo
+share/locale/th/LC_MESSAGES/file-roller.mo
+share/locale/tk/LC_MESSAGES/file-roller.mo
+share/locale/tr/LC_MESSAGES/file-roller.mo
+share/locale/uk/LC_MESSAGES/file-roller.mo
+share/locale/vi/LC_MESSAGES/file-roller.mo
+share/locale/zh_CN/LC_MESSAGES/file-roller.mo
+share/locale/zh_TW/LC_MESSAGES/file-roller.mo
+@dirrm share/gnome/omf/file-roller
+@dirrm share/gnome/help/file-roller/zh_TW/figures
+@dirrm share/gnome/help/file-roller/zh_TW
+@dirrm share/gnome/help/file-roller/zh_HK/figures
+@dirrm share/gnome/help/file-roller/zh_HK
+@dirrm share/gnome/help/file-roller/zh_CN/figures
+@dirrm share/gnome/help/file-roller/zh_CN
+@dirrm share/gnome/help/file-roller/uk/figures
+@dirrm share/gnome/help/file-roller/uk
+@dirrm share/gnome/help/file-roller/sv/figures
+@dirrm share/gnome/help/file-roller/sv
+@dirrm share/gnome/help/file-roller/ru/figures
+@dirrm share/gnome/help/file-roller/ru
+@dirrm share/gnome/help/file-roller/ko/figures
+@dirrm share/gnome/help/file-roller/ko
+@dirrm share/gnome/help/file-roller/ja/figures
+@dirrm share/gnome/help/file-roller/ja
+@dirrm share/gnome/help/file-roller/it/figures
+@dirrm share/gnome/help/file-roller/it
+@dirrm share/gnome/help/file-roller/fr/figures
+@dirrm share/gnome/help/file-roller/fr
+@dirrm share/gnome/help/file-roller/es/figures
+@dirrm share/gnome/help/file-roller/es
+@dirrm share/gnome/help/file-roller/de/figures
+@dirrm share/gnome/help/file-roller/de
+@dirrm share/gnome/help/file-roller/C/figures
+@dirrm share/gnome/help/file-roller/C
+@dirrm share/gnome/help/file-roller
+@dirrm share/gnome/file-roller/glade
+@dirrm share/gnome/file-roller
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec update-desktop-database > /dev/null || /usr/bin/true