aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-02-15 11:13:34 +0800
committerbeech <beech@FreeBSD.org>2008-02-15 11:13:34 +0800
commit62ad01f54cc52140647a0e6e45bbe0cef6188946 (patch)
tree6b772e0307ba812aec6462536f5cd78cd66a6459 /sysutils
parent87ad12f4e0853c66cbc9931bd155b4ed3fd6f07a (diff)
downloadfreebsd-ports-gnome-62ad01f54cc52140647a0e6e45bbe0cef6188946.tar.gz
freebsd-ports-gnome-62ad01f54cc52140647a0e6e45bbe0cef6188946.tar.zst
freebsd-ports-gnome-62ad01f54cc52140647a0e6e45bbe0cef6188946.zip
Usage: decomment infile [r(emove whitespace)]
Removes all comments and (optionally) whitespace from an input file. Writes result on stdout. PR: ports/67307 Submitted by: Volker Werth <volker@vwsoft.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/decomment/Makefile19
-rw-r--r--sysutils/decomment/distinfo3
-rw-r--r--sysutils/decomment/pkg-descr4
4 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 3824fe1e4473..41c14feb9234 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -123,6 +123,7 @@
SUBDIR += dcfldd
SUBDIR += dd_rescue
SUBDIR += ddrescue
+ SUBDIR += decomment
SUBDIR += deleted
SUBDIR += deltup
SUBDIR += desktopbsd-tools
diff --git a/sysutils/decomment/Makefile b/sysutils/decomment/Makefile
new file mode 100644
index 000000000000..2358a21f6dc6
--- /dev/null
+++ b/sysutils/decomment/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: decomment
+# Date created: 14 Feb 2008
+# Whom: Beech Rintoul <beech@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= decomment
+PORTVERSION= 0.1.0
+CATEGORIES= sysutils
+MASTER_SITES= LOCAL/beech \
+ http://www.alaskaparadise.com/freebsd/
+
+MAINTAINER= volker@vwsoft.com
+COMMENT= Removes comments and (optionally) whitespace from a file.
+
+PLIST_FILES= bin/decomment
+
+.include <bsd.port.mk>
diff --git a/sysutils/decomment/distinfo b/sysutils/decomment/distinfo
new file mode 100644
index 000000000000..e1ae6b95838e
--- /dev/null
+++ b/sysutils/decomment/distinfo
@@ -0,0 +1,3 @@
+MD5 (decomment-0.1.0.tar.gz) = 012d520199791b502d5dd8a633c53a86
+SHA256 (decomment-0.1.0.tar.gz) = a8b4ba812c9436d236789df39a887fb466dd29574e14839a07a5629b8d09651e
+SIZE (decomment-0.1.0.tar.gz) = 2281
diff --git a/sysutils/decomment/pkg-descr b/sysutils/decomment/pkg-descr
new file mode 100644
index 000000000000..9791072dc7ff
--- /dev/null
+++ b/sysutils/decomment/pkg-descr
@@ -0,0 +1,4 @@
+Usage: decomment infile [r(emove whitespace)]
+
+Removes all comments and (optionally) whitespace from an input file.
+Writes result on stdout.