summaryrefslogtreecommitdiff
path: root/archivers/unzip
diff options
context:
space:
mode:
authorhubertf <hubertf>1997-10-27 02:18:56 +0000
committerhubertf <hubertf>1997-10-27 02:18:56 +0000
commit163c716bacabc1ac304ba3c6cf2111dd011754c9 (patch)
treeaa7fd087d6bcf69328ebc37067c429ed69a80a4c /archivers/unzip
parent2fe87d46c07eb4c0045cb7a322985f096afb1284 (diff)
downloadpkgsrc-163c716bacabc1ac304ba3c6cf2111dd011754c9.tar.gz
File archivers, ports from FreeBSD
Diffstat (limited to 'archivers/unzip')
-rw-r--r--archivers/unzip/Makefile34
-rw-r--r--archivers/unzip/files/md51
-rw-r--r--archivers/unzip/pkg/COMMENT1
-rw-r--r--archivers/unzip/pkg/DESCR23
-rw-r--r--archivers/unzip/pkg/PLIST13
5 files changed, 72 insertions, 0 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
new file mode 100644
index 00000000000..12f9c43ba64
--- /dev/null
+++ b/archivers/unzip/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: unzip
+# Version required: 5.3.1
+# Date created: 17 October 1994
+# Whom: jmz
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/27 02:19:06 hubertf Exp $
+#
+
+DISTNAME= unzip-5.3.1
+CATEGORIES= archivers
+MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
+DISTFILES= unzip531.tar.gz
+
+MAINTAINER= ache@FreeBSD.ORG
+
+NO_WRKSUBDIR= YES
+MAKEFILE= unix/Makefile
+ALL_TARGET= bsd
+MAKE_FLAGS= LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK" -f
+MAN1= funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} unzip funzip unzipsfx ${PREFIX}/bin
+ ln -sf unzip ${PREFIX}/bin/zipinfo
+ cd ${WRKSRC}/unix && \
+ ${INSTALL_SCRIPT} zipgrep ${PREFIX}/bin
+ cd ${WRKSRC}/unix && \
+ ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
+ install -d -m 555 -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/share/doc/unzip
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} README Where COPYING ${PREFIX}/share/doc/unzip
+
+.include <bsd.port.mk>
diff --git a/archivers/unzip/files/md5 b/archivers/unzip/files/md5
new file mode 100644
index 00000000000..21ef0de0829
--- /dev/null
+++ b/archivers/unzip/files/md5
@@ -0,0 +1 @@
+MD5 (unzip531.tar.gz) = 071a67ce0b9f561c1011a3d307c5acb0
diff --git a/archivers/unzip/pkg/COMMENT b/archivers/unzip/pkg/COMMENT
new file mode 100644
index 00000000000..cd1f4196edd
--- /dev/null
+++ b/archivers/unzip/pkg/COMMENT
@@ -0,0 +1 @@
+List, test and extract compressed files in a ZIP archive.
diff --git a/archivers/unzip/pkg/DESCR b/archivers/unzip/pkg/DESCR
new file mode 100644
index 00000000000..5171951acc8
--- /dev/null
+++ b/archivers/unzip/pkg/DESCR
@@ -0,0 +1,23 @@
+Unzip will list, test, or extract files from a ZIP archive, commonly
+found on MS-DOS systems. The default behavior (with no options) is to
+extract into the current directory (and subdirectories below it) all
+files from the specified ZIP archive. Unzip is compatible with
+archives created by PKWARE's PKZIP, but in many cases the program
+options or default behaviors differ.
+
+Zipinfo lists technical information about files in a ZIP archive, most
+commonly found on MS-DOS systems. Such information includes file access
+permissions, encryption status, type of compression, version and operating
+system or file system of compressing program, and the like.
+
+Funzip acts as a filter; that is, it assumes that a ZIP archive is
+being piped into standard input, and it extracts the first member from
+the archive to stdout. If there is an argument, then the input comes
+from the specified file instead of from stdin.
+
+Unzipsfx is a modified version of unzip designed to be prepended to
+existing ZIP archives in order to form self-extracting archives.
+Instead of taking its first non-flag argument to be the zipfile(s) to
+be extracted, unzipsfx seeks itself under the name by which it was
+invoked and tests or extracts the contents of the appended archive.
+
diff --git a/archivers/unzip/pkg/PLIST b/archivers/unzip/pkg/PLIST
new file mode 100644
index 00000000000..0953fdfe5b7
--- /dev/null
+++ b/archivers/unzip/pkg/PLIST
@@ -0,0 +1,13 @@
+bin/unzip
+@exec ln -sf %f %B/zipinfo
+bin/funzip
+bin/unzipsfx
+bin/zipgrep
+man/man1/funzip.1.gz
+man/man1/unzip.1.gz
+man/man1/unzipsfx.1.gz
+man/man1/zipgrep.1.gz
+man/man1/zipinfo.1.gz
+share/doc/unzip/README
+share/doc/unzip/COPYING
+share/doc/unzip/Where