ports/149696: New port: editors/wordgrinder, a simple Unicode-aware console word processor
Vitaly Magerya
vmagerya at gmail.com
Mon Aug 16 09:20:02 UTC 2010
>Number: 149696
>Category: ports
>Synopsis: New port: editors/wordgrinder, a simple Unicode-aware console word processor
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 16 09:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Vitaly Magerya
>Release: FreeBSD 8.0-RELEASE i386
>Organization:
>Environment:
>Description:
WordGrinder is a Unicode-aware character cell word processor that runs
in a terminal.
WWW: http://wordgrinder.sourceforge.net/
Note that the port does not respect CC or CFLAGS. I'm afraid there's
no simple way of fixing this, as their values are hard-coded into
a file that isn't plain text and can't be patched.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# wordgrinder
# wordgrinder/Makefile
# wordgrinder/distinfo
# wordgrinder/pkg-descr
#
echo c - wordgrinder
mkdir -p wordgrinder > /dev/null 2>&1
echo x - wordgrinder/Makefile
sed 's/^X//' >wordgrinder/Makefile << 'd488c103e1242ce53e42b046fd80cbf0'
X# New ports collection makefile for: wordgrinder
X# Date created: 15 August 2010
X# Whom: Vitaly Magerya <vmagerya at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= wordgrinder
XPORTVERSION= 0.3.3
XCATEGORIES= editors
XMASTER_SITES= SF
X
XMAINTAINER= vmagerya at gmail.com
XCOMMENT= A simple Unicode-aware console-based word processor
X
XRUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem
X
XUSE_LUA= 5.1+
X
XUSE_BZIP2= yes
X
XMAN1= wordgrinder.1
X
XPLIST_DIRS= share/doc/wordgrinder
XPLIST_FILES= bin/wordgrinder share/doc/wordgrinder/README.wg
X
Xpost-patch:
X ${REINPLACE_CMD} -e 's,^PREFIX =.*$$,PREFIX = "${PREFIX}",' \
X -e 's,/usr/include/lua5.1,${LUA_INCDIR},' \
X -e 's,command = "lua ,command = "${LUA_CMD} ,' \
X -e '/curses_exe =/s,$$,\
X CLINKFLAGS = {PARENT\, "-L${LUA_LIBDIR}"}\,,' \
X -e 's,lua5.1,lua,' \
X -e 's,install -D,install,' \
X ${WRKSRC}/pmfile
X ${REINPLACE_CMD} 's,^LUACOMPILER =.*$$,LUACOMPILER = "${LUAC_CMD}",' \
X ${WRKSRC}/tools/lua.pm
X
Xdo-build:
X (cd ${WRKSRC}; ./pm)
X
Xdo-install:
X ${MKDIR} ${PREFIX}/bin ${PREFIX}/man/man1
X ${MKDIR} ${PREFIX}/share/doc/wordgrinder
X (cd ${WRKSRC}; ./pm install)
X ${STRIP_CMD} ${PREFIX}/bin/wordgrinder
X
X.include <bsd.port.mk>
d488c103e1242ce53e42b046fd80cbf0
echo x - wordgrinder/distinfo
sed 's/^X//' >wordgrinder/distinfo << '769c1add484624d63eacdc5e167dcf05'
XMD5 (wordgrinder-0.3.3.tar.bz2) = 1ae3bcf2fc4ee027bdd9518a73733505
XSHA256 (wordgrinder-0.3.3.tar.bz2) = 999781e169eda05d64b5df6034e0ab1d98f768a936218979754f754ca6eeb339
XSIZE (wordgrinder-0.3.3.tar.bz2) = 680918
769c1add484624d63eacdc5e167dcf05
echo x - wordgrinder/pkg-descr
sed 's/^X//' >wordgrinder/pkg-descr << '5070d45def99554a5b141a393791a3e8'
XWordGrinder is a simple, Unicode-aware word processor that runs on the
Xconsole. It's designed to get the hell out of your way and let you write;
Xit does very little, but what it does it does well.
X
XIt supports basic paragraph styles, basic character styles, basic screen
Xmarkup, a menu interface that means you don't have to remember complex
Xkey sequences, HTML import and export, and some other useful features.
X
XWordGrinder does not require X. It runs in a terminal.
X
XWWW: http://wordgrinder.sf.net
5070d45def99554a5b141a393791a3e8
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list