pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/pikchr Add pikchr, a PIC-like markup language...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62da2de0d7f5
branches:  trunk
changeset: 770157:62da2de0d7f5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Nov 26 09:38:52 2021 +0000

description:
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:

 graphics/pikchr/DESCR                  |   4 ++++
 graphics/pikchr/Makefile               |  23 +++++++++++++++++++++++
 graphics/pikchr/PLIST                  |   2 ++
 graphics/pikchr/distinfo               |   6 ++++++
 graphics/pikchr/patches/patch-Makefile |  13 +++++++++++++
 5 files changed, 48 insertions(+), 0 deletions(-)

diffs (68 lines):

diff -r 38cfe5289be1 -r 62da2de0d7f5 graphics/pikchr/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pikchr/DESCR     Fri Nov 26 09:38:52 2021 +0000
@@ -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 -r 38cfe5289be1 -r 62da2de0d7f5 graphics/pikchr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pikchr/Makefile  Fri Nov 26 09:38:52 2021 +0000
@@ -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@localhost
+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 -r 38cfe5289be1 -r 62da2de0d7f5 graphics/pikchr/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pikchr/PLIST     Fri Nov 26 09:38:52 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/26 09:38:52 schmonz Exp $
+bin/pikchr
diff -r 38cfe5289be1 -r 62da2de0d7f5 graphics/pikchr/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pikchr/distinfo  Fri Nov 26 09:38:52 2021 +0000
@@ -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 -r 38cfe5289be1 -r 62da2de0d7f5 graphics/pikchr/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/pikchr/patches/patch-Makefile    Fri Nov 26 09:38:52 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index