Commit d395eaf4 authored by Rene Ladan's avatar Rene Ladan
Browse files

editors/wordgrinder: Remove expired port

2026-03-31 editors/wordgrinder: broken since 2023, maintainer AWOL
parent 931ec75b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5173,3 +5173,4 @@ sysutils/beats9|sysutils/beats93|2026-03-20|Use Beats port with preferred major.
science/kst2|science/kst|2026-03-25|Rename to match upstream naming
graphics/luminance-qt5||2026-03-29|Broken for more than a year
sysutils/tmate-ssh-server||2026-03-31|Has expired: Upstream unmaintained
editors/wordgrinder||2026-03-31|Has expired: broken since 2023, maintainer AWOL
+0 −1
Original line number Diff line number Diff line
@@ -299,7 +299,6 @@
    SUBDIR += vscode
    SUBDIR += web-mode
    SUBDIR += with-editor
    SUBDIR += wordgrinder
    SUBDIR += wxhexeditor
    SUBDIR += xcoral
    SUBDIR += xed

editors/wordgrinder/Makefile

deleted100644 → 0
+0 −66
Original line number Diff line number Diff line
PORTNAME=	wordgrinder
PORTVERSION=	0.6
PORTREVISION=	2
CATEGORIES=	editors

MAINTAINER=	vmagerya@gmail.com
COMMENT=	Simple Unicode-aware console and X11-based word processor
WWW=		https://cowlark.com/wordgrinder/

BROKEN=		Fails to build with llvm16 use of undeclared identifier 'KEY_EVENT'
DEPRECATED=	broken since 2023, maintainer AWOL
EXPIRATION_DATE=	2026-03-31

RUN_DEPENDS=	${LUA_REFMODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR}

USE_GITHUB=	yes
GH_ACCOUNT=	davidgiven

USES=		gmake lua:52 ncurses

PLIST_FILES=	bin/wordgrinder \
		share/doc/wordgrinder/README.wg \
		share/man/man1/wordgrinder.1.gz

OPTIONS_DEFINE=	X11
OPTIONS_DEFAULT=X11

X11_DESC=	Support running in an X window in addition to console
X11_PLIST_FILES=bin/xwordgrinder
X11_USE=	xorg=x11,xft
X11_USES=	pkgconfig xorg
X11_ALL_TARGET_OFF=unix

post-patch:
	${REINPLACE_CMD} \
		-e '/hide = /s/@//' \
		-e '/cc := gcc/s|gcc|${CC}|' \
		-e '/LUA_INCLUDE := /s|= .*|= ${LUA_INCDIR}|' \
		-e '/ldflags := /s|=|= -L${LUA_LIBDIR}|' \
		-e 's|-llua5.2|-llua-${LUA_VER}|' \
		-e 's|$$(hide)lua|$$(hide)${LUA_CMD}|' \
		-e '/PREFIX = /d' \
		-e '/install /s|$$(PRE|$$(DESTDIR)$$(PRE|' \
		-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
	${REINPLACE_CMD} \
		-e '/#include <Xft/s|<|<X11/|' \
		${WRKSRC}/src/c/arch/unix/x11/x11.h

# This is not strictly speaking required, but it cuts
# down on some unnecessary work and error messages.
post-patch-X11-off:
	${REINPLACE_CMD} \
		-e '/$$(eval $$(build-wordgrinder-x11))/d' \
		${WRKSRC}/Makefile

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wordgrinder

post-install-X11-on:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/xwordgrinder ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>

editors/wordgrinder/distinfo

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
SHA256 (davidgiven-wordgrinder-0.6_GH0.tar.gz) = 3459cab32ca89d8585aa96ef0b9db2ac3802773223786991e48b3c62e2ee7eed
SIZE (davidgiven-wordgrinder-0.6_GH0.tar.gz) = 1628087

editors/wordgrinder/pkg-descr

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
WordGrinder is an ultra-clean and uncluttered word processor
that runs in a terminal or an X11 window.

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.