NetBSD pkgsrc (package source) is a package management system for
Unix-like operating systems
The unRAR utility is a freeware program, distributed with source
code and developed for extracting, testing and viewing the contents
of archives created with the RAR archiver, version 1.50 and above.
The unRAR utility is a minor part of the RAR archiver and contains
RAR uncompression algorithm. UnRAR requires very small volume of
memory to operate.
# $NetBSD: Makefile,v 1.55 2007/11/25 23:16:14 wiz Exp $
DISTNAME= unrarsrc-3.7.8
PKGNAME= ${DISTNAME:S/src//}
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/ \
ftp://ftp.rarlab.com/rar/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.rarlab.com/
COMMENT= Extract, view & test RAR archives
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= YES
USE_LANGUAGES= c++
MAKE_FILE= makefile.unix
LICENSE= unrar-license
RESTRICTED= Do not modify. Do not charge a fee for redistribution.
NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
WRKSRC= ${WRKDIR}/unrar
INSTALLATION_DIRS= bin share/doc/unrar
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_DATA} readme.txt license.txt \
${DESTDIR}${PREFIX}/share/doc/unrar
.include "../../mk/bsd.prefs.mk"
# Don't set _LARGEFILE_SOURCE for platforms w/o ftello() and fseeko().
#
.for platform in Interix-* NetBSD-1.5*
. if ${MACHINE_PLATFORM:M${platform}} != ""
.MAKEFLAGS+= DEFINES=""
. endif
.endfor
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2001/10/31 20:24:46 zuntum Exp $
bin/unrar
share/doc/unrar/license.txt
share/doc/unrar/readme.txt
@dirrm share/doc/unrar
$NetBSD: distinfo,v 1.35 2007/11/25 23:16:14 wiz Exp $
SHA1 (unrarsrc-3.7.8.tar.gz) = b2146b8021274cd6a0a3b816b2ec6f241c62baea
RMD160 (unrarsrc-3.7.8.tar.gz) = 0cabdd5f3d0698889dddff56669eafdcb922c327
Size (unrarsrc-3.7.8.tar.gz) = 131120 bytes
SHA1 (patch-aa) = 272060ab4fcaaae0de0d99a8533b268a3aa6d91a
SHA1 (patch-ab) = 6821e8c66a4770e43fd71bf4097db9a8bd44645c
SHA1 (patch-ac) = ce3b9a618045d7ca7232e1622ac84bd82216e297