summaryrefslogtreecommitdiff
path: root/archivers/unrar
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-05-19 20:29:13 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-05-19 20:29:13 +0000
commite053243c9931dabb58103753d39d607af422b69c (patch)
treeaf78c96a2f8cdd1f8c34cd1ad4e34084529ff0c1 /archivers/unrar
parentUpgrade to 2.01 (diff)
Upgrade to 2.01
Notes
Notes: svn path=/head/; revision=6492
Diffstat (limited to 'archivers/unrar')
-rw-r--r--archivers/unrar/Makefile23
-rw-r--r--archivers/unrar/distinfo3
-rw-r--r--archivers/unrar/pkg-plist3
3 files changed, 18 insertions, 11 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index a0e9f6b2fb08..3768fb06c6bb 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -1,22 +1,29 @@
# New ports collection makefile for: unrar
-# Version required: 1.01
+# Version required: 2.01
# Date created: 28 Dec 1994
# Whom: ache
#
-# $Id: Makefile,v 1.6 1996/05/16 08:59:57 asami Exp $
+# $Id: Makefile,v 1.7 1996/11/12 02:17:40 obrien Exp $
#
-DISTNAME= unrar101
-PKGNAME= unrar-1.01a
+DISTNAME= unrar-2.01
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.relcom.ru/unix/arcers/
EXTRACT_SUFX= .tgz
-PATCH_SITES= $(MASTER_SITES)
-PATCHFILES= unrar101a.patch
-
MAINTAINER= ache@FreeBSD.ORG
-WRKSRC= ${WRKDIR}/unrar.101
+NO_WRKSUBDIR= Yes
+
+do-build:
+ cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
+
+do-install:
+ install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
+ ${PREFIX}/share/doc/unrar
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \
+ ${PREFIX}/share/doc/unrar
.include <bsd.port.mk>
diff --git a/archivers/unrar/distinfo b/archivers/unrar/distinfo
index ffcb0c2eb322..9288eff03b68 100644
--- a/archivers/unrar/distinfo
+++ b/archivers/unrar/distinfo
@@ -1,2 +1 @@
-MD5 (unrar101.tgz) = 6a4329b79123374470c5ccca26734ebd
-MD5 (unrar101a.patch) = e6dd15a73054253b27be52215be58115
+MD5 (unrar-2.01.tgz) = ba30fc400cd97b987b1076889c1736ef
diff --git a/archivers/unrar/pkg-plist b/archivers/unrar/pkg-plist
index f6584233ecfa..230848d71458 100644
--- a/archivers/unrar/pkg-plist
+++ b/archivers/unrar/pkg-plist
@@ -1,2 +1,3 @@
bin/unrar
-
+share/doc/unrar/license.txt
+share/doc/unrar/readme.txt