pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add md4c version 0.4.7 to pkgsrc wip
Module Name: pkgsrc-wip
Committed By: Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By: nros
Date: Sun Jan 3 17:27:40 2021 +0000
Changeset: 044330863baafbfc34ae263bc3a95e89a0b116c1
Modified Files:
Makefile
Added Files:
md4c/DESCR
md4c/Makefile
md4c/PLIST
md4c/buildlink3.mk
md4c/distinfo
Log Message:
Add md4c version 0.4.7 to pkgsrc wip
md4c "Markdown 4 C" is a library and comandline parser written in C.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=044330863baafbfc34ae263bc3a95e89a0b116c1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
md4c/DESCR | 2 ++
md4c/Makefile | 23 +++++++++++++++++++++++
md4c/PLIST | 17 +++++++++++++++++
md4c/buildlink3.mk | 12 ++++++++++++
md4c/distinfo | 6 ++++++
6 files changed, 61 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 057ec0b620..6cc328e6ff 100644
--- a/Makefile
+++ b/Makefile
@@ -2155,6 +2155,7 @@ SUBDIR+= mccs
SUBDIR+= mce
SUBDIR+= mcl
SUBDIR+= mcwm
+SUBDIR+= md4c
SUBDIR+= mdadm
SUBDIR+= mdbtools
SUBDIR+= mdpress
diff --git a/md4c/DESCR b/md4c/DESCR
new file mode 100644
index 0000000000..6ce9414232
--- /dev/null
+++ b/md4c/DESCR
@@ -0,0 +1,2 @@
+MD4C stands for "Markdown for C" and is a markdown parser available as a library
+and markdown to html commandline converter.
diff --git a/md4c/Makefile b/md4c/Makefile
new file mode 100644
index 0000000000..cbca465848
--- /dev/null
+++ b/md4c/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+GITHUB_PROJECT= md4c
+GITHUB_TAG= release-0.4.7
+DISTNAME= ${GITHUB_PROJECT}-${GITHUB_TAG}
+PKGNAME= ${DISTNAME:S/release-//}
+CATEGORIES= textproc converters
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mity/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mity/md4c/
+COMMENT= Markdown for C library and parser
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/md4c-release-0.4.7
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= src/md4c-html.pc.in
+PKGCONFIG_OVERRIDE+= src/md4c.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/md4c/PLIST b/md4c/PLIST
new file mode 100644
index 0000000000..27ee1db0b8
--- /dev/null
+++ b/md4c/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+bin/md2html
+include/md4c-html.h
+include/md4c.h
+lib/cmake/md4c-html/md4cHtmlConfig-release.cmake
+lib/cmake/md4c-html/md4cHtmlConfig.cmake
+lib/cmake/md4c/md4cConfig-release.cmake
+lib/cmake/md4c/md4cConfig.cmake
+lib/libmd4c-html.so
+lib/libmd4c-html.so.0
+lib/libmd4c-html.so.${PKGVERSION}
+lib/libmd4c.so
+lib/libmd4c.so.0
+lib/libmd4c.so.${PKGVERSION}
+lib/pkgconfig/md4c-html.pc
+lib/pkgconfig/md4c.pc
+man/man1/md2html.1
diff --git a/md4c/buildlink3.mk b/md4c/buildlink3.mk
new file mode 100644
index 0000000000..3562a21a55
--- /dev/null
+++ b/md4c/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= md4c
+
+.if !defined(MD4C_BUILDLINK3_MK)
+MD4C_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.md4c+= md4c>=0.4.7
+BUILDLINK_PKGSRCDIR.md4c?= ../../wip/md4c
+.endif # MD4C_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -md4c
diff --git a/md4c/distinfo b/md4c/distinfo
new file mode 100644
index 0000000000..5c4f075887
--- /dev/null
+++ b/md4c/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (md4c/md4c-release-0.4.7.tar.gz) = 9b85772b0a4fbed49d718086d52092e6fe84a58f
+RMD160 (md4c/md4c-release-0.4.7.tar.gz) = 180ee3c94c60a33cea56d81b67b1e1537d9f0a0b
+SHA512 (md4c/md4c-release-0.4.7.tar.gz) = 90e6f4c91ff5a0faafcea3e50f6a3f3ed6ba9a42cb779b373e82b8a6a09ed4b19ed7221036a4a32171aa5ef19ee6824d3830fb9ab613bd59174b7db51bd1099b
+Size (md4c/md4c-release-0.4.7.tar.gz) = 228223 bytes
Home |
Main Index |
Thread Index |
Old Index