pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/editorconfig-core /tmp/DESCR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8263ca3cc8d0
branches:  trunk
changeset: 362891:8263ca3cc8d0
user:      nros <nros%pkgsrc.org@localhost>
date:      Sun May 28 19:43:46 2017 +0000

description:
/tmp/DESCR

diffstat:

 devel/editorconfig-core/DESCR                            |   7 +
 devel/editorconfig-core/Makefile                         |  17 +++
 devel/editorconfig-core/PLIST                            |  82 ++++++++++++++++
 devel/editorconfig-core/buildlink3.mk                    |  12 ++
 devel/editorconfig-core/distinfo                         |   7 +
 devel/editorconfig-core/options.mk                       |  19 +++
 devel/editorconfig-core/patches/patch-doc_CMakeLists.txt |  27 +++++
 7 files changed, 171 insertions(+), 0 deletions(-)

diffs (199 lines):

diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/DESCR     Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,7 @@
+Editorconfig C library command line client. This library is used by
+editorconfig plugins that are written in C and those that use the
+command line interface to editorconfig. Editorconfig reads .editorconfig
+files that define a coding style for a project. This allows the coding
+style to be set by the project instead of the developer. Then the
+developer does not have to change style between each project, the editor
+knows the coding style of a file that belongs to a certain project.
diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/Makefile  Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/05/28 19:43:46 nros Exp $
+
+DISTNAME=      editorconfig-core-c-0.12.1
+PKGNAME=       ${DISTNAME:S/c-//}
+CATEGORIES=    devel
+MASTER_SITES=  http://downloads.sf.net/project/editorconfig/EditorConfig-C-Core/${PKGVERSION}/source/
+
+MAINTAINER=    nros%NetBSD.org@localhost
+HOMEPAGE=      http://www.editorconfig.org/
+COMMENT=       Editorconfig C library
+LICENSE=       2-clause-bsd
+
+USE_CMAKE=     yes
+
+.include "options.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/PLIST     Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,82 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/28 19:43:46 nros Exp $
+bin/editorconfig
+bin/editorconfig-${PKGVERSION}
+include/editorconfig/editorconfig.h
+include/editorconfig/editorconfig_handle.h
+lib/libeditorconfig.so
+lib/libeditorconfig.so.0
+lib/libeditorconfig.so.${PKGVERSION}
+lib/libeditorconfig_static.a
+${PLIST.doc}man/man1/editorconfig.1
+${PLIST.doc}man/man3/editorconfig.h.3
+${PLIST.doc}man/man3/editorconfig_handle.h.3
+${PLIST.doc}man/man5/editorconfig-format.5
+${PLIST.doc}share/doc/editorconfig/html/arrowdown.png
+${PLIST.doc}share/doc/editorconfig/html/arrowright.png
+${PLIST.doc}share/doc/editorconfig/html/bc_s.png
+${PLIST.doc}share/doc/editorconfig/html/bdwn.png
+${PLIST.doc}share/doc/editorconfig/html/closed.png
+${PLIST.doc}share/doc/editorconfig/html/dir_000000.html
+${PLIST.doc}share/doc/editorconfig/html/dir_000001.html
+${PLIST.doc}share/doc/editorconfig/html/doc.png
+${PLIST.doc}share/doc/editorconfig/html/doxygen.css
+${PLIST.doc}share/doc/editorconfig/html/doxygen.png
+${PLIST.doc}share/doc/editorconfig/html/dynsections.js
+${PLIST.doc}share/doc/editorconfig/html/editorconfig-format.html
+${PLIST.doc}share/doc/editorconfig/html/editorconfig.html
+${PLIST.doc}share/doc/editorconfig/html/editorconfig_8h.html
+${PLIST.doc}share/doc/editorconfig/html/editorconfig_8h.js
+${PLIST.doc}share/doc/editorconfig/html/editorconfig_8h_source.html
+${PLIST.doc}share/doc/editorconfig/html/editorconfig__handle_8h.html
+${PLIST.doc}share/doc/editorconfig/html/editorconfig__handle_8h.js
+${PLIST.doc}share/doc/editorconfig/html/editorconfig__handle_8h_source.html
+${PLIST.doc}share/doc/editorconfig/html/files.html
+${PLIST.doc}share/doc/editorconfig/html/files.js
+${PLIST.doc}share/doc/editorconfig/html/folderclosed.png
+${PLIST.doc}share/doc/editorconfig/html/folderopen.png
+${PLIST.doc}share/doc/editorconfig/html/globals.html
+${PLIST.doc}share/doc/editorconfig/html/globals_defs.html
+${PLIST.doc}share/doc/editorconfig/html/globals_func.html
+${PLIST.doc}share/doc/editorconfig/html/globals_type.html
+${PLIST.doc}share/doc/editorconfig/html/index.html
+${PLIST.doc}share/doc/editorconfig/html/jquery.js
+${PLIST.doc}share/doc/editorconfig/html/logo.png
+${PLIST.doc}share/doc/editorconfig/html/nav_f.png
+${PLIST.doc}share/doc/editorconfig/html/nav_g.png
+${PLIST.doc}share/doc/editorconfig/html/nav_h.png
+${PLIST.doc}share/doc/editorconfig/html/navtree.css
+${PLIST.doc}share/doc/editorconfig/html/navtree.js
+${PLIST.doc}share/doc/editorconfig/html/navtreedata.js
+${PLIST.doc}share/doc/editorconfig/html/navtreeindex0.js
+${PLIST.doc}share/doc/editorconfig/html/open.png
+${PLIST.doc}share/doc/editorconfig/html/pages.html
+${PLIST.doc}share/doc/editorconfig/html/resize.js
+${PLIST.doc}share/doc/editorconfig/html/search/all_0.html
+${PLIST.doc}share/doc/editorconfig/html/search/all_0.js
+${PLIST.doc}share/doc/editorconfig/html/search/close.png
+${PLIST.doc}share/doc/editorconfig/html/search/defines_0.html
+${PLIST.doc}share/doc/editorconfig/html/search/defines_0.js
+${PLIST.doc}share/doc/editorconfig/html/search/files_0.html
+${PLIST.doc}share/doc/editorconfig/html/search/files_0.js
+${PLIST.doc}share/doc/editorconfig/html/search/functions_0.html
+${PLIST.doc}share/doc/editorconfig/html/search/functions_0.js
+${PLIST.doc}share/doc/editorconfig/html/search/mag_sel.png
+${PLIST.doc}share/doc/editorconfig/html/search/nomatches.html
+${PLIST.doc}share/doc/editorconfig/html/search/pages_0.html
+${PLIST.doc}share/doc/editorconfig/html/search/pages_0.js
+${PLIST.doc}share/doc/editorconfig/html/search/search.css
+${PLIST.doc}share/doc/editorconfig/html/search/search.js
+${PLIST.doc}share/doc/editorconfig/html/search/search_l.png
+${PLIST.doc}share/doc/editorconfig/html/search/search_m.png
+${PLIST.doc}share/doc/editorconfig/html/search/search_r.png
+${PLIST.doc}share/doc/editorconfig/html/search/searchdata.js
+${PLIST.doc}share/doc/editorconfig/html/search/typedefs_0.html
+${PLIST.doc}share/doc/editorconfig/html/search/typedefs_0.js
+${PLIST.doc}share/doc/editorconfig/html/splitbar.png
+${PLIST.doc}share/doc/editorconfig/html/sync_off.png
+${PLIST.doc}share/doc/editorconfig/html/sync_on.png
+${PLIST.doc}share/doc/editorconfig/html/tab_a.png
+${PLIST.doc}share/doc/editorconfig/html/tab_b.png
+${PLIST.doc}share/doc/editorconfig/html/tab_h.png
+${PLIST.doc}share/doc/editorconfig/html/tab_s.png
+${PLIST.doc}share/doc/editorconfig/html/tabs.css
diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/buildlink3.mk     Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/05/28 19:43:46 nros Exp $
+
+BUILDLINK_TREE+=       editorconfig-core
+
+.if !defined(EDITORCONFIG_CORE_BUILDLINK3_MK)
+EDITORCONFIG_CORE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.editorconfig-core+=      editorconfig-core>=0.12.1
+BUILDLINK_PKGSRCDIR.editorconfig-core?=        ../../devel/editorconfig-core
+.endif # EDITORCONFIG_CORE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -editorconfig-core
diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/distinfo  Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/05/28 19:43:46 nros Exp $
+
+SHA1 (editorconfig-core-c-0.12.1.tar.gz) = d0a38c8b1e3f959f3b649f3521235d22bdba452c
+RMD160 (editorconfig-core-c-0.12.1.tar.gz) = ae5b9c56ed5d4016874d47131d1f431e7133a737
+SHA512 (editorconfig-core-c-0.12.1.tar.gz) = 7f0677da4288f7346e3072e4ded5c67fade01b33fac134a4456ad3d8de55d6f537cbf1a8f4a1eb9408a8e05a110ecfe606ac74679f4960138ae1285333c69d02
+Size (editorconfig-core-c-0.12.1.tar.gz) = 70468 bytes
+SHA1 (patch-doc_CMakeLists.txt) = 2de65470b9028652fc438b009bb181c2f474a03f
diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/options.mk        Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2017/05/28 19:43:46 nros Exp $
+PKG_OPTIONS_VAR=       PKG_OPTIONS.editorconfig-core
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS=
+PLIST_VARS+=           doc
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Build and install html documentation and man pages
+###
+.if !empty(PKG_OPTIONS:Mdoc)
+BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+CMAKE_ARGS+=   -DBUILD_DOCUMENTATION=ON
+CMAKE_ARGS+=    -DINSTALL_HTML_DOC=ON
+PLIST.doc=     yes
+.else
+CMAKE_ARGS+=   -DBUILD_DOCUMENTATION=OFF
+.endif
diff -r 9c79629fb951 -r 8263ca3cc8d0 devel/editorconfig-core/patches/patch-doc_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/editorconfig-core/patches/patch-doc_CMakeLists.txt  Sun May 28 19:43:46 2017 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-doc_CMakeLists.txt,v 1.1 2017/05/28 19:43:46 nros Exp $
+*
+* This patch makes sure the man pages are installed in PKGMANDIR
+*
+--- doc/CMakeLists.txt.orig    2015-09-14 17:36:42.000000000 +0000
++++ doc/CMakeLists.txt
+@@ -107,17 +107,17 @@ if(BUILD_DOCUMENTATION)
+         # we need to exclude it when installing man3. Same for
+         # editorconfig-format.3
+         install(DIRECTORY ${EC_MANPAGE3_DIR}
+-            DESTINATION share/man
++            DESTINATION ${CMAKE_INSTALL_MANDIR}
+             PATTERN editorconfig.3 EXCLUDE
+             PATTERN editorconfig-format.3 EXCLUDE
+             REGEX ._include_. EXCLUDE)
+ 
+         install(FILES
+             ${EC_MANPAGE1_DIR}/editorconfig.1
+-            DESTINATION share/man/man1)
++            DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+         install(FILES
+             ${EC_MANPAGE5_DIR}/editorconfig-format.5
+-            DESTINATION share/man/man5)
++            DESTINATION ${CMAKE_INSTALL_MANDIR}/man5)
+ 
+         # "make clean" should also clean generated docs
+         set_directory_properties(PROPERTIES



Home | Main Index | Thread Index | Old Index