diff options
author | keith <keith@FreeBSD.org> | 2001-03-11 17:41:55 +0800 |
---|---|---|
committer | keith <keith@FreeBSD.org> | 2001-03-11 17:41:55 +0800 |
commit | 59c3080dd818ee4d469d74edcfca6c05a71c4fea (patch) | |
tree | 8456900369271c36735fda482b72d5f2d00ba89a /chinese/abiword | |
parent | 889095e1840f2ffeffbfc1d84875fb155cd9a277 (diff) | |
download | freebsd-ports-gnome-59c3080dd818ee4d469d74edcfca6c05a71c4fea.tar.gz freebsd-ports-gnome-59c3080dd818ee4d469d74edcfca6c05a71c4fea.tar.zst freebsd-ports-gnome-59c3080dd818ee4d469d74edcfca6c05a71c4fea.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.
Diffstat (limited to 'chinese/abiword')
-rw-r--r-- | chinese/abiword/Makefile | 28 | ||||
-rw-r--r-- | chinese/abiword/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/abiword/pkg-descr | 23 | ||||
-rw-r--r-- | chinese/abiword/pkg-install | 25 | ||||
-rw-r--r-- | chinese/abiword/pkg-plist | 6 |
5 files changed, 83 insertions, 0 deletions
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 |