svn commit: r374113 - in head/textproc: . uchardet uchardet/files
Pawel Pekala
pawel at FreeBSD.org
Sat Dec 6 14:47:04 UTC 2014
Author: pawel
Date: Sat Dec 6 14:47:01 2014
New Revision: 374113
URL: https://svnweb.freebsd.org/changeset/ports/374113
QAT: https://qat.redports.org/buildarchive/r374113/
Log:
uchardet is a C language binding of the original C++ implementation
of the universal charset detection library by Mozilla.
WWW: https://code.google.com/p/uchardet/
PR: 195083
Submitted by: Yuri Victorovich <yuri at rawbw.com>
Added:
head/textproc/uchardet/
head/textproc/uchardet/Makefile (contents, props changed)
head/textproc/uchardet/distinfo (contents, props changed)
head/textproc/uchardet/files/
head/textproc/uchardet/files/patch-CMakeLists.txt (contents, props changed)
head/textproc/uchardet/pkg-descr (contents, props changed)
head/textproc/uchardet/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Sat Dec 6 14:27:35 2014 (r374112)
+++ head/textproc/Makefile Sat Dec 6 14:47:01 2014 (r374113)
@@ -1501,6 +1501,7 @@
SUBDIR += txt2html
SUBDIR += txt2man
SUBDIR += txt2tags
+ SUBDIR += uchardet
SUBDIR += uim
SUBDIR += uim-el
SUBDIR += uim-gtk
Added: head/textproc/uchardet/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/uchardet/Makefile Sat Dec 6 14:47:01 2014 (r374113)
@@ -0,0 +1,20 @@
+# Created by: Yuri Victorovich <yuri at rawbw.com>
+# $FreeBSD$
+
+PORTNAME= uchardet
+PORTVERSION= 0.0.1
+CATEGORIES= textproc
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= yuri at rawbw.com
+COMMENT= Universal charset detection library by Mozilla
+
+LICENSE= MPL
+
+USES= cmake
+USE_LDCONFIG= yes
+
+post-patch:
+ @${REINPLACE_CMD} 's|_SHARE|_PREFIX|' ${WRKSRC}/doc/CMakeLists.txt
+
+.include <bsd.port.mk>
Added: head/textproc/uchardet/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/uchardet/distinfo Sat Dec 6 14:47:01 2014 (r374113)
@@ -0,0 +1,2 @@
+SHA256 (uchardet-0.0.1.tar.gz) = e238c212350e07ebbe1961f8f128faaa40f71b70d37b63ffa2fe12c664269ee6
+SIZE (uchardet-0.0.1.tar.gz) = 179207
Added: head/textproc/uchardet/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/uchardet/files/patch-CMakeLists.txt Sat Dec 6 14:47:01 2014 (r374113)
@@ -0,0 +1,19 @@
+--- 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
Added: head/textproc/uchardet/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/uchardet/pkg-descr Sat Dec 6 14:47:01 2014 (r374113)
@@ -0,0 +1,4 @@
+uchardet is a C language binding of the original C++ implementation
+of the universal charset detection library by Mozilla.
+
+WWW: https://code.google.com/p/uchardet/
Added: head/textproc/uchardet/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/uchardet/pkg-plist Sat Dec 6 14:47:01 2014 (r374113)
@@ -0,0 +1,8 @@
+bin/uchardet
+include/uchardet/uchardet.h
+lib/libuchardet.a
+lib/libuchardet.so
+lib/libuchardet.so.0
+lib/libuchardet.so.0.0.0
+libdata/pkgconfig/uchardet.pc
+man/man1/uchardet.1.gz
More information about the svn-ports-head
mailing list