DESCR

This is an extract only program which allows access to the contents of ARJ
archives.

COMMAND SYNTAX:

UNARJ has been modified to support the four commands: "e", "l", "t",
and "x". These are similar to the ARJ version of these commands.
However, UNARJ does not create directories when using the "x" command.

Usage: UNARJ archive[.arj] (list archive)
UNARJ e archive (extract archive)
UNARJ l archive (list archive)
UNARJ t archive (test archive)
UNARJ x archive (extract with pathnames)

UNARJ does not accept any other commands or options. You cannot
specify a base directory or select individual files to extract. UNARJ
does not support empty directories or volume labels. UNARJ is much
slower than ARJ because ARJ is highly optimized using assembly
language.

Makefile

# $NetBSD: Makefile,v 1.26 2008/03/02 03:48:37 jlam Exp $

DISTNAME= unarj-2.65
PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_LOCAL}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.arjsoftware.com/
COMMENT= Allows files to be extracted from ARJ archives

LICENSE= unarj-license
RESTRICTED= Do not charge a fee for use, copying, or distribution
NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}

PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir

NO_CONFIGURE= yes

INSTALLATION_DIRS= bin

post-extract:
${CP} ${FILESDIR}/Makefile ${WRKSRC}

do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/unarj
${INSTALL_PROGRAM} ${WRKSRC}/unarj ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unarj.txt \
${DESTDIR}${PREFIX}/share/doc/unarj
${INSTALL_MAN} ${WRKSRC}/technote.txt \
${DESTDIR}${PREFIX}/share/doc/unarj

.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.3 2005/09/02 23:16:57 rillig Exp $
bin/unarj
share/doc/unarj/technote.txt
share/doc/unarj/unarj.txt
@dirrm share/doc/unarj

distinfo

$NetBSD: distinfo,v 1.5 2005/02/23 14:45:27 agc Exp $

SHA1 (unarj-2.65.tar.gz) = 56843e95e6b6ac7577dfdfbfee5af166b5e2c74f
RMD160 (unarj-2.65.tar.gz) = 59984fc428d1fc99aa3e18485f82e9ee45a801ba
Size (unarj-2.65.tar.gz) = 74911 bytes
SHA1 (patch-aa) = 2029b106a498624902639897ae539fd54a0d1052
SHA1 (patch-ab) = 15216bc07298ce0956bfbadfaae763622ee88a0c
SHA1 (patch-ac) = 59245f61d731e2fd6dc101fefe0f62db0c55b55e
SHA1 (patch-ad) = 46c469ade1a20da7e3ac633652e4ec926ba2b08f