Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@comment $NetBSD: PLIST,v 1.1 2021/11/26 09:38:52 schmonz Exp $ | ||
bin/pikchr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |