diff --git a/textproc/cloc/Makefile b/textproc/cloc/Makefile new file mode 100644 index 00000000000..f4b6df4ee30 --- /dev/null +++ b/textproc/cloc/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/07/11 13:26:13 zinke Exp $ + +COMMENT= count lines of code + +VERSION= 1.56 +DISTNAME= cloc-${VERSION} +DIST_SUBDIR= cloc + +CATEGORIES= textproc devel + +HOMEPAGE= http://cloc.sourceforge.net/ + +MAINTAINER= Joerg Zinke + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cloc/} +DISTFILES= ${DISTNAME}.pl +EXTRACT_ONLY= + +NO_BUILD= Yes +NO_REGRESS= Yes +PKG_ARCH= * + +do-install: + ${INSTALL_SCRIPT} ${FULLDISTDIR}/${DISTFILES} ${PREFIX}/bin/cloc + +.include diff --git a/textproc/cloc/distinfo b/textproc/cloc/distinfo new file mode 100644 index 00000000000..f1a95d9388c --- /dev/null +++ b/textproc/cloc/distinfo @@ -0,0 +1,5 @@ +MD5 (cloc/cloc-1.56.pl) = JzkSfOU5j6YntQ5U6j3Ltg== +RMD160 (cloc/cloc-1.56.pl) = 9dlpu0z82dKAamN0H4q82rytJ5U= +SHA1 (cloc/cloc-1.56.pl) = I46ibsz8V0wnqpDuF3QfNjlZvj8= +SHA256 (cloc/cloc-1.56.pl) = 9SWQbe8SGV3x7WGmqgWExAGxBQnHdwkAsxAmyRhorNI= +SIZE (cloc/cloc-1.56.pl) = 320786 diff --git a/textproc/cloc/pkg/DESCR b/textproc/cloc/pkg/DESCR new file mode 100644 index 00000000000..863ca40196d --- /dev/null +++ b/textproc/cloc/pkg/DESCR @@ -0,0 +1,3 @@ +cloc counts blank lines, comment lines, and physical lines of source +code in many programming languages. Given two versions of a code base, +cloc can compute differences in blank, comment, and source lines. diff --git a/textproc/cloc/pkg/PLIST b/textproc/cloc/pkg/PLIST new file mode 100644 index 00000000000..0d37d19a12c --- /dev/null +++ b/textproc/cloc/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/07/11 13:26:13 zinke Exp $ +bin/cloc