summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2020-07-26 07:54:45 +0000
committermaya <maya@pkgsrc.org>2020-07-26 07:54:45 +0000
commit10901069c2ae07c192cdd26990e2c8d218ab0840 (patch)
treefd58d04c06658a6704b9ae944c1d59160a35116f /fonts
parent9024eb474abdea9a73dd00ca322ba6b7de842be8 (diff)
downloadpkgsrc-10901069c2ae07c192cdd26990e2c8d218ab0840.tar.gz
woff2: install binaries, not just libraries.
bump PKGREVISION
Diffstat (limited to 'fonts')
-rw-r--r--fonts/woff2/Makefile3
-rw-r--r--fonts/woff2/PLIST5
-rw-r--r--fonts/woff2/distinfo3
-rw-r--r--fonts/woff2/patches/patch-CMakeLists.txt19
4 files changed, 27 insertions, 3 deletions
diff --git a/fonts/woff2/Makefile b/fonts/woff2/Makefile
index 9c1db438800..e6b06b7a9ff 100644
--- a/fonts/woff2/Makefile
+++ b/fonts/woff2/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/05/15 11:46:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/26 07:54:45 maya Exp $
DISTNAME= woff2-1.0.2
+PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/fonts/woff2/PLIST b/fonts/woff2/PLIST
index 93c66e56ee5..4f42446fd6e 100644
--- a/fonts/woff2/PLIST
+++ b/fonts/woff2/PLIST
@@ -1,4 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2018/04/28 09:40:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/26 07:54:45 maya Exp $
+bin/woff2_compress
+bin/woff2_decompress
+bin/woff2_info
include/woff2/decode.h
include/woff2/encode.h
include/woff2/output.h
diff --git a/fonts/woff2/distinfo b/fonts/woff2/distinfo
index 1309a08fb89..888f1f2c088 100644
--- a/fonts/woff2/distinfo
+++ b/fonts/woff2/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/04/28 09:40:39 wiz Exp $
+$NetBSD: distinfo,v 1.2 2020/07/26 07:54:45 maya Exp $
SHA1 (woff2-1.0.2.tar.gz) = bab4838b248026c968e171a5467b5176caf4e2e5
RMD160 (woff2-1.0.2.tar.gz) = fbfd0a3771df1d31eb32db6f12b6b00ee9f458f3
SHA512 (woff2-1.0.2.tar.gz) = c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d
Size (woff2-1.0.2.tar.gz) = 38934 bytes
+SHA1 (patch-CMakeLists.txt) = 1ec110379f53ff0716b3938a1c16de10e6f30398
diff --git a/fonts/woff2/patches/patch-CMakeLists.txt b/fonts/woff2/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..ce333493e03
--- /dev/null
+++ b/fonts/woff2/patches/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/07/26 07:54:45 maya Exp $
+
+always install woff2* binaries.
+
+--- CMakeLists.txt.orig 2017-11-13 18:31:28.000000000 +0000
++++ CMakeLists.txt
+@@ -260,12 +260,10 @@ generate_pkg_config ("${CMAKE_CURRENT_BI
+ LIBRARIES woff2enc)
+
+ # Installation
+-if (NOT BUILD_SHARED_LIBS)
+ install(
+ TARGETS woff2_decompress woff2_compress woff2_info
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ )
+-endif()
+
+ install(
+ TARGETS woff2common woff2dec woff2enc