pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/cmark-gfm Import cmark-gfm-0.29.0.gfm.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/bb8798240b73
branches: trunk
changeset: 421349:bb8798240b73
user: pho <pho%pkgsrc.org@localhost>
date: Wed Jan 15 06:29:58 2020 +0000
description:
Import cmark-gfm-0.29.0.gfm.0
cmark-gfm is an extended version of the C reference implementation of
CommonMark, a rationalized version of Markdown syntax with a spec.
This package adds GitHub Flavored Markdown extensions to the upstream
implementation (https://github.com/jgm/cmark), as defined in the spec
(https://github.github.com/gfm/).
diffstat:
textproc/cmark-gfm/DESCR | 5 +++++
textproc/cmark-gfm/Makefile | 23 +++++++++++++++++++++++
textproc/cmark-gfm/PLIST | 21 +++++++++++++++++++++
textproc/cmark-gfm/buildlink3.mk | 12 ++++++++++++
textproc/cmark-gfm/distinfo | 7 +++++++
textproc/cmark-gfm/patches/patch-CMakeLists.txt | 17 +++++++++++++++++
6 files changed, 85 insertions(+), 0 deletions(-)
diffs (109 lines):
diff -r b859d79af813 -r bb8798240b73 textproc/cmark-gfm/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark-gfm/DESCR Wed Jan 15 06:29:58 2020 +0000
@@ -0,0 +1,5 @@
+cmark-gfm is an extended version of the C reference implementation of
+CommonMark, a rationalized version of Markdown syntax with a spec.
+This package adds GitHub Flavored Markdown extensions to the upstream
+implementation (https://github.com/jgm/cmark), as defined in the spec
+(https://github.github.com/gfm/).
diff -r b859d79af813 -r bb8798240b73 textproc/cmark-gfm/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark-gfm/Makefile Wed Jan 15 06:29:58 2020 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/01/15 06:29:58 pho Exp $
+
+GITHUB_PROJECT= cmark-gfm
+GITHUB_TAG= ${DISTNAME}
+DISTNAME= 0.29.0.gfm.0
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=github/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/github/cmark-gfm/
+COMMENT= GitHub fork of cmark
+LICENSE= 2-clause-bsd
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= src/libcmark-gfm.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r b859d79af813 -r bb8798240b73 textproc/cmark-gfm/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark-gfm/PLIST Wed Jan 15 06:29:58 2020 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/15 06:29:58 pho Exp $
+bin/cmark-gfm
+include/cmark-gfm-core-extensions.h
+include/cmark-gfm-extension_api.h
+include/cmark-gfm-extensions_export.h
+include/cmark-gfm.h
+include/cmark-gfm_export.h
+include/cmark-gfm_version.h
+lib/cmake-gfm-extensions/cmark-gfm-extensions-release.cmake
+lib/cmake-gfm-extensions/cmark-gfm-extensions.cmake
+lib/cmake/cmark-gfm-release.cmake
+lib/cmake/cmark-gfm.cmake
+lib/libcmark-gfm-extensions.a
+lib/libcmark-gfm-extensions.so
+lib/libcmark-gfm-extensions.so.${PKGVERSION}
+lib/libcmark-gfm.a
+lib/libcmark-gfm.so
+lib/libcmark-gfm.so.${PKGVERSION}
+lib/pkgconfig/libcmark-gfm.pc
+man/man1/cmark-gfm.1
+man/man3/cmark-gfm.3
diff -r b859d79af813 -r bb8798240b73 textproc/cmark-gfm/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark-gfm/buildlink3.mk Wed Jan 15 06:29:58 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 06:29:58 pho Exp $
+
+BUILDLINK_TREE+= cmark-gfm
+
+.if !defined(CMARK_GFM_BUILDLINK3_MK)
+CMARK_GFM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cmark-gfm+= cmark-gfm>=0.29.0.gfm.0
+BUILDLINK_PKGSRCDIR.cmark-gfm?= ../../textproc/cmark-gfm
+.endif # CMARK_GFM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -cmark-gfm
diff -r b859d79af813 -r bb8798240b73 textproc/cmark-gfm/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark-gfm/distinfo Wed Jan 15 06:29:58 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/15 06:29:58 pho Exp $
+
+SHA1 (cmark-gfm/0.29.0.gfm.0.tar.gz) = 14a9ef15251da8ec3401770f8a56b38970aed6c9
+RMD160 (cmark-gfm/0.29.0.gfm.0.tar.gz) = ca4f87f2ad06230070a69e7d8892d371801bbd60
+SHA512 (cmark-gfm/0.29.0.gfm.0.tar.gz) = 54e396e035a43e4d0c86fa7f1c48a6a1283c0caaabdbc56dfcecee92e89e69f6d2e016ae2d9cf4f40258a6455fba7b813c1c6e6d37e53d33a381088ccbc5673e
+Size (cmark-gfm/0.29.0.gfm.0.tar.gz) = 284071 bytes
+SHA1 (patch-CMakeLists.txt) = 902d8299234ec0bf2a7a15aaa79cdbbfc49e148f
diff -r b859d79af813 -r bb8798240b73 textproc/cmark-gfm/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark-gfm/patches/patch-CMakeLists.txt Wed Jan 15 06:29:58 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/01/15 06:29:59 pho Exp $
+
+Allow in-source building.
+
+--- CMakeLists.txt.orig 2019-04-08 06:15:49.000000000 +0000
++++ CMakeLists.txt
+@@ -10,10 +10,6 @@ set(PROJECT_VERSION ${PROJECT_VERSION_MA
+ include("FindAsan.cmake")
+ include("CheckFileOffsetBits.cmake")
+
+-if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
+- message(FATAL_ERROR "Do not build in-source.\nPlease remove CMakeCache.txt and the CMakeFiles/ directory.\nThen: mkdir build ; cd build ; cmake .. ; make")
+-endif()
+-
+ option(CMARK_TESTS "Build cmark-gfm tests and enable testing" ON)
+ option(CMARK_STATIC "Build static libcmark-gfm library" ON)
+ option(CMARK_SHARED "Build shared libcmark-gfm library" ON)
Home |
Main Index |
Thread Index |
Old Index