summaryrefslogtreecommitdiffstats
path: root/usr.bin/unzip/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-01-08 08:00:06 +0000
committerdes <des@FreeBSD.org>2008-01-08 08:00:06 +0000
commit2f455753ea72f62ad975848f72090db748e9de3e (patch)
tree17448554c7dc5ea18181f2ad738837d975f21630 /usr.bin/unzip/Makefile
parent1484f849052138d405a5bf2d2bb8239d99a88a7b (diff)
downloadFreeBSD-src-2f455753ea72f62ad975848f72090db748e9de3e.zip
FreeBSD-src-2f455753ea72f62ad975848f72090db748e9de3e.tar.gz
Welcome unzip(1), a pure BSD drop-in replacement for ports/unzip. In its
current state, it can handle all but four of the 991 zip files (including jar files) I was able to identify in the ports tree. The remaining four are two self-extracting archives and two which have garbage preceding the first local header. This limitation is a feature of libarchive(3) which I am currently working to resolve. The code is unnecessarily large due to the need to emulate the exact command-line syntax and behaviour of ports/unzip. My initial incompatible implementation was one quarter the size of the one I am committing here.
Diffstat (limited to 'usr.bin/unzip/Makefile')
-rw-r--r--usr.bin/unzip/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/unzip/Makefile b/usr.bin/unzip/Makefile
new file mode 100644
index 0000000..cc31dea
--- /dev/null
+++ b/usr.bin/unzip/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+PROG = unzip
+WARNS ?= 6
+CSTD = c99
+DPADD = ${LIBARCHIVE}
+LDADD = -larchive
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud