aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-05-19 19:42:43 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-05-19 19:42:43 +0000
commitd1958d16b3990f8d41cabb13b83d45b3d03fbece (patch)
tree8f8acf476c7cbd63bc6f8a4dcad9aafd586239df /archivers
parent1176e4b818a950e376982ae9372cdc6455d12901 (diff)
downloadports-d1958d16b3990f8d41cabb13b83d45b3d03fbece.tar.gz
ports-d1958d16b3990f8d41cabb13b83d45b3d03fbece.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar/Makefile46
-rw-r--r--archivers/rar/distinfo2
-rw-r--r--archivers/rar/pkg-comment2
-rw-r--r--archivers/rar/pkg-plist7
4 files changed, 45 insertions, 12 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index eb96659e5d13..9b4e87a1a94d 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -1,24 +1,50 @@
# New ports collection makefile for: rar
-# Version required: 2.00 beta
+# http://www.inetpros.net/rar.htm
+# Version required: 2.01
# Date created: 15 May 1996
# Whom: ache
#
-# $Id: Makefile,v 1.1.1.1 1996/05/15 19:19:40 ache Exp $
+# $Id: Makefile,v 1.2 1996/11/12 02:17:36 obrien Exp $
#
-DISTNAME= rar2bsdb
-PKGNAME= rar-2.00b
+DISTNAME= rarbsd
+PKGNAME= rar-2.01
CATEGORIES= archivers
-MASTER_SITES= ftp://ftp.relcom.ru/unix/arcers/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ftp://ftp.inetpros.net/pub/rar/ \
+ ftp://ftp.relcom.ru/unix/arcers/
+EXTRACT_SUFX= .exe
MAINTAINER= ache@FreeBSD.ORG
-NO_BUILD= yes
+RESTRICTED= "only unmodified original SFX can be distributed"
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD=
+EXTRACT_BEFORE_ARGS=
+
+post-fetch:
+ chmod a+x ${DISTDIR}/${DISTFILES}
+
+do-build:
+ cd ${WRKSRC} && \
+ for i in *.Txt *.Lst; do \
+ tr -d '\015' < $$i > $$i.tmp; \
+ mv $$i.tmp $$i; \
+ done
do-install:
- cd ${WRKSRC}; \
- ${INSTALL_PROGRAM} rar_bsd ${PREFIX}/bin/rar; \
- ${INSTALL_MAN} rar.man ${PREFIX}/man/cat1/rar.1
+ install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
+ ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} RAR ${PREFIX}/bin/rar && \
+ ${INSTALL_MAN} Rar.Txt ${PREFIX}/man/cat1/rar.1 && \
+ ${INSTALL_MAN} Rar_FAQ.Txt TechNote.Txt License.Txt Internet.Txt \
+ ${PREFIX}/share/doc/rar && \
+ ${INSTALL_DATA} RarFiles.Lst \
+ ${PREFIX}/share/rar/rarfiles.lst && \
+ ${INSTALL_DATA} DEFAULT.SFX \
+ ${PREFIX}/share/rar/default.sfx && \
+ ${INSTALL_DATA} Dos.SFX \
+ ${PREFIX}/share/rar/dos.sfx
.include <bsd.port.mk>
diff --git a/archivers/rar/distinfo b/archivers/rar/distinfo
index dada7c63942c..ec5b7dab74ad 100644
--- a/archivers/rar/distinfo
+++ b/archivers/rar/distinfo
@@ -1 +1 @@
-MD5 (rar2bsdb.tgz) = 57f7ec0a356e15d56925404e92ea29e1
+MD5 (rarbsd.exe) = 6029daaab2569454341d6b798eb4e79a
diff --git a/archivers/rar/pkg-comment b/archivers/rar/pkg-comment
index 25b52b9eaf69..0190de1c7792 100644
--- a/archivers/rar/pkg-comment
+++ b/archivers/rar/pkg-comment
@@ -1 +1 @@
-File archiver.
+File archiver (binary port)
diff --git a/archivers/rar/pkg-plist b/archivers/rar/pkg-plist
index ed748140dafe..32c465b5905b 100644
--- a/archivers/rar/pkg-plist
+++ b/archivers/rar/pkg-plist
@@ -1,2 +1,9 @@
bin/rar
man/cat1/rar.1
+share/rar/dos.sfx
+share/rar/default.sfx
+share/rar/rarfiles.lst
+share/doc/rar/TechNote.Txt
+share/doc/rar/Rar_FAQ.Txt
+share/doc/rar/License.Txt
+share/doc/rar/Internet.Txt