summaryrefslogtreecommitdiff
path: root/archivers/liborange
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-14 00:13:20 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-14 00:13:20 +0000
commitdfd5750bdc8640bdf12da9fb39c787afe724c362 (patch)
tree6be81917c26e26039420da717fcb257e62020391 /archivers/liborange
parent[NEW PORT] archivers/dynamite: Decompress data compressed with (diff)
[NEW PORT] archivers/orange: Extract Microsoft Cabinet files from self-extracting installers
Orange is a tool and library for squeezing out juicy installable Microsoft Cabinet Files from self-extracting installers for Microsoft Windows. Supported installers include VISE, InstallShield, Setup Factory and more. WWW: http://synce.sourceforge.net PR: ports/76030 Submitted by: Sam Lawrance <boris@brooknet.com.au>
Notes
Notes: svn path=/head/; revision=126389
Diffstat (limited to 'archivers/liborange')
-rw-r--r--archivers/liborange/Makefile40
-rw-r--r--archivers/liborange/distinfo2
-rw-r--r--archivers/liborange/files/patch-inno.h67
-rw-r--r--archivers/liborange/pkg-descr7
-rw-r--r--archivers/liborange/pkg-plist6
5 files changed, 122 insertions, 0 deletions
diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile
new file mode 100644
index 000000000000..c5f93e0e2453
--- /dev/null
+++ b/archivers/liborange/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: orange
+# Date Created: January 2005
+# Whom: Sam Lawrance <boris@brooknet.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= orange
+PORTVERSION= 0.2
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= synce
+
+MAINTAINER= boris@brooknet.com.au
+COMMENT= Extract Microsoft Cabinet files from self-extracting installers
+
+LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
+ rapi.2:${PORTSDIR}/palm/synce-librapi2 \
+ dynamite.0:${PORTSDIR}/archivers/dynamite \
+ unshield.0:${PORTSDIR}/archivers/unshield
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-libsynce=${LOCALBASE}
+USE_ICONV= yes
+USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-Werror||' \
+ ${WRKSRC}/lib/Makefile.in \
+ ${WRKSRC}/src/Makefile.in
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/lib/inno.h
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/liborange/distinfo b/archivers/liborange/distinfo
new file mode 100644
index 000000000000..9f0053a5bb94
--- /dev/null
+++ b/archivers/liborange/distinfo
@@ -0,0 +1,2 @@
+MD5 (orange-0.2.tar.gz) = 50863dd7b29112049bf52b83e6c8c2a2
+SIZE (orange-0.2.tar.gz) = 214255
diff --git a/archivers/liborange/files/patch-inno.h b/archivers/liborange/files/patch-inno.h
new file mode 100644
index 000000000000..2d3cd73d60ed
--- /dev/null
+++ b/archivers/liborange/files/patch-inno.h
@@ -0,0 +1,67 @@
+--- lib/inno.h.orig Mon Sep 8 17:17:28 2003
++++ lib/inno.h Mon Jan 10 05:07:47 2005
+@@ -3,7 +3,7 @@
+ #define __inno_h__
+
+ #include <stdbool.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include <stdio.h>
+ #include <zlib.h>
+
+@@ -100,7 +100,7 @@
+ uint32_t NumUninstallDeleteEntries;
+ uint32_t NumRunEntries;
+ uint32_t NumUninstallRunEntries;
+- P uint8_t stuff[0x35];
++ uint8_t P stuff[0x35];
+ } TSetupHeader;
+
+ #define SETUP_HEADER_SIZE 0xd9
+@@ -144,9 +144,9 @@
+
+ typedef struct
+ {
+- P uint32_t WinVersion;
+- P uint32_t NTVersion;
+- P uint16_t Word;
++ uint32_t P WinVersion;
++ uint32_t P NTVersion;
++ uint16_t P Word;
+ } TSetupVersionData;
+
+ #if 0
+@@ -173,12 +173,12 @@
+ char* InstallFontName;
+ char* Components;
+ char* Tasks;
+- P TSetupVersionData MinVersion;
+- P TSetupVersionData OnlyBelowVersion;
++ TSetupVersionData P MinVersion;
++ TSetupVersionData P OnlyBelowVersion;
+ uint32_t LocationEntry;
+ uint32_t Attribs;
+ uint32_t ExternalSize;
+- P char stuff[4];
++ char P stuff[4];
+ #if 0
+ Options: set of (foConfirmOverwrite, foUninsNeverUninstall, foRestartReplace,
+ foDeleteAfterInstall, foRegisterServer, foRegisterTypeLib, foSharedFile,
+@@ -191,7 +191,7 @@
+ #endif
+ } TSetupFileEntry;
+
+-P typedef struct
++typedef struct
+ {
+ uint32_t FirstDisk;
+ uint32_t LastDisk;
+@@ -202,7 +202,7 @@
+ uint32_t Date;
+ uint32_t FileVersionMS;
+ uint32_t FileVersionLS;
+-} TSetupFileLocationEntry;
++} P TSetupFileLocationEntry;
+
+ #define SETUP_FILE_LOCATION_ENTRY_SIZE 0x29
+
diff --git a/archivers/liborange/pkg-descr b/archivers/liborange/pkg-descr
new file mode 100644
index 000000000000..e0fb7124737c
--- /dev/null
+++ b/archivers/liborange/pkg-descr
@@ -0,0 +1,7 @@
+Orange is a tool and library for squeezing out juicy installable
+Microsoft Cabinet Files from self-extracting installers for Microsoft
+Windows.
+
+Supported installers include VISE, InstallShield, Setup Factory and more.
+
+WWW: http://synce.sourceforge.net
diff --git a/archivers/liborange/pkg-plist b/archivers/liborange/pkg-plist
new file mode 100644
index 000000000000..7afe552be5ae
--- /dev/null
+++ b/archivers/liborange/pkg-plist
@@ -0,0 +1,6 @@
+bin/orange
+include/liborange.h
+lib/liborange.so.0
+lib/liborange.so
+lib/liborange.la
+lib/liborange.a