From anarcat@anarcat.ath.cx  Mon Apr 21 21:01:23 2003
Return-Path: <anarcat@anarcat.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A906437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Apr 2003 21:01:23 -0700 (PDT)
Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 663DA43FDF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Apr 2003 21:01:20 -0700 (PDT)
	(envelope-from anarcat@anarcat.ath.cx)
Received: from shall.anarcat.ath.cx (lg4wuuwy0fh8zu82@dsl-133-253.aei.ca [66.36.133.253])
	by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id h3M41IY11487
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Apr 2003 00:01:18 -0400 (EDT)
Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4])
	by shall.anarcat.ath.cx (Postfix) with SMTP
	id 5C968243; Tue, 22 Apr 2003 00:01:17 -0400 (EDT)
Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Tue, 22 Apr 2003 00:01:29 -0400
Message-Id: <20030422040117.5C968243@shall.anarcat.ath.cx>
Date: Tue, 22 Apr 2003 00:01:29 -0400
From: The Anarcat <anarcat@anarcat.ath.cx>
Reply-To: The Anarcat <anarcat@anarcat.ath.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: mail/mls
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         51264
>Category:       ports
>Synopsis:       new port: mail/mls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 21 21:10:13 PDT 2003
>Closed-Date:    Wed Oct 08 04:26:12 PDT 2003
>Last-Modified:  Wed Oct 08 04:26:12 PDT 2003
>Originator:     The Anarcat
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD lenny.anarcat.ath.cx 5.0-RELEASE FreeBSD 5.0-RELEASE #3: Mon Mar 24 15:39:05 EST 2003 anarcat@lenny.anarcat.ath.cx:/usr/src/sys/i386/compile/LENNII i386

>Description:

I thought this was already in the ports collection, but I couldn't
find it anywhere... 

mls is that basic mbox number-crunching software to extract juicy
stats about those packs of emails you have gathered from mailing
lists..

>How-To-Repeat:

n/a

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mls
#	mls/files
#	mls/files/patch-Makefile
#	mls/pkg-descr
#	mls/Makefile
#	mls/distinfo
#	mls/pkg-plist
#
echo c - mls
mkdir -p mls > /dev/null 2>&1
echo c - mls/files
mkdir -p mls/files > /dev/null 2>&1
echo x - mls/files/patch-Makefile
sed 's/^X//' >mls/files/patch-Makefile << 'END-of-mls/files/patch-Makefile'
X--- Makefile.orig	Sat Feb 15 05:16:21 2003
X+++ Makefile	Mon Apr 21 23:18:27 2003
X@@ -5,13 +5,13 @@
X 
X # -m386 (486,pentium,pentiumpro)
X #OPTIMIZE=-O7 -mpentiumpro
X-OPTIMIZE=-O3
X+#OPTIMIZE=-O3
X 
X # debug symbols will be stripped anyway during 'make install'
X DEBUG=-g
X 
X #### DON'T CHANGE ANYTHING BELOW ####
X-DESTDIR=/usr/local
X+DESTDIR?=/usr/local
X CFLAGS=-Wall $(OPTIMIZE) $(DEBUG)
X LIBS=-lm
X CC=gcc
X@@ -31,8 +31,8 @@
X 	$(CC) $(CFLAGS) -c mls_text.c -o mls_text.o
X 
X install: mls
X-	install -m 755 -g root -o root -s mls $(DESTDIR)/bin
X-	install -m 644 -g root -o root mls.1 $(DESTDIR)/man/man1
X+	install -m 755 -g wheel -o root -s mls $(DESTDIR)/bin
X+	install -m 644 -g wheel -o root mls.1 $(DESTDIR)/man/man1
X 	gzip -9f $(DESTDIR)/man/man1/mls.1
X 	@echo "**************************************************************"
X 	@echo "*** To use HTML feature or PHP wrapper, copy contents of   ***"
END-of-mls/files/patch-Makefile
echo x - mls/pkg-descr
sed 's/^X//' >mls/pkg-descr << 'END-of-mls/pkg-descr'
Xmls will read mailbox file in MBOX format and display various
Xstatistical data about it. You can specify input and ouput files (can
Xbe stdin/stdout), language used for output (in this version
XSlovak/English/Italian/Francais/Deutsch/Spanish/Serbian), error and
Xdiagnostic msgs are always printed in english. You can also specify
Xtext which will be displayed instead of standart title in output (can
Xbe used for automatic mailing of produced output).
X
XIt also supports cache file for faster re-generation of stats from the
Xsame input file. It is useful when you want to show statistics on web
X- you can use HTML output & PHP wrapper.
X
XWWW: http://marki.host.sk/MLS/
END-of-mls/pkg-descr
echo x - mls/Makefile
sed 's/^X//' >mls/Makefile << 'END-of-mls/Makefile'
X# New ports collection makefile for:	mls
X# Date created:		21 apr 2003
X# Whom:			The Anarcat <anarcat@anarcat.ath.cx>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mls
XPORTVERSION=	1.2.2
XCATEGORIES=	mail
XMASTER_SITES=	http://marki.host.sk/MLS/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	anarcat@anarcat.ath.cx
XCOMMENT=	"program for generating various statistics on emails"
X
XMAN1=		mls.1
X# the software's makefile already compresses the man page
XMANCOMPRESSED=	yes
X
XMAKE_ARGS+=	DESTDIR=${PREFIX}
XUSE_GMAKE=	yes
XALL_TARGET=	mls
X
X.include <bsd.port.mk>
END-of-mls/Makefile
echo x - mls/distinfo
sed 's/^X//' >mls/distinfo << 'END-of-mls/distinfo'
XMD5 (mls-1.2.2.tgz) = cee1c0f0c7411271df88e83682ef4684
END-of-mls/distinfo
echo x - mls/pkg-plist
sed 's/^X//' >mls/pkg-plist << 'END-of-mls/pkg-plist'
Xbin/mls
END-of-mls/pkg-plist
exit



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Wed Oct 8 04:26:08 PDT 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=51264 
>Unformatted:
