diff options
author | schmonz <schmonz@pkgsrc.org> | 2021-11-26 09:38:52 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2021-11-26 09:38:52 +0000 |
commit | 7cb6563f21237fe9ca6583f755e9f23250fde90c (patch) | |
tree | f3680feb362586529cfaa42c4cd96669cb9c3492 /graphics | |
parent | 4c3d0ff66bda0cf6044176006b8881b6edd37cdf (diff) | |
download | pkgsrc-7cb6563f21237fe9ca6583f755e9f23250fde90c.tar.gz |
Add pikchr, a PIC-like markup language for diagrams.
Pikchr (pronounced like "picture") is a PIC-like markup language for
diagrams in technical documentation. Pikchr is designed to be embedded
in fenced code blocks of Markdown (or in similar mechanisms in other
markup languages) to provide a convenient means of showing diagrams.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pikchr/DESCR | 4 | ||||
-rw-r--r-- | graphics/pikchr/Makefile | 23 | ||||
-rw-r--r-- | graphics/pikchr/PLIST | 2 | ||||
-rw-r--r-- | graphics/pikchr/distinfo | 6 | ||||
-rw-r--r-- | graphics/pikchr/patches/patch-Makefile | 13 |
5 files changed, 48 insertions, 0 deletions
diff --git a/graphics/pikchr/DESCR b/graphics/pikchr/DESCR new file mode 100644 index 00000000000..16d9971654e --- /dev/null +++ b/graphics/pikchr/DESCR @@ -0,0 +1,4 @@ +Pikchr (pronounced like "picture") is a PIC-like markup language for +diagrams in technical documentation. Pikchr is designed to be embedded +in fenced code blocks of Markdown (or in similar mechanisms in other +markup languages) to provide a convenient means of showing diagrams. diff --git a/graphics/pikchr/Makefile b/graphics/pikchr/Makefile new file mode 100644 index 00000000000..21881ca010f --- /dev/null +++ b/graphics/pikchr/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2021/11/26 09:38:52 schmonz Exp $ + +DISTNAME= pikchr +PKGVERSION= 1.0.20211104 +FOSSIL_TAG= b79ce27929e9cc79 +PKGNAME= ${DISTNAME}-${PKGVERSION} +CATEGORIES= graphics textproc +MASTER_SITES= https://pikchr.org/home/tarball/${FOSSIL_TAG}/ +DIST_SUBDIR= ${PKGBASE}-${FOSSIL_TAG} + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= https://pikchr.org/ +COMMENT= PIC-like markup language for diagrams +LICENSE= 0-clause-bsd + +WRKSRC= ${WRKDIR}/${PKGBASE} + +INSTALLATION_DIRS+= bin + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/pikchr/PLIST b/graphics/pikchr/PLIST new file mode 100644 index 00000000000..d55f7957a44 --- /dev/null +++ b/graphics/pikchr/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2021/11/26 09:38:52 schmonz Exp $ +bin/pikchr diff --git a/graphics/pikchr/distinfo b/graphics/pikchr/distinfo new file mode 100644 index 00000000000..f5dbd6a420b --- /dev/null +++ b/graphics/pikchr/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/11/26 09:38:52 schmonz Exp $ + +BLAKE2s (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 00125e7b4de045b7454fa39b094e717f891de99e9ba35c2f6e97a9cb58dbd106 +SHA512 (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 2339ac1ce17b97698f32d022f92014ba01f279c7aa64e9f1ebbbc1808c58ed75fbb1f935cc8eccb883a7b627aa9de4eaac1ece1b444abc6f5769c2ff77c07d1f +Size (pikchr-b79ce27929e9cc79/pikchr.tar.gz) = 245370 bytes +SHA1 (patch-Makefile) = c538909958cd0e58a72833964e6aae5c6226e15c diff --git a/graphics/pikchr/patches/patch-Makefile b/graphics/pikchr/patches/patch-Makefile new file mode 100644 index 00000000000..d3d1d37654f --- /dev/null +++ b/graphics/pikchr/patches/patch-Makefile @@ -0,0 +1,13 @@ +$NetBSD: patch-Makefile,v 1.1 2021/11/26 09:38:52 schmonz Exp $ + +Honor pkgsrc-provided CFLAGS. + +--- Makefile.orig 2021-11-04 18:36:41.000000000 +0000 ++++ Makefile +@@ -1,5 +1,5 @@ + CC = gcc +-CFLAGS = -O0 -g -Wall -Wextra ++CFLAGS ?= -O0 -g -Wall -Wextra + LIBS = -lm + + TCL_PACKAGE_NAME = pikchr |