aboutsummaryrefslogtreecommitdiff
path: root/russian/libcyrillic
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2004-01-07 14:59:42 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2004-01-07 14:59:42 +0000
commitac47c1ad4295d953f5c6be2865d6e2d7a15082a4 (patch)
tree3a47c4bec1319cb03a85b0c687ed528f4afead37 /russian/libcyrillic
parentc480257832631dab7e7c99db6a53232ad8f5b245 (diff)
downloadports-ac47c1ad4295d953f5c6be2865d6e2d7a15082a4.tar.gz
ports-ac47c1ad4295d953f5c6be2865d6e2d7a15082a4.zip
Notes
Diffstat (limited to 'russian/libcyrillic')
-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
5 files changed, 77 insertions, 0 deletions
diff --git a/russian/libcyrillic/Makefile b/russian/libcyrillic/Makefile
new file mode 100644
index 000000000000..9ec234e985ef
--- /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 000000000000..1d955c43b38e
--- /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 000000000000..907b7555f19c
--- /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 000000000000..4ae1845e38ac
--- /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 000000000000..7eb6ac845a8d
--- /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