diff options
author | jhale <jhale@FreeBSD.org> | 2016-12-03 16:24:32 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2016-12-03 16:24:32 +0800 |
commit | 32b40b170e3c7f5f37fbb1d0263f1cc1db8e1ba3 (patch) | |
tree | 576627131cc4fa82c99c87a9d714c5b0d4d365ea /textproc | |
parent | 1397d6feb64fd7dff4b31bea5097743baa89fd6c (diff) | |
download | freebsd-ports-gnome-32b40b170e3c7f5f37fbb1d0263f1cc1db8e1ba3.tar.gz freebsd-ports-gnome-32b40b170e3c7f5f37fbb1d0263f1cc1db8e1ba3.tar.zst freebsd-ports-gnome-32b40b170e3c7f5f37fbb1d0263f1cc1db8e1ba3.zip |
Update to 0.0.6
Update LICENSE; it can be distributed under GPLv2+, LGPL21+, or MPL
Update pkg-descr and WWW
PR: 214962
Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/uchardet/Makefile | 14 | ||||
-rw-r--r-- | textproc/uchardet/distinfo | 5 | ||||
-rw-r--r-- | textproc/uchardet/files/patch-CMakeLists.txt | 19 | ||||
-rw-r--r-- | textproc/uchardet/pkg-descr | 12 | ||||
-rw-r--r-- | textproc/uchardet/pkg-plist | 2 |
5 files changed, 20 insertions, 32 deletions
diff --git a/textproc/uchardet/Makefile b/textproc/uchardet/Makefile index 5503b60bcb68..4d90a0aa9b7b 100644 --- a/textproc/uchardet/Makefile +++ b/textproc/uchardet/Makefile @@ -2,19 +2,19 @@ # $FreeBSD$ PORTNAME= uchardet -PORTVERSION= 0.0.1 +PORTVERSION= 0.0.6 CATEGORIES= textproc -MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PORTNAME}/ +MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME}/releases/ MAINTAINER= yuri@rawbw.com -COMMENT= Universal charset detection library by Mozilla +COMMENT= Universal charset detection library -LICENSE= MPL +LICENSE= GPLv2+ LGPL21+ MPL +LICENSE_COMB= dual -USES= cmake +USES= cmake pathfix tar:xz USE_LDCONFIG= yes -post-patch: - @${REINPLACE_CMD} 's|_SHARE|_PREFIX|' ${WRKSRC}/doc/CMakeLists.txt +CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man .include <bsd.port.mk> diff --git a/textproc/uchardet/distinfo b/textproc/uchardet/distinfo index 1f1222704348..642ebcad8ec3 100644 --- a/textproc/uchardet/distinfo +++ b/textproc/uchardet/distinfo @@ -1,2 +1,3 @@ -SHA256 (uchardet-0.0.1.tar.gz) = e238c212350e07ebbe1961f8f128faaa40f71b70d37b63ffa2fe12c664269ee6 -SIZE (uchardet-0.0.1.tar.gz) = 179207 +TIMESTAMP = 1480500347 +SHA256 (uchardet-0.0.6.tar.xz) = 8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61 +SIZE (uchardet-0.0.6.tar.xz) = 169192 diff --git a/textproc/uchardet/files/patch-CMakeLists.txt b/textproc/uchardet/files/patch-CMakeLists.txt deleted file mode 100644 index 59c47a8baf19..000000000000 --- a/textproc/uchardet/files/patch-CMakeLists.txt +++ /dev/null @@ -1,19 +0,0 @@ ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -31,6 +31,7 @@ - - set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX}) - set (DIR_LIBRARY ${DIR_PREFIX}/${CMAKE_SHARED_LIBRARY_PREFIX}) -+set (DIR_LIBDATA ${DIR_PREFIX}/libdata) - set (DIR_LIBRARY_STATIC ${DIR_PREFIX}/${CMAKE_STATIC_LIBRARY_PREFIX}) - set (DIR_INCLUDE ${DIR_PREFIX}/include) - set (DIR_SHARE ${DIR_PREFIX}/share) -@@ -69,7 +70,7 @@ - FILES - ${CMAKE_BINARY_DIR}/uchardet.pc - DESTINATION -- ${DIR_LIBRARY}/pkgconfig -+ ${DIR_LIBDATA}/pkgconfig - ) - - ######## Subdirectories diff --git a/textproc/uchardet/pkg-descr b/textproc/uchardet/pkg-descr index 76b76205f82c..d67b127c7a78 100644 --- a/textproc/uchardet/pkg-descr +++ b/textproc/uchardet/pkg-descr @@ -1,4 +1,10 @@ -uchardet is a C language binding of the original C++ implementation -of the universal charset detection library by Mozilla. +uchardet is an encoding detection library, which takes a sequence +of bytes in an unknown character encoding without any additional +information, and attempts to determine the encoding of the text. +Returned encoding names are iconv-compatible. -WWW: https://code.google.com/p/uchardet/ +It started as a C language binding of the original C++ implementation +of the universal charset detection library by Mozilla. It can now +detect more charsets, and more reliably than the original implementation. + +WWW: https://www.freedesktop.org/wiki/Software/uchardet/ diff --git a/textproc/uchardet/pkg-plist b/textproc/uchardet/pkg-plist index b383794b84c5..5f03fd9a9f06 100644 --- a/textproc/uchardet/pkg-plist +++ b/textproc/uchardet/pkg-plist @@ -3,6 +3,6 @@ include/uchardet/uchardet.h lib/libuchardet.a lib/libuchardet.so lib/libuchardet.so.0 -lib/libuchardet.so.0.0.0 +lib/libuchardet.so.0.0.6 libdata/pkgconfig/uchardet.pc man/man1/uchardet.1.gz |