pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
neatmkfn-git: Neatroff font description generator
Module Name: pkgsrc-wip
Committed By: Malte Dehling <mdehling%gmail.com@localhost>
Pushed By: mdehling
Date: Wed May 8 16:18:45 2024 -0700
Changeset: 75fd9b344059d6fd1db8aabf1e29b2c97cc9d991
Modified Files:
Makefile
Added Files:
neatmkfn-git/DESCR
neatmkfn-git/Makefile
neatmkfn-git/PLIST
Log Message:
neatmkfn-git: Neatroff font description generator
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.
The Neatmkfn program creates Neatroff font description files from AFM
(Adobe Font Metrics), TrueType, and OpenType fonts.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=75fd9b344059d6fd1db8aabf1e29b2c97cc9d991
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
neatmkfn-git/DESCR | 7 +++++++
neatmkfn-git/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++
neatmkfn-git/PLIST | 4 ++++
4 files changed, 54 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 011b30b8fa..0183cefb3b 100644
--- a/Makefile
+++ b/Makefile
@@ -2406,6 +2406,7 @@ SUBDIR+= ncbi-c++-lib
SUBDIR+= ncbi-lib
SUBDIR+= ncp
SUBDIR+= ncrack
+SUBDIR+= neatmkfn-git
SUBDIR+= neb-cd512
SUBDIR+= neb-hdtoolbox
SUBDIR+= necat
diff --git a/neatmkfn-git/DESCR b/neatmkfn-git/DESCR
new file mode 100644
index 0000000000..1ba7b82916
--- /dev/null
+++ b/neatmkfn-git/DESCR
@@ -0,0 +1,7 @@
+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.
+
+The Neatmkfn program creates Neatroff font description files from AFM
+(Adobe Font Metrics), TrueType, and OpenType fonts.
diff --git a/neatmkfn-git/Makefile b/neatmkfn-git/Makefile
new file mode 100644
index 0000000000..daf90f7735
--- /dev/null
+++ b/neatmkfn-git/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+PKGNAME= neatmkfn-git-0
+CATEGORIES= textproc
+
+MAINTAINER= mdehling%gmail.com@localhost
+HOMEPAGE= https://litcave.rudi.ir/
+COMMENT= Neatroff font description generator
+LICENSE= isc
+
+GIT_REPOSITORIES= neatroff_make neatmkfn
+.for repo in ${GIT_REPOSITORIES}
+GIT_REPO.${repo}= https://github.com/aligrudi/${repo}.git
+GIT_BRANCH.${repo}= master
+.endfor
+GIT_EXTRACTDIR.neatmkfn= \
+ ${GIT_EXTRACTDIR.neatroff_make}/neatmkfn
+
+WRKSRC= ${WRKDIR}/${GIT_EXTRACTDIR.neatroff_make}
+
+SUBST_CLASSES= path
+SUBST_MESSAGE.path= Updating paths.
+SUBST_STAGE.path= post-build
+SUBST_FILES.path= man/neatmkfn.1 neatmkfn/gen.sh
+SUBST_SED.path= -e 's|/usr/share|${PREFIX}/share|g'
+SUBST_SED.path+= -e 's|./mkfn|${PREFIX}/bin/neatmkfn|g'
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/neatroff
+
+do-build:
+ cd ${WRKSRC}/neatmkfn && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/neatmkfn/mkfn \
+ ${DESTDIR}${PREFIX}/bin/neatmkfn
+ ${INSTALL_MAN} ${WRKSRC}/man/neatmkfn.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/neatmkfn/gen.sh \
+ ${DESTDIR}${PREFIX}/share/neatroff
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/neatmkfn-git/PLIST b/neatmkfn-git/PLIST
new file mode 100644
index 0000000000..18c63c3fb7
--- /dev/null
+++ b/neatmkfn-git/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/neatmkfn
+man/man1/neatmkfn.1
+share/neatroff/gen.sh
Home |
Main Index |
Thread Index |
Old Index