pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/cmark-gfm



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Jan 15 06:29:59 UTC 2020

Added Files:
        pkgsrc/textproc/cmark-gfm: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/textproc/cmark-gfm/patches: patch-CMakeLists.txt

Log Message:
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/).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/cmark-gfm/DESCR \
    pkgsrc/textproc/cmark-gfm/Makefile pkgsrc/textproc/cmark-gfm/PLIST \
    pkgsrc/textproc/cmark-gfm/buildlink3.mk \
    pkgsrc/textproc/cmark-gfm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/cmark-gfm/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/cmark-gfm/DESCR
diff -u /dev/null pkgsrc/textproc/cmark-gfm/DESCR:1.1
--- /dev/null   Wed Jan 15 06:29:59 2020
+++ pkgsrc/textproc/cmark-gfm/DESCR     Wed Jan 15 06:29:58 2020
@@ -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/).
Index: pkgsrc/textproc/cmark-gfm/Makefile
diff -u /dev/null pkgsrc/textproc/cmark-gfm/Makefile:1.1
--- /dev/null   Wed Jan 15 06:29:59 2020
+++ pkgsrc/textproc/cmark-gfm/Makefile  Wed Jan 15 06:29:58 2020
@@ -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"
Index: pkgsrc/textproc/cmark-gfm/PLIST
diff -u /dev/null pkgsrc/textproc/cmark-gfm/PLIST:1.1
--- /dev/null   Wed Jan 15 06:29:59 2020
+++ pkgsrc/textproc/cmark-gfm/PLIST     Wed Jan 15 06:29:58 2020
@@ -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
Index: pkgsrc/textproc/cmark-gfm/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/cmark-gfm/buildlink3.mk:1.1
--- /dev/null   Wed Jan 15 06:29:59 2020
+++ pkgsrc/textproc/cmark-gfm/buildlink3.mk     Wed Jan 15 06:29:58 2020
@@ -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
Index: pkgsrc/textproc/cmark-gfm/distinfo
diff -u /dev/null pkgsrc/textproc/cmark-gfm/distinfo:1.1
--- /dev/null   Wed Jan 15 06:29:59 2020
+++ pkgsrc/textproc/cmark-gfm/distinfo  Wed Jan 15 06:29:58 2020
@@ -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

Index: pkgsrc/textproc/cmark-gfm/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/textproc/cmark-gfm/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Wed Jan 15 06:29:59 2020
+++ pkgsrc/textproc/cmark-gfm/patches/patch-CMakeLists.txt      Wed Jan 15 06:29:59 2020
@@ -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