aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-04-07 05:57:32 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-04-07 05:57:32 +0800
commited68b161e069731bff26e1a2d0adf9cb005d240a (patch)
tree2843d5d93669ca75dc49eecd62e950c4a2ffc070 /converters
parent447339d86d911da27962df642147ae11d1725003 (diff)
downloadfreebsd-ports-gnome-ed68b161e069731bff26e1a2d0adf9cb005d240a.tar.gz
freebsd-ports-gnome-ed68b161e069731bff26e1a2d0adf9cb005d240a.tar.zst
freebsd-ports-gnome-ed68b161e069731bff26e1a2d0adf9cb005d240a.zip
Update to 11.5
Changes: https://github.com/buganini/bsdconv/blob/master/Changelog PR: 218371 Submitted by: sunpoet (myself) Approved by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Diffstat (limited to 'converters')
-rw-r--r--converters/bsdconv/Makefile3
-rw-r--r--converters/bsdconv/distinfo5
-rw-r--r--converters/bsdconv/files/patch-Makefile37
-rw-r--r--converters/bsdconv/pkg-plist43
4 files changed, 58 insertions, 30 deletions
diff --git a/converters/bsdconv/Makefile b/converters/bsdconv/Makefile
index 56bad3191d48..6fab285ff773 100644
--- a/converters/bsdconv/Makefile
+++ b/converters/bsdconv/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bsdconv
-PORTVERSION= 11.3.1
+PORTVERSION= 11.5
CATEGORIES= converters
MAINTAINER= buganini@gmail.com
@@ -22,6 +22,7 @@ ALL_TARGET= libbsdconv bsdconv-mktable meta bsdconv-man bsdconv-completion bsdco
INSTALL_TARGET= installdir install_main install_filters install_scorers install_basic
MAKE_ARGS= PREFIX=${PREFIX} STRIP=${STRIP}
USE_LDCONFIG= yes
+USES= gmake
CHINESE_ALL_TARGET= codecs_chinese
CHINESE_INSTALL_TARGET= install_chinese
diff --git a/converters/bsdconv/distinfo b/converters/bsdconv/distinfo
index 0bbe23621def..5e034144e00e 100644
--- a/converters/bsdconv/distinfo
+++ b/converters/bsdconv/distinfo
@@ -1,2 +1,3 @@
-SHA256 (buganini-bsdconv-11.3.1_GH0.tar.gz) = b0656011fd40ec440e9966bba44d330a6213fdd198c487c87bc61869ef7fea9e
-SIZE (buganini-bsdconv-11.3.1_GH0.tar.gz) = 6194052
+TIMESTAMP = 1481470550
+SHA256 (buganini-bsdconv-11.5_GH0.tar.gz) = 20137c6937a5785467296e12b18b1b9dff55f021bae3f3eb3eb4fa5826689692
+SIZE (buganini-bsdconv-11.5_GH0.tar.gz) = 6212413
diff --git a/converters/bsdconv/files/patch-Makefile b/converters/bsdconv/files/patch-Makefile
index a7d3ff4e9988..e3a376d3d688 100644
--- a/converters/bsdconv/files/patch-Makefile
+++ b/converters/bsdconv/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2014-05-13 13:09:10 UTC
+--- Makefile.orig 2016-10-13 09:55:48 UTC
+++ Makefile
@@ -5,17 +5,9 @@ BSDCONV_PATH?=${PREFIX}
CFLAGS+=-O2 -Wall -D_BSDCONV_INTERNAL -DPREFIX='"${PREFIX}"' -DBSDCONV_PATH='"${BSDCONV_PATH}"'
@@ -18,27 +18,10 @@
TODO_FILTERS=
TODO_FILTERS+=ANSI
-@@ -237,14 +229,14 @@ bsdconv-completion: builddir libbsdconv
- bsdconv-dbg: builddir libbsdconv src/libbsdconv.c src/bsdconv.h src/bsdconv-dbg.c
- $(CC) ${CFLAGS} src/libbsdconv.c src/bsdconv-dbg.c -o build/bin/bsdconv-dbg ${LIBS}
+@@ -334,12 +326,12 @@ clean:
+ install: install_main install_filters install_scorers install_basic install_chinese install_ebcdic
--filters: builddir
-+filters: builddir meta
- for item in ${TODO_FILTERS} ; do \
- echo Build filter $${item}.so ; \
- $(CC) ${CFLAGS} modules/filter/$${item}.c -L./build/lib/ -fPIC -shared -o ./build/share/bsdconv/filter/$${item}.so -lbsdconv ${LIBS} ; \
- if [ -e modules/filter/$${item}.man ]; then cp modules/filter/$${item}.man ./build/share/bsdconv/filter/$${item}.man ; fi ; \
- done
-
--scorers: builddir
-+scorers: builddir meta
- for item in ${TODO_SCORERS} ; do \
- echo Build scorer $${item}.so ; \
- $(CC) ${CFLAGS} modules/scorer/$${item}.c -L./build/lib/ -fPIC -shared -o ./build/share/bsdconv/scorer/$${item}.so -lbsdconv ${LIBS} ; \
-@@ -291,12 +283,12 @@ clean:
- install: installdir install_main install_filters install_scorers install_basic install_chinese install_ebcdic
-
- install_main:
+ install_main: | installdir
- install -m 555 build/bin/bsdconv ${DESTDIR}${PREFIX}/bin
- install -m 555 build/bin/bsdconv-man ${DESTDIR}${PREFIX}/bin
- install -m 555 build/bin/bsdconv-mktable ${DESTDIR}${PREFIX}/bin
@@ -53,23 +36,23 @@
install -m 444 build/share/bsdconv/from/alias ${DESTDIR}${PREFIX}/share/bsdconv/from/alias
install -m 444 build/share/bsdconv/inter/alias ${DESTDIR}${PREFIX}/share/bsdconv/inter/alias
install -m 444 build/share/bsdconv/to/alias ${DESTDIR}${PREFIX}/share/bsdconv/to/alias
-@@ -307,13 +299,13 @@ install_main:
+@@ -350,13 +342,13 @@ install_main: | installdir
- install_filters:
+ install_filters: | installdir
for item in ${TODO_FILTERS} ; do \
- install -m 444 build/share/bsdconv/filter/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/filter/$${item}.so ; \
+ install ${STRIP} -m 444 build/share/bsdconv/filter/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/filter/$${item}.so ; \
if [ -e build/share/bsdconv/filter/$${item}.man ]; then install -m 444 build/share/bsdconv/filter/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/filter/$${item}.man ; fi ; \
done
- install_scorers:
+ install_scorers: | installdir
for item in ${TODO_SCORERS} ; do \
- install -m 444 build/share/bsdconv/scorer/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/scorer/$${item}.so ; \
+ install ${STRIP} -m 444 build/share/bsdconv/scorer/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/scorer/$${item}.so ; \
if [ -e build/share/bsdconv/scorer/$${item}.man ]; then install -m 444 build/share/bsdconv/scorer/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/scorer/$${item}.man ; fi ; \
done
-@@ -321,21 +313,21 @@ install_basic:
+@@ -364,21 +356,21 @@ install_basic: | installdir
for item in ${TODO_CODECS_BASIC} ; do \
install -m 444 build/share/bsdconv/$${item} ${DESTDIR}${PREFIX}/share/bsdconv/$${item} ; \
if [ -e build/share/bsdconv/$${item}.man ]; then install -m 444 build/share/bsdconv/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.man ; fi ; \
@@ -77,7 +60,7 @@
+ if [ -e build/share/bsdconv/$${item}.so ]; then install ${STRIP} -m 444 build/share/bsdconv/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.so ; fi ; \
done
- install_chinese:
+ install_chinese: | installdir
for item in ${TODO_CODECS_CHINESE} ; do \
install -m 444 build/share/bsdconv/$${item} ${DESTDIR}${PREFIX}/share/bsdconv/$${item} ; \
if [ -e build/share/bsdconv/$${item}.man ]; then install -m 444 build/share/bsdconv/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.man ; fi ; \
@@ -85,7 +68,7 @@
+ if [ -e build/share/bsdconv/$${item}.so ]; then install ${STRIP} -m 444 build/share/bsdconv/$${item}.so ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.so ; fi ; \
done
- install_ebcdic:
+ install_ebcdic: | installdir
for item in ${TODO_CODECS_EBCDIC} ; do \
install -m 444 build/share/bsdconv/$${item} ${DESTDIR}${PREFIX}/share/bsdconv/$${item} ; \
if [ -e build/share/bsdconv/$${item}.man ]; then install -m 444 build/share/bsdconv/$${item}.man ${DESTDIR}${PREFIX}/share/bsdconv/$${item}.man ; fi ; \
diff --git a/converters/bsdconv/pkg-plist b/converters/bsdconv/pkg-plist
index 60e8b8db34dd..b0a5c0ed9ac1 100644
--- a/converters/bsdconv/pkg-plist
+++ b/converters/bsdconv/pkg-plist
@@ -6,21 +6,59 @@ include/bsdconv.h
lib/libbsdconv.so
lib/libbsdconv.so.11
%%DATADIR%%/filter/ANSI.so
+%%DATADIR%%/filter/ARABIC.so
+%%DATADIR%%/filter/ARMENIAN.so
+%%DATADIR%%/filter/ARROWS.so
+%%DATADIR%%/filter/BRAILLE.so
%%DATADIR%%/filter/BYTE.so
+%%DATADIR%%/filter/CHEROKEE.so
%%DATADIR%%/filter/CJK.man
%%DATADIR%%/filter/CJK.so
%%DATADIR%%/filter/CNS11643.so
+%%DATADIR%%/filter/CUNEIFORM.so
+%%DATADIR%%/filter/CURRENCY.so
%%DATADIR%%/filter/CYRILLIC.so
+%%DATADIR%%/filter/DEVANAGARI.so
+%%DATADIR%%/filter/EGYPTIAN.so
+%%DATADIR%%/filter/EMOTICON.so
+%%DATADIR%%/filter/ETHIOPIC.so
+%%DATADIR%%/filter/GEORGIAN.so
+%%DATADIR%%/filter/GREEK.so
%%DATADIR%%/filter/HANGUL.so
+%%DATADIR%%/filter/HEBREW.so
%%DATADIR%%/filter/HIRAGANA.so
+%%DATADIR%%/filter/IPA.so
+%%DATADIR%%/filter/JAVANESE.so
+%%DATADIR%%/filter/KANNADA.so
%%DATADIR%%/filter/KATAKANA.so
%%DATADIR%%/filter/KHMER.so
+%%DATADIR%%/filter/LAO.so
+%%DATADIR%%/filter/LATIN.so
%%DATADIR%%/filter/LATIN1.so
%%DATADIR%%/filter/MAHJONG.so
+%%DATADIR%%/filter/MALAYALAM.so
+%%DATADIR%%/filter/MATH.so
+%%DATADIR%%/filter/MIAO.so
+%%DATADIR%%/filter/MONGOLIAN.so
+%%DATADIR%%/filter/MUSIC.so
+%%DATADIR%%/filter/MYANMAR.so
+%%DATADIR%%/filter/PHONETIC.so
%%DATADIR%%/filter/PRINT.so
+%%DATADIR%%/filter/PUA.so
+%%DATADIR%%/filter/PUNCTUATION.so
%%DATADIR%%/filter/ROMAN.so
+%%DATADIR%%/filter/SAMARITAN.so
+%%DATADIR%%/filter/SINHALA.so
+%%DATADIR%%/filter/SUNDANESE.so
+%%DATADIR%%/filter/SYRIAC.so
+%%DATADIR%%/filter/TAGALOG.so
+%%DATADIR%%/filter/TAMIL.so
+%%DATADIR%%/filter/TELUGU.so
%%DATADIR%%/filter/THAI.so
+%%DATADIR%%/filter/TIBETAN.so
+%%DATADIR%%/filter/TIFINAGH.so
%%DATADIR%%/filter/UNICODE.so
+%%DATADIR%%/filter/YI.so
%%DATADIR%%/filter/alias
%%DATADIR%%/from/00
%%DATADIR%%/from/00.man
@@ -130,6 +168,9 @@ lib/libbsdconv.so.11
%%DATADIR%%/inter/MAC.man
%%DATADIR%%/inter/NL2BR
%%DATADIR%%/inter/NL2BR.man
+%%DATADIR%%/inter/NULL
+%%DATADIR%%/inter/NULL.man
+%%DATADIR%%/inter/NULL.so
%%DATADIR%%/inter/PASS
%%DATADIR%%/inter/PASS.man
%%DATADIR%%/inter/PASS.so
@@ -145,6 +186,8 @@ lib/libbsdconv.so.11
%%DATADIR%%/inter/STRINGS
%%DATADIR%%/inter/STRINGS.man
%%DATADIR%%/inter/STRINGS.so
+%%DATADIR%%/inter/SUB
+%%DATADIR%%/inter/SUPER
%%DATADIR%%/inter/TRIM-WIDTH
%%DATADIR%%/inter/TRIM-WIDTH.man
%%DATADIR%%/inter/TRIM-WIDTH.so