ports/51264: new port: mail/mls

The Anarcat anarcat at anarcat.ath.cx
Tue Apr 22 04:10:15 UTC 2003


>Number:         51264
>Category:       ports
>Synopsis:       new port: mail/mls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 21 21:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list