summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unshield/Makefile23
-rw-r--r--archivers/unshield/PLIST4
-rw-r--r--archivers/unshield/distinfo3
-rw-r--r--archivers/unshield/patches/patch-CMakeLists.txt13
4 files changed, 29 insertions, 14 deletions
diff --git a/archivers/unshield/Makefile b/archivers/unshield/Makefile
index 590b5380c07..bd350569aea 100644
--- a/archivers/unshield/Makefile
+++ b/archivers/unshield/Makefile
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.8 2017/09/22 23:26:20 wiedi Exp $
-
-DISTNAME= unshield-1.4.2
-PKGREVISION= 1
-MASTER_SITES= ${MASTER_SITE_GITHUB:=twogood/}
-GITHUB_TAG= ${PKGVERSION_NOREV}
-EXTRACT_SUFX= .zip
+# $NetBSD: Makefile,v 1.9 2019/10/02 07:02:05 nia Exp $
+DISTNAME= unshield-1.4.2
+PKGREVISION= 2
CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_GITHUB:=twogood/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/twogood/unshield
COMMENT= Extract InstallShield .CAB files
LICENSE= mit
-USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config
-USE_CMAKE= yes
-USE_LANGUAGES+= c++ c
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
LDFLAGS+= -liconv
diff --git a/archivers/unshield/PLIST b/archivers/unshield/PLIST
index 6c474524101..e01ba054ff1 100644
--- a/archivers/unshield/PLIST
+++ b/archivers/unshield/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2017/08/29 11:18:40 martin Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/10/02 07:02:05 nia Exp $
bin/unshield
include/libunshield.h
lib/libunshield.so
lib/libunshield.so.0
lib/libunshield.so.0.0.0
lib/pkgconfig/libunshield.pc
-share/man/man1/unshield.1
+man/man1/unshield.1
diff --git a/archivers/unshield/distinfo b/archivers/unshield/distinfo
index 5816cc02067..a552141c498 100644
--- a/archivers/unshield/distinfo
+++ b/archivers/unshield/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/08/29 11:18:40 martin Exp $
+$NetBSD: distinfo,v 1.8 2019/10/02 07:02:05 nia Exp $
SHA1 (unshield-1.4.2.zip) = 5246a79c1d94825818d035f7c0a66ab0d6648725
RMD160 (unshield-1.4.2.zip) = c88591248b0e86a55e2ac19dafd6ee1aacd76277
SHA512 (unshield-1.4.2.zip) = 28b31a634a77c674c7eaf85a18f16fe6c8f8ac4eb87f1464f08f894fd590ae6351a207e8dcc09b7cf9a7323aab312fb98835944f8a4c4f6a7764557b386031aa
Size (unshield-1.4.2.zip) = 58815 bytes
+SHA1 (patch-CMakeLists.txt) = cbbcc0265d963e498522053f24557c505fd03539
diff --git a/archivers/unshield/patches/patch-CMakeLists.txt b/archivers/unshield/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..cc052b8bbde
--- /dev/null
+++ b/archivers/unshield/patches/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/02 07:02:06 nia Exp $
+
+Use CMAKE_INSTALL_MANDIR.
+
+--- CMakeLists.txt.orig 2017-01-15 19:09:19.000000000 +0000
++++ CMakeLists.txt
+@@ -71,5 +71,5 @@ add_definitions(-fPIC)
+ add_subdirectory(lib)
+ add_subdirectory(src)
+
+-install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
++install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libunshield.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)