[Midnightbsd-cvs] mports: mports/archivers: add zipmix port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Feb 28 21:01:25 EST 2009


Log Message:
-----------
add zipmix port

Modified Files:
--------------
    mports/archivers:
        Makefile (r1.34 -> r1.35)

Added Files:
-----------
    mports/archivers/zipmix:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
    mports/archivers/zipmix/files:
        Makefile (r1.1)
        patch-zipmix.c (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/archivers/Makefile,v
retrieving revision 1.34
retrieving revision 1.35
diff -L archivers/Makefile -L archivers/Makefile -u -r1.34 -r1.35
--- archivers/Makefile
+++ archivers/Makefile
@@ -48,6 +48,7 @@
     SUBDIR += xar
     SUBDIR += zip
     SUBDIR += zipios++
+    SUBDIR += zipmix
     SUBDIR += zipper
     SUBDIR += zoo
 
--- /dev/null
+++ archivers/zipmix/pkg-descr
@@ -0,0 +1,15 @@
+[ excerpt from developer's web site with modifications ]
+
+Sometimes, when you run 2 different .ZIP programs on the same data
+(PKZIP & KZIP for example), some files get compressed better in one
+program, while other files get compressed better in the other.
+
+ZIPMIX will take the best files from each one and create a new
+output file, which is guaranteed to be equal to or smaller in size
+to both of the input files.
+
+ZIPMIX can also be used to perform boolean operations on ZIP files,
+such as merging 2 ZIP files together, or updating a new file (with
+some tricks).
+
+WWW: http://www.advsys.net/ken/utils.htm
--- /dev/null
+++ archivers/zipmix/Makefile
@@ -0,0 +1,25 @@
+# $MidnightBSD: mports/archivers/zipmix/Makefile,v 1.1 2009/03/01 02:01:22 laffer1 Exp $
+
+PORTNAME=	zipmix
+DISTVERSION=	20070221
+CATEGORIES=	archivers
+MASTER_SITES=	http://www.advsys.net/ken/util/
+DISTNAME=	${PORTNAME}_src
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Produce a .ZIP file from 2 other ones with the best compressed files
+LICENSE=	unknown
+
+USE_DOS2UNIX=	yes
+USE_ZIP=	yes
+NO_WRKSUBDIR=	yes
+
+PLIST_FILES=	bin/${PORTNAME}
+
+pre-build:
+	@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
+
+do-install:
+	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
--- /dev/null
+++ archivers/zipmix/distinfo
@@ -0,0 +1,3 @@
+MD5 (zipmix_src.zip) = dc398e5d2d0d214d43bcd087025be13f
+SHA256 (zipmix_src.zip) = 34f049928f691be4ba3decd559654a052877b2cc377ebe78255398b532592b99
+SIZE (zipmix_src.zip) = 4759
--- /dev/null
+++ archivers/zipmix/files/patch-zipmix.c
@@ -0,0 +1,20 @@
+--- zipmix.c.orig	2009-01-08 22:05:10.000000000 -0200
++++ zipmix.c	2009-01-08 22:10:30.000000000 -0200
+@@ -4,6 +4,17 @@
+ !if 0
+ #endif
+ 
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++
++#if (defined(BSD) && (BSD >= 199306))
++#include <stdlib.h>
++
++#define min(a,b) MIN(a,b)
++#define max(a,b) MAX(a,b)
++#endif
++
+ #if defined(_WIN32)
+ 
+ #include <windows.h>
--- /dev/null
+++ archivers/zipmix/files/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD: ports/archivers/zipmix/files/Makefile,v 1.1 2009/01/09 00:36:38 lioux Exp $
+
+PROG=   zipmix
+
+NO_MAN=	YES
+
+.include <bsd.prog.mk>


More information about the Midnightbsd-cvs mailing list