pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/unshield unshield: Use CMAKE_INSTALL_MANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/984361ef47ca
branches:  trunk
changeset: 415078:984361ef47ca
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 02 07:02:05 2019 +0000

description:
unshield: Use CMAKE_INSTALL_MANDIR.

While here, appease pkglint.

Bump PKGREVISION

diffstat:

 archivers/unshield/Makefile                     |  23 ++++++++++++-----------
 archivers/unshield/PLIST                        |   4 ++--
 archivers/unshield/distinfo                     |   3 ++-
 archivers/unshield/patches/patch-CMakeLists.txt |  13 +++++++++++++
 4 files changed, 29 insertions(+), 14 deletions(-)

diffs (78 lines):

diff -r 6db5b5acb299 -r 984361ef47ca archivers/unshield/Makefile
--- a/archivers/unshield/Makefile       Tue Oct 01 23:42:14 2019 +0000
+++ b/archivers/unshield/Makefile       Wed Oct 02 07:02:05 2019 +0000
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.8 2017/09/22 23:26:20 wiedi Exp $
+# $NetBSD: Makefile,v 1.9 2019/10/02 07:02:05 nia Exp $
 
-DISTNAME=       unshield-1.4.2
-PKGREVISION=   1
-MASTER_SITES=   ${MASTER_SITE_GITHUB:=twogood/}
-GITHUB_TAG=     ${PKGVERSION_NOREV}
-EXTRACT_SUFX=   .zip
+DISTNAME=      unshield-1.4.2
+PKGREVISION=   2
+CATEGORIES=    archivers
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=twogood/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .zip
 
-CATEGORIES=    archivers
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+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 -r 6db5b5acb299 -r 984361ef47ca archivers/unshield/PLIST
--- a/archivers/unshield/PLIST  Tue Oct 01 23:42:14 2019 +0000
+++ b/archivers/unshield/PLIST  Wed Oct 02 07:02:05 2019 +0000
@@ -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 -r 6db5b5acb299 -r 984361ef47ca archivers/unshield/distinfo
--- a/archivers/unshield/distinfo       Tue Oct 01 23:42:14 2019 +0000
+++ b/archivers/unshield/distinfo       Wed Oct 02 07:02:05 2019 +0000
@@ -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 -r 6db5b5acb299 -r 984361ef47ca archivers/unshield/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unshield/patches/patch-CMakeLists.txt   Wed Oct 02 07:02:05 2019 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index