aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/bsdconv/Makefile9
-rw-r--r--converters/bsdconv/distinfo4
-rw-r--r--converters/bsdconv/files/patch-Makefile20
-rw-r--r--converters/bsdconv/pkg-plist2
4 files changed, 29 insertions, 6 deletions
diff --git a/converters/bsdconv/Makefile b/converters/bsdconv/Makefile
index 6bd84f7725e9..7e00dc32cae7 100644
--- a/converters/bsdconv/Makefile
+++ b/converters/bsdconv/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bsdconv
-PORTVERSION= 7.3
+PORTVERSION= 7.5
CATEGORIES= converters
MASTER_SITES= https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/
DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
@@ -16,11 +16,12 @@ COMMENT= BSD licensed charset/encoding converter library
LICENSE= BSD
-GITVERSION= 500f86a
+GITVERSION= cf1989b
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION}
-OPTIONS= EXTRA "Extra codecs (Chinese specifics)" off
+OPTIONS_DEFINE= EXTRA
+EXTRA_DESC= Extra codecs (Chinese specifics)
USE_LDCONFIG= yes
@@ -31,7 +32,7 @@ INSTALL_TARGET= installdir install_main install_basic
.include <bsd.port.options.mk>
-.if defined(WITH_EXTRA)
+.if ${PORT_OPTIONS:MEXTRA}
ALL_TARGET+= codecs_extra
INSTALL_TARGET+=install_extra
PLIST_SUB+= EXTRA=""
diff --git a/converters/bsdconv/distinfo b/converters/bsdconv/distinfo
index 30e9e7804ea1..02be08fd1634 100644
--- a/converters/bsdconv/distinfo
+++ b/converters/bsdconv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (buganini-bsdconv-7.3-0-g500f86a.tar.gz) = 5336501a41946472249afe8492d51c3148ba0cd73fa6f883e93da409409238d6
-SIZE (buganini-bsdconv-7.3-0-g500f86a.tar.gz) = 4828689
+SHA256 (buganini-bsdconv-7.5-0-gcf1989b.tar.gz) = b056fbd1cdddb3d021b3331a1f89bae1bfc5783d8971721cc2267724bbf5db06
+SIZE (buganini-bsdconv-7.5-0-gcf1989b.tar.gz) = 4630675
diff --git a/converters/bsdconv/files/patch-Makefile b/converters/bsdconv/files/patch-Makefile
new file mode 100644
index 000000000000..66a371950756
--- /dev/null
+++ b/converters/bsdconv/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig 2012-08-16 22:36:27.000000000 +0800
++++ Makefile 2012-08-16 22:36:47.000000000 +0800
+@@ -3,17 +3,9 @@
+ CFLAGS+=-Wall -DPREFIX='"${PREFIX}"' -DBSDCONV_PATH='"${BSDCONV_PATH}"'
+ SHLIBVER=7
+
+-UNAME_S=$(shell uname -s)
+-ifeq (${UNAME_S}, Darwin)
+-SHLIBNAME=libbsdconv.so
+-else
+ SHLIBNAME=libbsdconv.so.${SHLIBVER}
+-endif
+
+ LIBS?=
+-ifeq (${UNAME_S}, Linux)
+-LIBS+=-ldl
+-endif
+
+ TODO_CODECS_BASIC_TABLE=
+ TODO_CODECS_BASIC_TABLE+=from/3F
diff --git a/converters/bsdconv/pkg-plist b/converters/bsdconv/pkg-plist
index 930eaeebfb15..b3d1108527f2 100644
--- a/converters/bsdconv/pkg-plist
+++ b/converters/bsdconv/pkg-plist
@@ -35,6 +35,7 @@ lib/libbsdconv.so.7
%%DATADIR%%/from/UTF-32LE.so
%%DATADIR%%/from/_CP1251
%%DATADIR%%/from/_CP1252
+%%DATADIR%%/from/_CP1253
%%DATADIR%%/from/_CP874
%%DATADIR%%/from/_CP949
%%DATADIR%%/from/_GB18030
@@ -139,6 +140,7 @@ lib/libbsdconv.so.7
%%DATADIR%%/to/UTF-32LE.so
%%DATADIR%%/to/_CP1251
%%DATADIR%%/to/_CP1252
+%%DATADIR%%/to/_CP1253
%%DATADIR%%/to/_CP874
%%DATADIR%%/to/_CP936
%%DATADIR%%/to/_CP949