aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/kmflcomp
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-07-24 06:07:44 +0800
committermakc <makc@FreeBSD.org>2010-07-24 06:07:44 +0800
commit76296cc7e969c6611fbf51fccb323bcbb2ea63f2 (patch)
treef1f6efaeece8950f98dc4f11520dfb5c29a55763 /textproc/kmflcomp
parent67e20519a607cba37eb9180e7b116a5803ba02b1 (diff)
downloadfreebsd-ports-gnome-76296cc7e969c6611fbf51fccb323bcbb2ea63f2.tar.gz
freebsd-ports-gnome-76296cc7e969c6611fbf51fccb323bcbb2ea63f2.tar.zst
freebsd-ports-gnome-76296cc7e969c6611fbf51fccb323bcbb2ea63f2.zip
Update to 1.0.3
PR: ports/148840 Submitted by: Nikola Lecic (maintainer)
Diffstat (limited to 'textproc/kmflcomp')
-rw-r--r--textproc/kmflcomp/Makefile9
-rw-r--r--textproc/kmflcomp/distinfo6
-rw-r--r--textproc/kmflcomp/files/patch-include-kmfl.h39
-rw-r--r--textproc/kmflcomp/files/patch-include-kmflutfconv.h24
4 files changed, 6 insertions, 72 deletions
diff --git a/textproc/kmflcomp/Makefile b/textproc/kmflcomp/Makefile
index 742545a81945..880d151beb38 100644
--- a/textproc/kmflcomp/Makefile
+++ b/textproc/kmflcomp/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= kmflcomp
-PORTVERSION= 0.9.8
-PORTREVISION= 2
+PORTVERSION= 0.9.9
CATEGORIES= textproc
MASTER_SITES= SF/kmfl/kmfl/${PORTVERSION} \
- http://anthesphoria.net/FreeBSD/ports/distfiles/
+ http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
KMFL-Compiler.sxw
DIST_SUBDIR= kmfl
@@ -41,9 +40,7 @@ post-patch:
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib|-L${X11BASE}/lib|' \
${WRKSRC}/kmfl_compiler/Makefile.in
- @${REINPLACE_CMD} -E 's,"UTF(8|16LE|32LE)","UTF-\1",g' \
- ${WRKSRC}/src/utfconv.c
- @${REINPLACE_CMD} -E 's,(VERSION= *)"0\.9\.7",\1"0.9.8",' \
+ @${REINPLACE_CMD} -E 's,(VERSION= *)"0\.9\.7",\1"0.9.9",' \
${WRKSRC}/kmfl_compiler/kmfl_compiler.c
post-install:
diff --git a/textproc/kmflcomp/distinfo b/textproc/kmflcomp/distinfo
index 7112a2de9ef0..b5ff512f6409 100644
--- a/textproc/kmflcomp/distinfo
+++ b/textproc/kmflcomp/distinfo
@@ -1,6 +1,6 @@
-MD5 (kmfl/kmflcomp-0.9.8.tar.gz) = d8d6a3163dae204079ccbb7c490d8ee7
-SHA256 (kmfl/kmflcomp-0.9.8.tar.gz) = 0e385c3c35389e2bca84a28fa7c2587dc348dbf3fcc1bd83cdf309d5606d605f
-SIZE (kmfl/kmflcomp-0.9.8.tar.gz) = 396597
+MD5 (kmfl/kmflcomp-0.9.9.tar.gz) = ece7fab3fd378ae93445912b6c90c29d
+SHA256 (kmfl/kmflcomp-0.9.9.tar.gz) = d07fe491ab4bfd6ad1d60a092c382c6e567f44729d406f066d804057ca9f716a
+SIZE (kmfl/kmflcomp-0.9.9.tar.gz) = 365124
MD5 (kmfl/KMFL-Compiler.sxw) = d9bf9f5a45824354205ce8a4721b807d
SHA256 (kmfl/KMFL-Compiler.sxw) = dedb0aee0b7d931dff48d0bcd3f9fa5c2c71d4684f9aa53e064df5bfb8b04841
SIZE (kmfl/KMFL-Compiler.sxw) = 56675
diff --git a/textproc/kmflcomp/files/patch-include-kmfl.h b/textproc/kmflcomp/files/patch-include-kmfl.h
deleted file mode 100644
index 8c9d30bdf9c2..000000000000
--- a/textproc/kmflcomp/files/patch-include-kmfl.h
+++ /dev/null
@@ -1,39 +0,0 @@
---- include/kmfl.h 2006-11-03 10:32:24.000000000 -0800
-+++ include/kmfl.h 2009-11-18 16:57:02.000000000 -0800
-@@ -31,6 +31,7 @@
- #endif
-
-
-+#include <sys/types.h>
- #define FILE_VERSION "1"
- #define BASE_VERSION "320"
- #define LAST_VERSION "600"
-@@ -79,25 +80,12 @@
- #ifdef _WIN32
- typedef unsigned int UINT; // 32-bit unsigned integer (general purpose)
- #else
--#include <stdint.h>
--#ifdef __uint32_t_defined
-- typedef uint32_t UINT;
--#else
-- typedef unsigned long UINT; // 32-bit unsigned integer (general purpose)
--#endif
-+ typedef u_int32_t UINT;
- #endif
-
--#ifdef __int32_t_defined
-- typedef int32_t INT;
--#else
-- typedef long INT; // 32-bit unsigned integer (general purpose)
--#endif
-+typedef int32_t INT;
-
--#ifdef __uint8_t_defined
--typedef uint8_t BYTE;
--#else
--typedef unsigned char BYTE; // 8-bit unsigned integer
--#endif
-+typedef u_int8_t BYTE;
- typedef UINT ITEM; // 32-bit unsigned integer for UTF-32 or control values
- typedef UINT OFFSET; // 32-bit unsigned integer used as table offsets
-
diff --git a/textproc/kmflcomp/files/patch-include-kmflutfconv.h b/textproc/kmflcomp/files/patch-include-kmflutfconv.h
deleted file mode 100644
index f4138dcddde1..000000000000
--- a/textproc/kmflcomp/files/patch-include-kmflutfconv.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- include/kmflutfconv.h 2006-03-10 15:34:49.000000000 -0800
-+++ include/kmflutfconv.h 2009-11-18 16:56:36.000000000 -0800
-@@ -26,16 +26,10 @@
- extern "C" {
- #endif
-
--
--#ifdef __uint32_t_defined
--typedef uint32_t UTF32;
--typedef uint16_t UTF16;
--typedef uint8_t UTF8;
--#else
--typedef unsigned long UTF32;
--typedef unsigned short UTF16;
--typedef unsigned char UTF8;
--#endif
-+#include <sys/types.h>
-+typedef u_int32_t UTF32;
-+typedef u_int16_t UTF16;
-+typedef u_int8_t UTF8;
-
- size_t IConvertUTF8toUTF16 (
- const UTF8** sourceStart, const UTF8* sourceEnd,
-