diff options
Diffstat (limited to 'archivers/rar')
-rw-r--r-- | archivers/rar/Makefile | 50 | ||||
-rw-r--r-- | archivers/rar/files/md5 | 1 | ||||
-rw-r--r-- | archivers/rar/pkg/COMMENT | 1 | ||||
-rw-r--r-- | archivers/rar/pkg/DESCR | 4 | ||||
-rw-r--r-- | archivers/rar/pkg/PLIST | 9 |
5 files changed, 65 insertions, 0 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile new file mode 100644 index 00000000000..f35fb19cafb --- /dev/null +++ b/archivers/rar/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: rar +# http://www.inetpros.net/rar.htm +# Version required: 2.01 +# Date created: 15 May 1996 +# Whom: ache +# +# $Id: Makefile,v 1.1.1.1 1997/10/27 02:19:04 hubertf Exp $ +# + +DISTNAME= rarbsd +PKGNAME= rar-2.01 +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.inetpros.net/pub/rar/ \ + ftp://ftp.kiarchive.ru/pub/unix/arcers/ +EXTRACT_SUFX= .exe + +MAINTAINER= ache@FreeBSD.ORG + +NO_PACKAGE= Only unmodified original package 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: + 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/files/md5 b/archivers/rar/files/md5 new file mode 100644 index 00000000000..ec5b7dab74a --- /dev/null +++ b/archivers/rar/files/md5 @@ -0,0 +1 @@ +MD5 (rarbsd.exe) = 6029daaab2569454341d6b798eb4e79a diff --git a/archivers/rar/pkg/COMMENT b/archivers/rar/pkg/COMMENT new file mode 100644 index 00000000000..0190de1c779 --- /dev/null +++ b/archivers/rar/pkg/COMMENT @@ -0,0 +1 @@ +File archiver (binary port) diff --git a/archivers/rar/pkg/DESCR b/archivers/rar/pkg/DESCR new file mode 100644 index 00000000000..290dfef64ae --- /dev/null +++ b/archivers/rar/pkg/DESCR @@ -0,0 +1,4 @@ + The rar archiver adds and extracts files to and from an archive. The + archive is usually a regular file, which name has ".rar" suffix in its + end. Archive could be a media like a floppy diskette, tape or any other + storage device. diff --git a/archivers/rar/pkg/PLIST b/archivers/rar/pkg/PLIST new file mode 100644 index 00000000000..32c465b5905 --- /dev/null +++ b/archivers/rar/pkg/PLIST @@ -0,0 +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 |