summaryrefslogtreecommitdiff
path: root/misc/sloccount
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-13 14:34:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-13 14:34:56 +0000
commit929ee2654e22d9947eaf825413db6955c80428d5 (patch)
treec5a1118f39f4e3463f66648827992c7c7cdaea87 /misc/sloccount
parentRemove two unnecessary messages in gnats-pr-edit. Bump PORTREVISION. (diff)
ugprade to 2.11
take maintainership PR: 35854 Submitted by: Thomas Hurst <freaky@aagh.net> (new maintainer)
Diffstat (limited to 'misc/sloccount')
-rw-r--r--misc/sloccount/Makefile4
-rw-r--r--misc/sloccount/distinfo2
-rw-r--r--misc/sloccount/files/patch-makefile18
-rw-r--r--misc/sloccount/pkg-comment2
-rw-r--r--misc/sloccount/pkg-plist1
5 files changed, 18 insertions, 9 deletions
diff --git a/misc/sloccount/Makefile b/misc/sloccount/Makefile
index 8ff9efdb6e9a..1c2c880b349f 100644
--- a/misc/sloccount/Makefile
+++ b/misc/sloccount/Makefile
@@ -7,11 +7,11 @@
#
PORTNAME= sloccount
-PORTVERSION= 2.10
+PORTVERSION= 2.11
CATEGORIES= misc
MASTER_SITES= http://www.dwheeler.com/sloccount/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= freaky@aagh.net
MAKEFILE= makefile
INSTALL_TARGET= install_programs install_man
diff --git a/misc/sloccount/distinfo b/misc/sloccount/distinfo
index 1c149d765143..aed8db9f56e2 100644
--- a/misc/sloccount/distinfo
+++ b/misc/sloccount/distinfo
@@ -1 +1 @@
-MD5 (sloccount-2.10.tar.gz) = 1326a0a013fd36497cb44870627963ad
+MD5 (sloccount-2.11.tar.gz) = e136ebadc20008c7f4dca120d14013d6
diff --git a/misc/sloccount/files/patch-makefile b/misc/sloccount/files/patch-makefile
index 947d51ddb2ef..778f17ef4a47 100644
--- a/misc/sloccount/files/patch-makefile
+++ b/misc/sloccount/files/patch-makefile
@@ -1,5 +1,5 @@
---- makefile.orig Wed Feb 27 17:58:44 2002
-+++ makefile Thu Feb 28 14:45:44 2002
+--- makefile.orig Thu Feb 28 12:44:12 2002
++++ makefile Wed Mar 13 11:50:31 2002
@@ -10,14 +10,12 @@
# Set this for where to store the man pages and executables.
# If you want to store this as part of an official distribution,
@@ -24,7 +24,7 @@
MAN_DIR_MAN1=$(MAN_DIR)/man1
DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
POSTED_DIR=/home/dwheeler/dwheeler.com/sloccount
-@@ -85,7 +83,7 @@
+@@ -86,7 +84,7 @@
sql_count \
tcl_count
@@ -33,7 +33,7 @@
MYDOCS=sloccount.html README TODO ChangeLog
-@@ -93,13 +91,13 @@
+@@ -94,13 +92,13 @@
all: lexcount1$(EXE_SUFFIX) c_count$(EXE_SUFFIX) java_count$(EXE_SUFFIX) php_count$(EXE_SUFFIX)
lexcount1$(EXE_SUFFIX): lexcount1.c
@@ -50,7 +50,7 @@
sloccount.1.gz: sloccount.1
gzip -c sloccount.1 > sloccount.1.gz
-@@ -110,18 +108,17 @@
+@@ -111,25 +109,23 @@
# This is USC's code counter, not built by default:
c_lines: C_LINES.C
@@ -72,3 +72,11 @@
uninstall_man:
cd $(MAN_DIR_MAN1) && rm -f $(MANPAGES)
+
+ install_docs: install_man
+- $(INSTALL_A_DIR) $(DOC_DIR)
+- $(INSTALL) $(MYDOCS) $(DOC_DIR)
++ ${BSD_INSTALL_DATA} $(MYDOCS) $(DOC_DIR)
+
+ uninstall_docs:
+ cd $(DOC_DIR) && rm -f $(MYDOCS) && rmdir $(DOC_DIR)
diff --git a/misc/sloccount/pkg-comment b/misc/sloccount/pkg-comment
index 0b60a0e6bf47..6dd1aa892f1e 100644
--- a/misc/sloccount/pkg-comment
+++ b/misc/sloccount/pkg-comment
@@ -1 +1 @@
-Counting physical Source Lines of Code (SLOC)
+Counts physical Source Lines of Code (SLOC)
diff --git a/misc/sloccount/pkg-plist b/misc/sloccount/pkg-plist
index bcd5739c34de..7e6c0b4a9cca 100644
--- a/misc/sloccount/pkg-plist
+++ b/misc/sloccount/pkg-plist
@@ -14,6 +14,7 @@ bin/fortran_count
bin/generic_count
bin/get_sloc
bin/get_sloc_details
+bin/haskell_count
bin/java_count
bin/lex_count
bin/lexcount1