aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-11 09:41:55 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2001-03-11 09:41:55 +0000
commit5f26fdecd9278f455f6972d32de32116c1ae7145 (patch)
tree939a4fbfb4ca592cada39381bb7a91b41829117f /chinese
parent2219f8b81893d8de30c8d66d0e01a2df5c25de6d (diff)
downloadports-5f26fdecd9278f455f6972d32de32116c1ae7145.tar.gz
ports-5f26fdecd9278f455f6972d32de32116c1ae7145.zip
New port: zh-abiword
This meta version of AbiWord sets up the correct environment for BIG5/GB users(though most works are done in chinese/ttfm). Users can import a Chinese Word97 document(just not too complex :p), edit it with an XIM (eg. xcin25), then print it using Ghostscript.
Notes
Notes: svn path=/head/; revision=39571
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/abiword/Makefile28
-rw-r--r--chinese/abiword/pkg-comment1
-rw-r--r--chinese/abiword/pkg-descr23
-rw-r--r--chinese/abiword/pkg-install25
-rw-r--r--chinese/abiword/pkg-plist6
6 files changed, 84 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index c0ab60c5f495..1f6afb15c78e 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -4,6 +4,7 @@
SUBDIR += FreeWnn-lib
SUBDIR += FreeWnn-server
SUBDIR += XFree86-aoutlibs
+ SUBDIR += abiword
SUBDIR += acroread-chsfont
SUBDIR += acroread-chtfont
SUBDIR += arphicttf
diff --git a/chinese/abiword/Makefile b/chinese/abiword/Makefile
new file mode 100644
index 000000000000..9bd5014f037e
--- /dev/null
+++ b/chinese/abiword/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: zh-abiWord
+# Date created: 8 March 2001
+# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= abiword
+PORTVERSION= 0.7.13
+CATEGORIES= chinese editors
+MASTER_SITES= # none
+DISTFILES= # none
+
+MAINTAINER= keith@FreeBSD.org
+
+RUN_DEPENDS= AbiWord:${PORTSDIR}/editors/AbiWord \
+ ttfm.sh:${PORTSDIR}/chinese/ttfm \
+ ${LOCALBASE}/share/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf \
+ ${LOCALBASE}/share/ghostscript/CJK/CMap/ac13/CMap/Adobe-CNS1-0:${PORTSDIR}/chinese/ghostscript6
+
+NO_BUILD= yes
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/chinese/abiword/pkg-comment b/chinese/abiword/pkg-comment
new file mode 100644
index 000000000000..0a0b0fa4b8aa
--- /dev/null
+++ b/chinese/abiword/pkg-comment
@@ -0,0 +1 @@
+A cross-platform WYSIWYG word processor, with BIG5/GB available
diff --git a/chinese/abiword/pkg-descr b/chinese/abiword/pkg-descr
new file mode 100644
index 000000000000..3c1cd331d2d1
--- /dev/null
+++ b/chinese/abiword/pkg-descr
@@ -0,0 +1,23 @@
+AbiWord is an open-source, cross-platform WYSIWYG word processor. It works
+on Windows and most Unix Systems.
+
+Features include:
+
+ - Basic character formatting (bold, underline, italics, etc.)
+ - Paragraph alignment
+ - Spell-check
+ - Import of Word97 and RTF documents
+ - Export to RTF, Text, HTML, and LaTeX formats
+ - Interactive rulers and tabs
+ - Styles
+ - Unlimited undo/redo
+ - Multiple column control
+ - Widow/orphan control
+ - Find/Replace
+ - Images
+
+For more information, or to see screenshots, visit the AbiSource home page
+at
+WWW: http://www.abisource.com/
+
+This port sets up displaying/printing environment for both BIG5/GB users.
diff --git a/chinese/abiword/pkg-install b/chinese/abiword/pkg-install
new file mode 100644
index 000000000000..093248a37e61
--- /dev/null
+++ b/chinese/abiword/pkg-install
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+if [ "$2" = "PRE-INSTALL" ]; then
+ exit 0
+fi
+
+PKGNAME=$1
+PREFIX=${PKG_PREFIX}
+TTFM=${PREFIX}/bin/ttfm.sh
+
+FONTDIR=${PREFIX}/share/fonts/TrueType
+FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf"
+
+if [ ! -x $TTFM ]; then
+ echo "$TTFM not found!"
+ exit 1
+fi
+
+for f in $FONTS; do
+ $TTFM --add ghostscript6 $FONTDIR/$f
+done
+
+for f in $FONTS; do
+ $TTFM --add abiword $FONTDIR/$f
+done
diff --git a/chinese/abiword/pkg-plist b/chinese/abiword/pkg-plist
new file mode 100644
index 000000000000..282ebd6c5ac7
--- /dev/null
+++ b/chinese/abiword/pkg-plist
@@ -0,0 +1,6 @@
+AbiSuite/fonts/Big5/.already-in-fp
+AbiSuite/fonts/Big5/fonts.dir
+AbiSuite/fonts/GB2312/.already-in-fp
+AbiSuite/fonts/GB2312/fonts.dir
+@dirrm AbiSuite/fonts/Big5
+@dirrm AbiSuite/fonts/GB2312