summaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2004-01-07 14:59:42 +0000
committerdemon <demon@FreeBSD.org>2004-01-07 14:59:42 +0000
commit9aad7a1584c45c8d4f2c2c6b6efc7892ab703ae2 (patch)
treed5bc168cae033af37e06c077ea5ec41c3a3b7ef7 /russian
parent18342ae89abef50ee1a229da0799ee78e52445a1 (diff)
downloadFreeBSD-ports-9aad7a1584c45c8d4f2c2c6b6efc7892ab703ae2.zip
FreeBSD-ports-9aad7a1584c45c8d4f2c2c6b6efc7892ab703ae2.tar.gz
New port: libcyrillic.
This C library allows to convert cyrillic text from any to any of the following cyrillic charsets: windows-1251, koi8-r, koi8-u, iso-8859-5, x-mac-cyrillic and ibm866. Automatic detection of charset is possible for any of those. The library also contains a number of automation features and useful service wrappers that are ready to be easily plugged into any application whenever one needs more wise features instead of just dumb converting. PR: 60042 Submitted by: Pavel Novikov <pavel@ext.by>
Diffstat (limited to 'russian')
-rw-r--r--russian/Makefile1
-rw-r--r--russian/libcyrillic/Makefile26
-rw-r--r--russian/libcyrillic/distinfo1
-rw-r--r--russian/libcyrillic/files/Makefile.bsd36
-rw-r--r--russian/libcyrillic/pkg-descr9
-rw-r--r--russian/libcyrillic/pkg-plist5
6 files changed, 78 insertions, 0 deletions
diff --git a/russian/Makefile b/russian/Makefile
index 1b79829..af72739 100644
--- a/russian/Makefile
+++ b/russian/Makefile
@@ -15,6 +15,7 @@
SUBDIR += koi2koi
SUBDIR += koi8r-ps
SUBDIR += ksocrat
+ SUBDIR += libcyrillic
SUBDIR += linux-mozillafirebird
SUBDIR += messarge
SUBDIR += mtc
diff --git a/russian/libcyrillic/Makefile b/russian/libcyrillic/Makefile
new file mode 100644
index 0000000..9ec234e
--- /dev/null
+++ b/russian/libcyrillic/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: libcyrillic
+# Date created: 8 December 2003
+# Whom: Pavel Novikov
+#
+# $FreeBSD$
+#
+
+PORTNAME= libcyrillic
+PORTVERSION= 1.9
+CATEGORIES= russian converters textproc
+MASTER_SITES= http://ext.by/libcyrillic/
+PKGNAMEPREFIX=
+DISTNAME= ${PORTNAME:S/^lib//}-${PORTVERSION}
+
+MAINTAINER= pavel@ext.by
+COMMENT= Text manipulation and autodetection for 6 major cyrillic charsets
+
+MAKE_ENV= WRKSRC="${WRKSRC}" CFLAGS="${CFLAGS}"
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+INSTALLS_SHLIB= yes
+
+.if !defined(WITHOUT_OPTIMIZE)
+CFLAGS+= -O2
+.endif
+
+.include <bsd.port.mk>
diff --git a/russian/libcyrillic/distinfo b/russian/libcyrillic/distinfo
new file mode 100644
index 0000000..1d955c4
--- /dev/null
+++ b/russian/libcyrillic/distinfo
@@ -0,0 +1 @@
+MD5 (cyrillic-1.9.tar.gz) = 1384f1a892c43e3401de523f97a5fb45
diff --git a/russian/libcyrillic/files/Makefile.bsd b/russian/libcyrillic/files/Makefile.bsd
new file mode 100644
index 0000000..907b755
--- /dev/null
+++ b/russian/libcyrillic/files/Makefile.bsd
@@ -0,0 +1,36 @@
+SRCS= cyrillic.c cyrillic.h cyrillic_export.c cyrillic_export.h
+INCS= cyrillic.h cyrillic_export.h
+LIB= cyrillic
+
+MAKEDIR= /usr/share/mk
+
+SHLIB_MAJOR= 1
+SHLIB_MINOR= 9
+
+SHLIB_NAME!= ${MAKE} -V SHLIB_NAME LIB=${LIB} \
+ SHLIB_MAJOR=${SHLIB_MAJOR} \
+ SHLIB_MINOR=${SHLIB_MINOR} \
+ -f ${MAKEDIR}/bsd.lib.mk
+
+all: lib${LIB}.a ${SHLIB_NAME}
+
+lib${LIB}.a ${SHLIB_NAME}: ${SRCS}
+ ${MAKE} LIB=${LIB} \
+ SRCS="${SRCS}" \
+ CFLAGS="${CFLAGS}" \
+ NOPROFILE=true \
+ NOOBJ=true \
+ SHLIB_MAJOR=${SHLIB_MAJOR} \
+ SHLIB_MINOR=${SHLIB_MINOR} \
+ -f ${MAKEDIR}/bsd.lib.mk
+
+install:
+ mkdir -p ${PREFIX}/include
+ ${MAKE} LIB=${LIB} \
+ LIBDIR=${PREFIX}/lib \
+ NOPROFILE=true \
+ NOOBJ=true \
+ SHLIB_MAJOR=${SHLIB_MAJOR} \
+ SHLIB_MINOR=${SHLIB_MINOR} \
+ -f ${MAKEDIR}/bsd.lib.mk install
+ cd ${.CURDIR} && ${BSD_INSTALL_DATA} ${INCS} ${PREFIX}/include
diff --git a/russian/libcyrillic/pkg-descr b/russian/libcyrillic/pkg-descr
new file mode 100644
index 0000000..4ae1845
--- /dev/null
+++ b/russian/libcyrillic/pkg-descr
@@ -0,0 +1,9 @@
+This C library allows to convert cyrillic text from any to any of the following
+cyrillic charsets: windows-1251, koi8-r, koi8-u, iso-8859-5, x-mac-cyrillic and
+ibm866. Automatic detection of charset is possible for any of those.
+
+The library also contains a number of automation features and useful service
+wrappers that are ready to be easily plugged into any application whenever one
+needs more wise features instead of just dumb converting.
+
+WWW: http://ext.by/libcyrillic/
diff --git a/russian/libcyrillic/pkg-plist b/russian/libcyrillic/pkg-plist
new file mode 100644
index 0000000..7eb6ac8
--- /dev/null
+++ b/russian/libcyrillic/pkg-plist
@@ -0,0 +1,5 @@
+include/cyrillic.h
+include/cyrillic_export.h
+lib/libcyrillic.a
+lib/libcyrillic.so
+lib/libcyrillic.so.1
OpenPOWER on IntegriCloud