mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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.
This commit is contained in:
parent
2219f8b818
commit
5f26fdecd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39571
@ -4,6 +4,7 @@
|
||||
SUBDIR += FreeWnn-lib
|
||||
SUBDIR += FreeWnn-server
|
||||
SUBDIR += XFree86-aoutlibs
|
||||
SUBDIR += abiword
|
||||
SUBDIR += acroread-chsfont
|
||||
SUBDIR += acroread-chtfont
|
||||
SUBDIR += arphicttf
|
||||
|
28
chinese/abiword/Makefile
Normal file
28
chinese/abiword/Makefile
Normal file
@ -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>
|
1
chinese/abiword/pkg-comment
Normal file
1
chinese/abiword/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A cross-platform WYSIWYG word processor, with BIG5/GB available
|
23
chinese/abiword/pkg-descr
Normal file
23
chinese/abiword/pkg-descr
Normal file
@ -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.
|
25
chinese/abiword/pkg-install
Normal file
25
chinese/abiword/pkg-install
Normal file
@ -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
|
6
chinese/abiword/pkg-plist
Normal file
6
chinese/abiword/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user