summaryrefslogtreecommitdiff
path: root/misc/bsdiff/Makefile
diff options
context:
space:
mode:
authorcjep <cjep>2003-12-30 17:34:45 +0000
committercjep <cjep>2003-12-30 17:34:45 +0000
commit065bed5d853e0a9bec18976036be9fb153c96e3a (patch)
tree1898c9753f6371f1956c77643b27b9275f9f7b0a /misc/bsdiff/Makefile
parenta9cff35a9cd342ec74c4255f4b6f403c54ae9fb5 (diff)
downloadpkgsrc-065bed5d853e0a9bec18976036be9fb153c96e3a.tar.gz
Initial import of bsdiff (and bspatch) version 4.1 into the NetBSD
packages collection as misc/bsdiff. Bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a $2750/seat commercial patch tool).
Diffstat (limited to 'misc/bsdiff/Makefile')
-rw-r--r--misc/bsdiff/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/bsdiff/Makefile b/misc/bsdiff/Makefile
new file mode 100644
index 00000000000..55879ab6a01
--- /dev/null
+++ b/misc/bsdiff/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/30 17:34:45 cjep Exp $
+#
+
+DISTNAME= bsdiff-4.1
+CATEGORIES= misc
+MASTER_SITES= http://www.daemonology.net/bsdiff/
+
+MAINTAINER= cjep@NetBSD.org
+HOMEPAGE= http://www.daemonology.net/bsdiff/
+COMMENT= Size efficient binary diff and patch tools
+
+USE_BUILDLINK2= yes
+
+.if !exists(/usr/bin/bzip2)
+MAKE_ENV+= BZIP2=${LOCALBASE}/bin/bzip2
+.endif
+
+.include "../../archivers/bzip2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"