FreeBSD Bugzilla – Attachment 162395 Details for
Bug 203984
[maintainer] editors/wordgrinder: update to 0.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wordgrinder-0.6.diff
wordgrinder-0.6.diff (text/plain), 3.73 KB, created by
Vitaly Magerya
on 2015-10-23 14:25:00 UTC
(
hide
)
Description:
wordgrinder-0.6.diff
Filename:
MIME Type:
Creator:
Vitaly Magerya
Created:
2015-10-23 14:25:00 UTC
Size:
3.73 KB
patch
obsolete
>diff -ruN wordgrinder.orig/Makefile wordgrinder/Makefile >--- wordgrinder.orig/Makefile 2015-01-25 11:47:55.000000000 +0200 >+++ wordgrinder/Makefile 2015-10-23 17:04:38.186785000 +0300 >@@ -2,23 +2,35 @@ > # $FreeBSD: head/editors/wordgrinder/Makefile 377876 2015-01-25 09:47:55Z riggs $ > > PORTNAME= wordgrinder >-PORTVERSION= 0.5.2 >+PORTVERSION= 0.6 > CATEGORIES= editors >-MASTER_SITES= SF/${PORTNAME}/${PORTNAME} > > MAINTAINER= vmagerya@gmail.com >-COMMENT= Simple Unicode-aware console-based word processor >- >-LICENSE= MIT >+COMMENT= Simple Unicode-aware console- and X11-based word processor > > RUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem > >-USES= lua:52 tar:bzip2 gmake >+USE_GITHUB= yes >+GH_ACCOUNT= davidgiven >+ >+OPTIONS_DEFINE= X11 >+X11_DESC= Support running in an X window in addition to console >+ >+OPTIONS_DEFAULT=X11 >+ >+USES= gmake lua:52 > > PLIST_FILES= bin/wordgrinder \ > share/doc/wordgrinder/README.wg \ > man/man1/wordgrinder.1.gz > >+X11_PLIST_FILES=bin/xwordgrinder >+X11_USE= pkgconfig xorg=x11,xft >+ >+X11_ALL_TARGET_OFF=unix >+ >+.include <bsd.port.options.mk> >+ > post-patch: > ${REINPLACE_CMD} \ > -e '/hide = /s/@//' \ >@@ -29,14 +41,27 @@ > -e 's|$$(hide)lua|$$(hide)${LUA_CMD}|' \ > -e '/PREFIX = /d' \ > -e '/install /s|$$(PRE|$$(DESTDIR)$$(PRE|' \ >- -e '/install /s|-D||' \ > -e '/install /s|share/man/man1|man/man1|' \ >+ -e '/NCURSES_CFLAGS :=/s|=.*|=|' \ >+ -e '/NCURSES_LIB :=/s|=.*|= -lncursesw|' \ >+ -e '/X11_CFLAGS :=/s|=.*|= $$(shell pkg-config --cflags x11 xft)|' \ >+ -e '/X11_LIB :=/s|=.*|= $$(shell pkg-config --libs x11 xft)|' \ > ${WRKSRC}/Makefile >- >-pre-install: >- ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/wordgrinder >+ ${REINPLACE_CMD} \ >+ -e '/#include <Xft/s|<|<X11/|' \ >+ ${WRKSRC}/src/c/arch/unix/x11/x11.h >+.if ! ${PORT_OPTIONS:MX11} >+ # This is not strictly speaking required, but it cuts >+ # down on some unnecessary work and error messages. >+ ${REINPLACE_CMD} \ >+ -e '/$$(eval $$(build-wordgrinder-x11))/d' \ >+ ${WRKSRC}/Makefile >+.endif > > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wordgrinder >+.if ${PORT_OPTIONS:MX11} >+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/xwordgrinder ${STAGEDIR}${PREFIX}/bin/ >+.endif > > .include <bsd.port.mk> >diff -ruN wordgrinder.orig/distinfo wordgrinder/distinfo >--- wordgrinder.orig/distinfo 2015-01-25 11:47:55.000000000 +0200 >+++ wordgrinder/distinfo 2015-10-23 14:29:49.699837000 +0300 >@@ -1,2 +1,2 @@ >-SHA256 (wordgrinder-0.5.2.tar.bz2) = b8da422ebeb31ebace5d174fed1d959f942af0c2704e6f064c8f31b3bd7e7774 >-SIZE (wordgrinder-0.5.2.tar.bz2) = 644852 >+SHA256 (davidgiven-wordgrinder-0.6_GH0.tar.gz) = 3459cab32ca89d8585aa96ef0b9db2ac3802773223786991e48b3c62e2ee7eed >+SIZE (davidgiven-wordgrinder-0.6_GH0.tar.gz) = 1628087 >diff -ruN wordgrinder.orig/pkg-descr wordgrinder/pkg-descr >--- wordgrinder.orig/pkg-descr 2014-01-22 17:44:51.000000000 +0200 >+++ wordgrinder/pkg-descr 2015-10-23 14:40:53.408384000 +0300 >@@ -1,11 +1,9 @@ >-WordGrinder is a simple, Unicode-aware word processor that runs on the >-console. It's designed to get the hell out of your way and let you write; >-it does very little, but what it does it does well. >+WordGrinder is an ultra-clean and uncluttered word processor >+that runs in a terminal or an X11 window. > >-It supports basic paragraph styles, basic character styles, basic screen >-markup, a menu interface that means you don't have to remember complex >-key sequences, HTML import and export, and some other useful features. >+The author made WordGrinder to have something to write novels >+on. It supports just enough character and paragraph style support >+to let you get the job done, while not enough to let you waste >+time configuring them. > >-WordGrinder does not require X. It runs in a terminal. >- >-WWW: http://wordgrinder.sf.net >+WWW: http://cowlark.com/wordgrinder/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203984
: 162395