pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

neatpost-git: Neatroff PS/PDF postprocessor



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Wed May 8 17:19:54 2024 -0700
Changeset:	27888862ed44267f7b2223b3a19e28591ac73835

Modified Files:
	Makefile
Added Files:
	neatpost-git/DESCR
	neatpost-git/Makefile
	neatpost-git/PLIST

Log Message:
neatpost-git: Neatroff PS/PDF postprocessor

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.

Neatpost is Neatroff's postscript postprocessor.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=27888862ed44267f7b2223b3a19e28591ac73835

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 neatpost-git/DESCR    |  6 ++++++
 neatpost-git/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++
 neatpost-git/PLIST    |  4 ++++
 4 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0183cefb3b..25246b17bc 100644
--- a/Makefile
+++ b/Makefile
@@ -2407,6 +2407,7 @@ SUBDIR+=	ncbi-lib
 SUBDIR+=	ncp
 SUBDIR+=	ncrack
 SUBDIR+=	neatmkfn-git
+SUBDIR+=	neatpost-git
 SUBDIR+=	neb-cd512
 SUBDIR+=	neb-hdtoolbox
 SUBDIR+=	necat
diff --git a/neatpost-git/DESCR b/neatpost-git/DESCR
new file mode 100644
index 0000000000..906431dd22
--- /dev/null
+++ b/neatpost-git/DESCR
@@ -0,0 +1,6 @@
+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.
+
+Neatpost is Neatroff's postscript postprocessor.
diff --git a/neatpost-git/Makefile b/neatpost-git/Makefile
new file mode 100644
index 0000000000..79fd466622
--- /dev/null
+++ b/neatpost-git/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+PKGNAME=	neatpost-git-0
+CATEGORIES=	textproc
+
+MAINTAINER=	mdehling%gmail.com@localhost
+HOMEPAGE=	https://litcave.rudi.ir/
+COMMENT=	Neatroff PostScript/PDF postprocessor
+LICENSE=	isc
+
+GIT_REPOSITORIES=	neatroff_make neatpost
+.for repo in ${GIT_REPOSITORIES}
+GIT_REPO.${repo}=	https://github.com/aligrudi/${repo}.git
+GIT_BRANCH.${repo}=	master
+.endfor
+GIT_EXTRACTDIR.neatpost= 						\
+	${GIT_EXTRACTDIR.neatroff_make}/neatpost
+
+WRKSRC=			${WRKDIR}/${GIT_EXTRACTDIR.neatroff_make}
+
+SUBST_CLASSES=		path
+SUBST_MESSAGE.path=	Updating paths.
+SUBST_STAGE.path=	post-build
+SUBST_FILES.path=	man/neatpost.1
+SUBST_SED.path=		-e 's|/usr/share|${PREFIX}/share|g'
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+do-build:
+	cd ${WRKSRC}/neatpost && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}	\
+		FDIR=${PREFIX}/share/neatroff
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/neatpost/post			\
+		${DESTDIR}${PREFIX}/bin/neatpost-ps
+	${INSTALL_PROGRAM} ${WRKSRC}/neatpost/pdf			\
+		${DESTDIR}${PREFIX}/bin/neatpost-pdf
+	${INSTALL_MAN} ${WRKSRC}/man/neatpost.1				\
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/neatpost-git/PLIST b/neatpost-git/PLIST
new file mode 100644
index 0000000000..cfa4a8f7ad
--- /dev/null
+++ b/neatpost-git/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/neatpost-pdf
+bin/neatpost-ps
+man/man1/neatpost.1


Home | Main Index | Thread Index | Old Index