pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cloc
Module Name: pkgsrc
Committed By: markd
Date: Sun Apr 23 03:29:00 UTC 2017
Added Files:
pkgsrc/devel/cloc: DESCR Makefile PLIST distinfo
pkgsrc/devel/cloc/patches: patch-Unix_Makefile
Log Message:
Add cloc 1.72
cloc counts blank lines, comment lines, and physical lines of source
code in many programming languages, with the following features:
* Reads user-supplied language comment definition files
* Allows results from multiple runs to be summed together by
language and by project.
* Produces results in a variety of formats: plain text, XML, YAML,
CSV.
* Counts code within compressed archives (tarballs, Zip files, Java
.ear files).
* Has numerous troubleshooting options.
* Handles file and directory names with spaces and other unusual
characters.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cloc/DESCR pkgsrc/devel/cloc/Makefile \
pkgsrc/devel/cloc/PLIST pkgsrc/devel/cloc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cloc/patches/patch-Unix_Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/cloc/DESCR
diff -u /dev/null pkgsrc/devel/cloc/DESCR:1.1
--- /dev/null Sun Apr 23 03:29:00 2017
+++ pkgsrc/devel/cloc/DESCR Sun Apr 23 03:29:00 2017
@@ -0,0 +1,13 @@
+cloc counts blank lines, comment lines, and physical lines of source
+code in many programming languages, with the following features:
+
+ * Reads user-supplied language comment definition files
+ * Allows results from multiple runs to be summed together by
+ language and by project.
+ * Produces results in a variety of formats: plain text, XML, YAML,
+ CSV.
+ * Counts code within compressed archives (tarballs, Zip files, Java
+ .ear files).
+ * Has numerous troubleshooting options.
+ * Handles file and directory names with spaces and other unusual
+ characters.
Index: pkgsrc/devel/cloc/Makefile
diff -u /dev/null pkgsrc/devel/cloc/Makefile:1.1
--- /dev/null Sun Apr 23 03:29:00 2017
+++ pkgsrc/devel/cloc/Makefile Sun Apr 23 03:29:00 2017
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/04/23 03:29:00 markd Exp $
+
+DISTNAME= cloc-1.72
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=AlDanial/}
+GITHUB_PROJECT= cloc
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/AlDanial/cloc
+COMMENT= Count lines of code
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+USE_TOOLS+= perl:run gmake
+
+DEPENDS+= p5-Algorithm-Diff-[0-9]*:../../devel/p5-Algorithm-Diff
+DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
+
+REPLACE_PERL+= Unix/cloc
+
+NO_BUILD= yes
+BUILD_DIRS= Unix
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/cloc/PLIST
diff -u /dev/null pkgsrc/devel/cloc/PLIST:1.1
--- /dev/null Sun Apr 23 03:29:00 2017
+++ pkgsrc/devel/cloc/PLIST Sun Apr 23 03:29:00 2017
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/23 03:29:00 markd Exp $
+bin/cloc
+man/man1/cloc.1
Index: pkgsrc/devel/cloc/distinfo
diff -u /dev/null pkgsrc/devel/cloc/distinfo:1.1
--- /dev/null Sun Apr 23 03:29:00 2017
+++ pkgsrc/devel/cloc/distinfo Sun Apr 23 03:29:00 2017
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/04/23 03:29:00 markd Exp $
+
+SHA1 (cloc-1.72.tar.gz) = 6fab8f9e2e2402b25b5b1b3527e02390ba0be1e8
+RMD160 (cloc-1.72.tar.gz) = 7e5963661d2fb792fff34d3dfa9b0464f124363f
+SHA512 (cloc-1.72.tar.gz) = e83567fcc2703b6de761c44d3b85e4c176eaff9f35419a202bd4c00b5cc9160d39251deb762d57b40aacf4fe6322cf79877032ed29abec2a5f00c1abb8d44021
+Size (cloc-1.72.tar.gz) = 347245 bytes
+SHA1 (patch-Unix_Makefile) = 776ef2d40c5c4877259a7adcbd60cd15fe6ab5b6
Index: pkgsrc/devel/cloc/patches/patch-Unix_Makefile
diff -u /dev/null pkgsrc/devel/cloc/patches/patch-Unix_Makefile:1.1
--- /dev/null Sun Apr 23 03:29:00 2017
+++ pkgsrc/devel/cloc/patches/patch-Unix_Makefile Sun Apr 23 03:29:00 2017
@@ -0,0 +1,17 @@
+$NetBSD: patch-Unix_Makefile,v 1.1 2017/04/23 03:29:00 markd Exp $
+
+--- Unix/Makefile.orig 2017-01-14 23:25:40.000000000 +0000
++++ Unix/Makefile
+@@ -26,10 +26,10 @@ endif
+ PACKAGE = cloc
+
+ DESTDIR =
+-prefix = /usr
++prefix = $(PREFIX)
+ exec_prefix = $(prefix)
+ man_prefix = $(prefix)/share
+-mandir = $(man_prefix)/man
++mandir = $(prefix)/$(PKGMANDIR)
+ bindir = $(exec_prefix)/bin
+ sharedir = $(prefix)/share
+
Home |
Main Index |
Thread Index |
Old Index