summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-04-03 09:40:54 +0000
committerwiz <wiz@pkgsrc.org>2015-04-03 09:40:54 +0000
commit54ad62f9dc0c79786880a2f2f3de94bd5d5b0ac2 (patch)
treeb4faa2ea24262d449866062d10540fee21a79b29 /archivers
parent4782456876804018e7a9e15d468cf1defddd29b7 (diff)
downloadpkgsrc-54ad62f9dc0c79786880a2f2f3de94bd5d5b0ac2.tar.gz
Import innoextract-1.4 as archivers/innoextract, packaged for wip
by yhardy and myself. Inno Setup is a tool to create installers for Microsoft Windows applications. innoextract allows to extract such installers under non-windows systems without running the actual installer using Wine. innoextract currently supports installers created by Inno Setup 1.2.10 to 5.5.5.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/innoextract/DESCR5
-rw-r--r--archivers/innoextract/Makefile21
-rw-r--r--archivers/innoextract/PLIST3
-rw-r--r--archivers/innoextract/distinfo7
-rw-r--r--archivers/innoextract/patches/patch-CMakeLists.txt17
-rw-r--r--archivers/innoextract/patches/patch-cmake_VersionString.cmake24
6 files changed, 77 insertions, 0 deletions
diff --git a/archivers/innoextract/DESCR b/archivers/innoextract/DESCR
new file mode 100644
index 00000000000..9ddb09bf388
--- /dev/null
+++ b/archivers/innoextract/DESCR
@@ -0,0 +1,5 @@
+Inno Setup is a tool to create installers for Microsoft Windows
+applications. innoextract allows to extract such installers under
+non-windows systems without running the actual installer using
+Wine. innoextract currently supports installers created by Inno
+Setup 1.2.10 to 5.5.5.
diff --git a/archivers/innoextract/Makefile b/archivers/innoextract/Makefile
new file mode 100644
index 00000000000..bcf9615d901
--- /dev/null
+++ b/archivers/innoextract/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2015/04/03 09:40:54 wiz Exp $
+
+DISTNAME= innoextract-1.4
+CATEGORIES= archivers
+MASTER_SITES= http://constexpr.org/innoextract/files/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://constexpr.org/innoextract/
+COMMENT= Tool to unpack installers created by Inno Setup
+LICENSE= zlib
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PREFIX}/${PKGMANDIR}
+CMAKE_ARGS+= -DUSE_CXX11=OFF
+
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/innoextract/PLIST b/archivers/innoextract/PLIST
new file mode 100644
index 00000000000..3e45d8a2880
--- /dev/null
+++ b/archivers/innoextract/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/03 09:40:54 wiz Exp $
+bin/innoextract
+man/man1/innoextract.1
diff --git a/archivers/innoextract/distinfo b/archivers/innoextract/distinfo
new file mode 100644
index 00000000000..87d4c97f860
--- /dev/null
+++ b/archivers/innoextract/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2015/04/03 09:40:54 wiz Exp $
+
+SHA1 (innoextract-1.4.tar.gz) = 3fd3ac98c802c72a1f4ae5f6e6a5dca35747ff98
+RMD160 (innoextract-1.4.tar.gz) = 5f9cd26d508ee8f28cedaa619df4108f5f761a9c
+Size (innoextract-1.4.tar.gz) = 151230 bytes
+SHA1 (patch-CMakeLists.txt) = ebc9db4211bf01ebab6881ea23e3e5c32321a7aa
+SHA1 (patch-cmake_VersionString.cmake) = db368ea50042a73b78770c0b43d3480398fdff1c
diff --git a/archivers/innoextract/patches/patch-CMakeLists.txt b/archivers/innoextract/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..d20b4ed1927
--- /dev/null
+++ b/archivers/innoextract/patches/patch-CMakeLists.txt
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2015/04/03 09:40:54 wiz Exp $
+
+Fix use of CMAKE_MODULE_PATH
+
+--- CMakeLists.txt.orig 2013-05-22 21:50:31.000000000 +0200
++++ CMakeLists.txt 2013-05-22 21:52:02.000000000 +0200
+@@ -45,7 +45,9 @@
+
+ include(CheckSymbolExists)
+
+-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") # For custom cmake modules
++# For custom cmake modules
++set(CMAKE_CUSTOM_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
++set(CMAKE_MODULE_PATH "${CMAKE_CUSTOM_MODULE_PATH}")
+ include(BuildType)
+ include(CompileCheck)
+ include(CXX11Check)
diff --git a/archivers/innoextract/patches/patch-cmake_VersionString.cmake b/archivers/innoextract/patches/patch-cmake_VersionString.cmake
new file mode 100644
index 00000000000..3c34237aba8
--- /dev/null
+++ b/archivers/innoextract/patches/patch-cmake_VersionString.cmake
@@ -0,0 +1,24 @@
+$NetBSD: patch-cmake_VersionString.cmake,v 1.1 2015/04/03 09:40:54 wiz Exp $
+
+Fix use of CMAKE_MODULE_PATH
+
+--- cmake/VersionString.cmake.orig 2013-05-22 21:52:30.000000000 +0200
++++ cmake/VersionString.cmake 2013-05-22 21:53:26.000000000 +0200
+@@ -47,7 +47,7 @@
+ set(mode "variable")
+
+ set(args)
+- set(dependencies "${CMAKE_MODULE_PATH}/VersionScript.cmake")
++ set(dependencies "${CMAKE_CUSTOM_MODULE_PATH}/VersionScript.cmake")
+
+ foreach(arg IN LISTS VERSION_SOURCES)
+
+@@ -90,7 +90,7 @@
+ "-DVERSION_SOURCES=${args}"
+ "-DGIT_DIR=${abs_git_dir}"
+ ${defines}
+- -P "${CMAKE_MODULE_PATH}/VersionScript.cmake"
++ -P "${CMAKE_CUSTOM_MODULE_PATH}/VersionScript.cmake"
+ MAIN_DEPENDENCY
+ "${abs_src}"
+ DEPENDS