Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 23:44:55 GMT
From:      Mark Kane <mark@mkproductions.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88760: New Port: archivers/xarchive - A GTK+ front end to command line archiving tools
Message-ID:  <200511092344.jA9Nit1g051793@www.freebsd.org>
Resent-Message-ID: <200511092350.jA9NoH2d050039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88760
>Category:       ports
>Synopsis:       New Port: archivers/xarchive - A GTK+ front end to command line archiving tools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 09 23:50:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Mark Kane
>Release:        5.4-RELEASE and -STABLE
>Organization:
MKProductions
>Environment:
FreeBSD freebsd.mixx941.com 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu Aug 25 17:56:11 CDT 2005     mixx941@freebsd.mixx941.com:/usr/obj/usr/src/sys/AMDXP2000  i386

FreeBSD amd64.localhost 5.4-RELEASE FreeBSD 5.4-RELEASE #4: Sun Aug 28 02:04:13 CDT 2005     mixx941@amd64.localhost:/usr/obj/usr/src/sys/AMD643000  amd64
>Description:
XArchive is a GTK+ front end for command line archiving tools such as tar, rar,
zip, ace, 7zip, arj, and rpm.

It uses external bash shell wrappers to handle the different types of file
formats, so adding support for new archive types can be easily done by writing
a wrapper.

WWW: http://xarchive.sourceforge.net

- Mark
mark@mkproductions.org
http://www.mkproductions.org


>How-To-Repeat:
              
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       /usr/ports/archivers/xarchive
#       /usr/ports/archivers/xarchive/Makefile
#       /usr/ports/archivers/xarchive/pkg-descr
#       /usr/ports/archivers/xarchive/pkg-plist
#       /usr/ports/archivers/xarchive/distinfo
#
echo c - /usr/ports/archivers/xarchive
mkdir -p /usr/ports/archivers/xarchive > /dev/null 2>&1
echo x - /usr/ports/archivers/xarchive/Makefile
sed 's/^X//' >/usr/ports/archivers/xarchive/Makefile << 'END-of-/usr/ports/archivers/xarchive/Makefile'
X# New ports collection makefile for:   xarchive
X# Date created:        09 November 2005
X# Whom:                Mark Kane <mark@mkproductions.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      xarchive
XPORTVERSION=   0.2.6.3
XCATEGORIES=    archivers
XMASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=    ${PORTNAME}
XDISTNAME=      ${PORTNAME}-0.2.6-3
X
XMAINTAINER=    mark@mkproductions.org
XCOMMENT=       A GTK+ front end for archiving tools
X
XRUN_DEPENDS=   bash:${PORTSDIR}/shells/bash
X
XMAN1=          xarchive.1
XMANCOMPRESSED= no
X
XGNU_CONFIGURE= yes
XUSE_GNOME=     gtk20
X
XOPTIONS=       7ZIP "Support for 7zip archives" off \
X               ARJ "Support for ARJ archives" off \
X               ACE "Support for ACE archives" off \
X               RAR "Support for RAR archives" off \
X               RPM "Support for RPM archives" off \
X               ZIP "Support for ZIP archives" off \
X
X.include <bsd.port.pre.mk>
X
X.if defined (WITH_7ZIP)
XRUN_DEPENDS+=  7z:${PORTSDIR}/archivers/p7zip
X.endif # defined(WITH_7ZIP)
X
X.if defined (WITH_ARJ)
XRUN_DEPENDS+=  arj:${PORTSDIR}/archivers/arj
X.endif # defined(WITH_ARJ)
X
X.if defined (WITH_ACE)
XRUN_DEPENDS+=  unace:${PORTSDIR}/archivers/unace
X.endif # defined(WITH_ARJ)
X
X.if defined (WITH_RAR)
XRUN_DEPENDS+=  rar:${PORTSDIR}/archivers/rar \
X               unrar:${PORTSDIR}/archivers/unrar
X.endif # defined(WITH_RAR)
X
X.if defined (WITH_RPM)
XRUN_DEPENDS+=  rpm:${PORTSDIR}/archivers/rpm4
X.endif # defined (WITH_RPM)
X
X.if defined (WITH_ZIP)
XRUN_DEPENDS+=  zip:${PORTSDIR}/archivers/zip \
X               unzip:${PORTSDIR}/archivers/unzip
X.endif # defined (WITH_ZIP)
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/archivers/xarchive/Makefile
echo x - /usr/ports/archivers/xarchive/pkg-descr
sed 's/^X//' >/usr/ports/archivers/xarchive/pkg-descr << 'END-of-/usr/ports/archivers/xarchive/pkg-descr'
XXArchive is a GTK+ front end for command line archiving tools such as tar, rar,
Xzip, ace, 7zip, arj, and rpm.
X
XIt uses external bash shell wrappers to handle the different types of file
Xformats, so adding support for new archive types can be easily done by writing
Xa wrapper.
X
XWWW: http://xarchive.sourceforge.net
X
X- Mark
Xmark@mkproductions.org
Xhttp://www.mkproductions.org
END-of-/usr/ports/archivers/xarchive/pkg-descr
echo x - /usr/ports/archivers/xarchive/pkg-plist
sed 's/^X//' >/usr/ports/archivers/xarchive/pkg-plist << 'END-of-/usr/ports/archivers/xarchive/pkg-plist'
Xbin/xarchive
Xlib/xarchive/wrappers/7za-wrap.sh
Xlib/xarchive/wrappers/arj-wrap.sh
Xlib/xarchive/wrappers/deb-wrap.sh
Xlib/xarchive/wrappers/rar-wrap.sh
Xlib/xarchive/wrappers/rpm-wrap.sh
Xlib/xarchive/wrappers/tar-wrap.sh
Xlib/xarchive/wrappers/zip-wrap.sh
Xshare/applications/xarchive.desktop
Xshare/pixmaps/xarchive.xpm
X@dirrm lib/xarchive/wrappers
X@dirrm lib/xarchive
END-of-/usr/ports/archivers/xarchive/pkg-plist
echo x - /usr/ports/archivers/xarchive/distinfo
sed 's/^X//' >/usr/ports/archivers/xarchive/distinfo << 'END-of-/usr/ports/archivers/xarchive/distinfo'
XMD5 (xarchive-0.2.6-3.tar.gz) = 5122f3662020ac54560f8a530a64a1f6
XSIZE (xarchive-0.2.6-3.tar.gz) = 150530
END-of-/usr/ports/archivers/xarchive/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511092344.jA9Nit1g051793>