pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
neatroff-git: Neatroff clone of Troff
Module Name: pkgsrc-wip
Committed By: Malte Dehling <mdehling%gmail.com@localhost>
Pushed By: mdehling
Date: Wed May 8 20:07:20 2024 -0700
Changeset: ea27649c689ed0b9e782fa34a1d0b4972a4d919c
Modified Files:
Makefile
Added Files:
neatroff-git/DESCR
neatroff-git/Makefile
neatroff-git/PLIST
Log Message:
neatroff-git: Neatroff clone of Troff
Neatroff is a new implementation of the Troff typesetting system written
in C. It tries to address, as neatly as possible, some of the
shortcomings of the original Troff based on the ideas and features
available in Plan 9 Troff, Heirloom Troff, and Groff.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ea27649c689ed0b9e782fa34a1d0b4972a4d919c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
neatroff-git/DESCR | 4 ++
neatroff-git/Makefile | 57 +++++++++++++++++++++++++++
neatroff-git/PLIST | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 167 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 25246b17bc..2ff51527a7 100644
--- a/Makefile
+++ b/Makefile
@@ -2408,6 +2408,7 @@ SUBDIR+= ncp
SUBDIR+= ncrack
SUBDIR+= neatmkfn-git
SUBDIR+= neatpost-git
+SUBDIR+= neatroff-git
SUBDIR+= neb-cd512
SUBDIR+= neb-hdtoolbox
SUBDIR+= necat
diff --git a/neatroff-git/DESCR b/neatroff-git/DESCR
new file mode 100644
index 0000000000..a1ddc44176
--- /dev/null
+++ b/neatroff-git/DESCR
@@ -0,0 +1,4 @@
+Neatroff is a new implementation of the Troff typesetting system written
+in C. It tries to address, as neatly as possible, some of the
+shortcomings of the original Troff based on the ideas and features
+available in Plan 9 Troff, Heirloom Troff, and Groff.
diff --git a/neatroff-git/Makefile b/neatroff-git/Makefile
new file mode 100644
index 0000000000..1a9182b1d7
--- /dev/null
+++ b/neatroff-git/Makefile
@@ -0,0 +1,57 @@
+# $NetBSD$
+
+PKGNAME= neatroff-git-0
+CATEGORIES= textproc
+
+MAINTAINER= mdehling%gmail.com@localhost
+HOMEPAGE= https://litcave.rudi.ir/
+COMMENT= Neatroff clone of the Troff typesetting system
+LICENSE= isc AND mit
+
+GIT_REPOSITORIES= neatroff_make neatroff
+.for repo in ${GIT_REPOSITORIES}
+GIT_REPO.${repo}= https://github.com/aligrudi/${repo}.git
+GIT_BRANCH.${repo}= master
+.endfor
+GIT_EXTRACTDIR.neatroff= \
+ ${GIT_EXTRACTDIR.neatroff_make}/neatroff
+
+WRKSRC= ${WRKDIR}/${GIT_EXTRACTDIR.neatroff_make}
+
+DEPENDS+= neatpost-git-[0-9]*:../../wip/neatpost-git
+DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts
+TOOL_DEPENDS+= neatmkfn-git-[0-9]*:../../wip/neatmkfn-git
+
+SUBST_CLASSES= path
+SUBST_MESSAGE.path= Updating paths.
+SUBST_STAGE.path= post-build
+SUBST_FILES.path= man/neatroff.1
+SUBST_SED.path= -e 's|/usr/share|${PREFIX}/share|g'
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS+= share/neatroff/tmac share/neatroff/tmac/me
+INSTALLATION_DIRS+= share/neatroff/devutf
+
+do-build:
+ cd ${WRKSRC}/neatroff && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
+ FDIR=${PREFIX}/share/neatroff \
+ MDIR=${PREFIX}/share/neatroff/tmac
+ ${PREFIX}/share/neatroff/gen.sh ${PREFIX}/share/fonts/urw \
+ ${WRKSRC}/devutf
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/neatroff/roff \
+ ${DESTDIR}${PREFIX}/bin/neatroff
+ ${INSTALL_MAN} ${WRKSRC}/man/neatroff.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/tmac/strings.mm \
+ ${DESTDIR}${PREFIX}/share/neatroff/tmac
+ ${INSTALL_DATA} ${WRKSRC}/tmac/tmac.* \
+ ${DESTDIR}${PREFIX}/share/neatroff/tmac
+ ${INSTALL_DATA} ${WRKSRC}/tmac/me/*.me \
+ ${DESTDIR}${PREFIX}/share/neatroff/tmac/me
+ ${INSTALL_DATA} ${WRKSRC}/devutf/* \
+ ${DESTDIR}${PREFIX}/share/neatroff/devutf
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/neatroff-git/PLIST b/neatroff-git/PLIST
new file mode 100644
index 0000000000..135a321c7b
--- /dev/null
+++ b/neatroff-git/PLIST
@@ -0,0 +1,105 @@
+@comment $NetBSD$
+bin/neatroff
+man/man1/neatroff.1
+share/neatroff/devutf/AB
+share/neatroff/devutf/AI
+share/neatroff/devutf/AR
+share/neatroff/devutf/AX
+share/neatroff/devutf/B
+share/neatroff/devutf/BI
+share/neatroff/devutf/CB
+share/neatroff/devutf/CI
+share/neatroff/devutf/CR
+share/neatroff/devutf/CX
+share/neatroff/devutf/DESC
+share/neatroff/devutf/HB
+share/neatroff/devutf/HI
+share/neatroff/devutf/HR
+share/neatroff/devutf/HX
+share/neatroff/devutf/Hb
+share/neatroff/devutf/Hi
+share/neatroff/devutf/Hr
+share/neatroff/devutf/Hx
+share/neatroff/devutf/I
+share/neatroff/devutf/KB
+share/neatroff/devutf/KI
+share/neatroff/devutf/KR
+share/neatroff/devutf/KX
+share/neatroff/devutf/NB
+share/neatroff/devutf/NI
+share/neatroff/devutf/NR
+share/neatroff/devutf/NX
+share/neatroff/devutf/PA
+share/neatroff/devutf/PB
+share/neatroff/devutf/PI
+share/neatroff/devutf/PR
+share/neatroff/devutf/PX
+share/neatroff/devutf/R
+share/neatroff/devutf/S
+share/neatroff/devutf/S1
+share/neatroff/devutf/ZI
+share/neatroff/devutf/a010013l
+share/neatroff/devutf/a010015l
+share/neatroff/devutf/a010033l
+share/neatroff/devutf/a010035l
+share/neatroff/devutf/b018012l
+share/neatroff/devutf/b018015l
+share/neatroff/devutf/b018032l
+share/neatroff/devutf/b018035l
+share/neatroff/devutf/c059013l
+share/neatroff/devutf/c059016l
+share/neatroff/devutf/c059033l
+share/neatroff/devutf/c059036l
+share/neatroff/devutf/d050000l
+share/neatroff/devutf/n019003l
+share/neatroff/devutf/n019004l
+share/neatroff/devutf/n019023l
+share/neatroff/devutf/n019024l
+share/neatroff/devutf/n019043l
+share/neatroff/devutf/n019044l
+share/neatroff/devutf/n019063l
+share/neatroff/devutf/n019064l
+share/neatroff/devutf/n021003l
+share/neatroff/devutf/n021004l
+share/neatroff/devutf/n021023l
+share/neatroff/devutf/n021024l
+share/neatroff/devutf/n022003l
+share/neatroff/devutf/n022004l
+share/neatroff/devutf/n022023l
+share/neatroff/devutf/n022024l
+share/neatroff/devutf/p052003l
+share/neatroff/devutf/p052004l
+share/neatroff/devutf/p052023l
+share/neatroff/devutf/p052024l
+share/neatroff/devutf/s050000l
+share/neatroff/devutf/z003034l
+share/neatroff/tmac/me/acm.me
+share/neatroff/tmac/me/chars.me
+share/neatroff/tmac/me/deltext.me
+share/neatroff/tmac/me/eqn.me
+share/neatroff/tmac/me/float.me
+share/neatroff/tmac/me/footnote.me
+share/neatroff/tmac/me/index.me
+share/neatroff/tmac/me/local.me
+share/neatroff/tmac/me/null.me
+share/neatroff/tmac/me/sh.me
+share/neatroff/tmac/me/tbl.me
+share/neatroff/tmac/me/thesis.me
+share/neatroff/tmac/strings.mm
+share/neatroff/tmac/tmac.e
+share/neatroff/tmac/tmac.en
+share/neatroff/tmac/tmac.eps
+share/neatroff/tmac/tmac.fa
+share/neatroff/tmac/tmac.fp
+share/neatroff/tmac/tmac.gnu
+share/neatroff/tmac/tmac.gr
+share/neatroff/tmac/tmac.keep
+share/neatroff/tmac/tmac.m
+share/neatroff/tmac/tmac.post
+share/neatroff/tmac/tmac.ps
+share/neatroff/tmac/tmac.s
+share/neatroff/tmac/tmac.scover
+share/neatroff/tmac/tmac.sdisp
+share/neatroff/tmac/tmac.skeep
+share/neatroff/tmac/tmac.srefs
+share/neatroff/tmac/tmac.tbl
Home |
Main Index |
Thread Index |
Old Index