Fri Apr 3 09:40:55 2015 UTC ()
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.


(wiz)
diff -r0 -r1.1 pkgsrc/archivers/innoextract/DESCR
diff -r0 -r1.1 pkgsrc/archivers/innoextract/Makefile
diff -r0 -r1.1 pkgsrc/archivers/innoextract/PLIST
diff -r0 -r1.1 pkgsrc/archivers/innoextract/distinfo
diff -r0 -r1.1 pkgsrc/archivers/innoextract/patches/patch-CMakeLists.txt
diff -r0 -r1.1 pkgsrc/archivers/innoextract/patches/patch-cmake_VersionString.cmake

File Added: pkgsrc/archivers/innoextract/DESCR
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.

File Added: pkgsrc/archivers/innoextract/Makefile
# $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"

File Added: pkgsrc/archivers/innoextract/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/04/03 09:40:54 wiz Exp $
bin/innoextract
man/man1/innoextract.1

File Added: pkgsrc/archivers/innoextract/distinfo
$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

File Added: pkgsrc/archivers/innoextract/patches/Attic/patch-CMakeLists.txt
$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)

File Added: pkgsrc/archivers/innoextract/patches/Attic/patch-cmake_VersionString.cmake
$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