mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
devel/woff2: Improve port quality
- Install converter tools - Provide an actual comment and description Based on the initial new port submission from Greg that I missed earlier. PR: 226165 Submitted by: greg@unrelenting.technology
This commit is contained in:
parent
591c20ec75
commit
a122c9f9d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465769
4 changed files with 21 additions and 3 deletions
|
@ -3,19 +3,21 @@
|
||||||
PORTNAME= woff2
|
PORTNAME= woff2
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.0.2
|
DISTVERSION= 1.0.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
|
|
||||||
MAINTAINER= tobik@FreeBSD.org
|
MAINTAINER= tobik@FreeBSD.org
|
||||||
COMMENT= Font compression reference code
|
COMMENT= Library and converter tools for the WOFF 2.0 web font format
|
||||||
|
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
LIB_DEPENDS= libbrotlidec.so:archivers/brotli
|
LIB_DEPENDS= libbrotlidec.so:archivers/brotli
|
||||||
|
|
||||||
USES= cmake
|
USES= cmake:outsource
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= google
|
GH_ACCOUNT= google
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
PLIST_SUB= SHLIBVER=${DISTVERSION}
|
PLIST_SUB= SHLIBVER=${DISTVERSION}
|
||||||
|
|
||||||
|
|
11
devel/woff2/files/patch-CMakeLists.txt
Normal file
11
devel/woff2/files/patch-CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- CMakeLists.txt.orig 2018-03-27 22:12:33 UTC
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -268,7 +268,7 @@ if (NOT BUILD_SHARED_LIBS)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(
|
||||||
|
- TARGETS woff2common woff2dec woff2enc
|
||||||
|
+ TARGETS woff2common woff2dec woff2enc woff2_decompress woff2_compress woff2_info
|
||||||
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
@ -1,3 +1,5 @@
|
||||||
Font compression reference code
|
The reference implementation of the Web Open Font Format 2.0, including
|
||||||
|
libraries for decoding and encoding fonts, and command line utilities
|
||||||
|
to convert between TTF and WOFF2.
|
||||||
|
|
||||||
WWW: https://github.com/google/woff2
|
WWW: https://github.com/google/woff2
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
bin/woff2_compress
|
||||||
|
bin/woff2_decompress
|
||||||
|
bin/woff2_info
|
||||||
include/woff2/decode.h
|
include/woff2/decode.h
|
||||||
include/woff2/encode.h
|
include/woff2/encode.h
|
||||||
include/woff2/output.h
|
include/woff2/output.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue