DESCR

This package is a GPL implementation of ARJ v2.7x for DOS on UNIX and
UNIX-like systems. It is assumed that the user is familiar with ARJ
operation on DOS before using this package.

New ARJ features on UNIX and UNIX-like platforms:
- Support for symbolic and hard links
- Archiving of special entities: pipes and devices
- Support for UID/GID storage in a variety of methods
- World's smallest native self-extracting modules
- Outstanding interoperability with ARJ for DOS, Windows and OS/2 Warp

Makefile

# $NetBSD: Makefile,v 1.23 2007/12/22 23:41:01 tnn Exp $

DISTNAME= arj-3.10.22
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=arj/}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://arj.sourceforge.net/
COMMENT= Open-source ARJ archiver

PKG_INSTALLATION_TYPES= overwrite pkgviews

USE_TOOLS+= autoconf gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LD=${LD:Q}
CONFIGURE_SCRIPT= ${WRKSRC}/gnu/configure
MAKE_FILE= makefile.gnu
MAKE_FLAGS+= INSTALL_DIR=${INSTALL_PROGRAM_DIR:Q}

INSTALL_UNSTRIPPED= yes # $LOCALBASE/bin/arj must have symbol table
ARJ_DOCSDIR= ${PREFIX}/share/doc/arj

.include "../../mk/compiler.mk"

.if !empty(CC_VERSION:Mgcc-4.*)
CFLAGS+= -fno-unit-at-a-time
.endif

pre-configure:
${CP} -f ${WRKSRC}/environ.c ${WRKSRC}/environ.c.1
${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/environ.c.1 \
> ${WRKSRC}/environ.c
${RM} -f ${WRKSRC}/environ.c.1
cd ${WRKSRC}/gnu && autoconf

post-install:
${INSTALL_DATA_DIR} ${ARJ_DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${WRKSRC}/doc/debug.txt \
${ARJ_DOCSDIR}
.for i in arjl.txt arjs.txt history.txt readme.txt unix.txt
${INSTALL_DATA} ${WRKSRC}/resource/en/${i:Q} ${ARJ_DOCSDIR}
.endfor

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

PLIST

@comment $NetBSD: PLIST,v 1.2 2004/04/22 20:16:58 dillo Exp $
bin/arj
bin/arj-register
bin/arjdisp
bin/rearj
lib/arj/arjcrypt.so
man/man1/arj-register.1
man/man1/arj.1
man/man1/arjdisp.1
man/man1/rearj.1
share/doc/arj/COPYING
share/doc/arj/arjl.txt
share/doc/arj/arjs.txt
share/doc/arj/debug.txt
share/doc/arj/history.txt
share/doc/arj/readme.txt
share/doc/arj/unix.txt
@dirrm share/doc/arj
@dirrm lib/arj

distinfo

$NetBSD: distinfo,v 1.13 2008/06/21 20:24:08 joerg Exp $

SHA1 (arj-3.10.22.tar.gz) = e8470f480e9eee14906e5485a8898e5c24738c8b
RMD160 (arj-3.10.22.tar.gz) = 80f8a1a8cd203f73def8e957d96563a4dba80153
Size (arj-3.10.22.tar.gz) = 431467 bytes
SHA1 (patch-aa) = 7dc0000f3d0c0974a40bbea7d9103449cb89b4b9
SHA1 (patch-ab) = da21aae85f1bf4b9c8cac78d45ad33c44fcd5d3d
SHA1 (patch-ac) = db8a0afa61f49242e9fd601d5fc3167cf75f748b
SHA1 (patch-ad) = 186b05ec694daa25504123690f9b7bba9f22a7f4
SHA1 (patch-ae) = 46181177d4a42b510a02ce8e138275dca453f1de
SHA1 (patch-af) = 66793484466fa8c7f0ad5cd0010ef8672b2305f4
SHA1 (patch-ag) = ce4d0fefed6ccf7ab7fad864a7cb7faa36e4e4ac