Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 12:45:49 +0000
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35854: Update port: misc/sloccount to 2.11, take maintainership
Message-ID:  <E16l88b-0009kG-00@voi.aagh.net>

next in thread | raw e-mail | index | archive | help

>Number:         35854
>Category:       ports
>Synopsis:       Update port: misc/sloccount to 2.11, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 04:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
None
>Environment:
System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386


	
>Description:
	Upgrade to version 2.11, which adds support for C# and Haskell.

	Fix shared files install stuff to use ${BSD_INSTALL_DATA} rather
	than just ${INSTALL}.

	Tweak pkg-comment.

	Take maintainership from ports@freebsd if nobody minds, since this
	is the third time I've upgraded it.

>How-To-Repeat:
	
>Fix:

diff -ru sloccount.orig/Makefile sloccount/Makefile
--- sloccount.orig/Makefile	Fri Mar  1 15:50:00 2002
+++ sloccount/Makefile	Wed Mar 13 12:07:51 2002
@@ -3,15 +3,15 @@
 # Date created:			May 21, 2001
 # Whom:				ijliao
 #
-# $FreeBSD: ports/misc/sloccount/Makefile,v 1.4 2002/02/28 22:03:39 pat Exp $
+# $FreeBSD: ports/misc/sloccount/Makefile,v 1.3 2002/01/19 14:43:52 ijliao Exp $
 #
 
 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 -ru sloccount.orig/distinfo sloccount/distinfo
--- sloccount.orig/distinfo	Fri Mar  1 15:50:00 2002
+++ sloccount/distinfo	Wed Mar 13 12:07:51 2002
@@ -1 +1 @@
-MD5 (sloccount-2.10.tar.gz) = 1326a0a013fd36497cb44870627963ad
+MD5 (sloccount-2.11.tar.gz) = e136ebadc20008c7f4dca120d14013d6
diff -ru sloccount.orig/files/patch-makefile sloccount/files/patch-makefile
--- sloccount.orig/files/patch-makefile	Fri Mar  1 15:50:00 2002
+++ sloccount/files/patch-makefile	Wed Mar 13 12:07:51 2002
@@ -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 -ru sloccount.orig/pkg-comment sloccount/pkg-comment
--- sloccount.orig/pkg-comment	Sun May 20 14:16:01 2001
+++ sloccount/pkg-comment	Wed Mar 13 12:07:51 2002
@@ -1 +1 @@
-Counting physical Source Lines of Code (SLOC)
+Counts physical Source Lines of Code (SLOC)
diff -ru sloccount.orig/pkg-plist sloccount/pkg-plist
--- sloccount.orig/pkg-plist	Fri Mar  1 15:50:00 2002
+++ sloccount/pkg-plist	Wed Mar 13 12:07:51 2002
@@ -14,6 +14,7 @@
 bin/generic_count
 bin/get_sloc
 bin/get_sloc_details
+bin/haskell_count
 bin/java_count
 bin/lex_count
 bin/lexcount1
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16l88b-0009kG-00>