Re-import into the proper name.

This commit is contained in:
ajacoutot
2026-06-17 10:20:52 +00:00
parent 38372e8555
commit 1d493dca32
5 changed files with 71 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
COMMENT= Mozilla's universal character set detector C/C++ API
V= 1.0.6
DISTNAME= libchardet-${V}
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS += chardet 0.0 # 1.0
CATEGORIES= textproc
# https preferred for HOMEPAGE
#HOMEPAGE = ??? URL
# MPL-1.1
PERMIT_PACKAGE= Yes
SITES= https://github.com/Joungkyun/libchardet/releases/download/${V}/
WANTLIB += ${COMPILER_LIBCXX} m
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (libchardet-1.0.6.tar.bz2) = iVjVc4yPevNRzI9xjpIseWH9Lwlfxmi/9ZripTEjFZI=
SIZE (libchardet-1.0.6.tar.bz2) = 435028
@@ -0,0 +1,14 @@
From d919d9906aaa4fb66d14ddfd5a7af0fac1468772 Mon Sep 17 00:00:00 2001
From: Jakob Gahde <j5lx@fmail.co.uk>
Date: Wed, 25 Feb 2026 02:18:20 +0100
Subject: [PATCH] Fix pkg-config Cflags
Index: chardet.pc.in
--- chardet.pc.in.orig
+++ chardet.pc.in
@@ -9,4 +9,4 @@ Name: @PACKAGE_NAME@
Description: Mozilla's Universal Charset Detector C/C++ API
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lchardet
-Cflags: -I${includedir}/chardet @CFLAGS@
+Cflags: -I${includedir}/chardet
+2
View File
@@ -0,0 +1,2 @@
libchardet is based on Mozilla Universal Charset Detector library and, detects
the character set used to encode data.
+30
View File
@@ -0,0 +1,30 @@
bin/chardet-config
include/chardet/
include/chardet/chardet-config.h
include/chardet/chardet.h
include/chardet/nsUniversalDetector.h
include/chardet/nscore.h
include/chardet/version.h
@static-lib lib/libchardet.a
lib/libchardet.la
@lib lib/libchardet.so.${LIBchardet_VERSION}
lib/pkgconfig/chardet.pc
man/ko/
man/ko/man3/
@man man/ko/man3/detect.3
@man man/ko/man3/detect_destroy.3
@man man/ko/man3/detect_handledata.3
@man man/ko/man3/detect_init.3
@man man/ko/man3/detect_obj_free.3
@man man/ko/man3/detect_obj_init.3
@man man/ko/man3/detect_reset.3
@man man/man3/detect.3
@man man/man3/detect_destroy.3
@man man/man3/detect_handledata.3
@man man/man3/detect_init.3
@man man/man3/detect_obj_free.3
@man man/man3/detect_obj_init.3
@man man/man3/detect_reset.3
share/doc/libchardet/
share/doc/libchardet/Changelog
share/doc/libchardet/LICENSE