From rousskov@measurement-factory.com  Tue Jan 13 11:18:47 2004
Return-Path: <rousskov@measurement-factory.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6747E16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Jan 2004 11:18:47 -0800 (PST)
Received: from measurement-factory.com (measurement-factory.com [206.168.0.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8355F43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Jan 2004 11:18:32 -0800 (PST)
	(envelope-from rousskov@measurement-factory.com)
Received: from measurement-factory.com (localhost [127.0.0.1])
	by measurement-factory.com (8.12.9/8.12.9) with ESMTP id i0DJIVk3076749
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Jan 2004 12:18:31 -0700 (MST)
	(envelope-from rousskov@measurement-factory.com)
Received: (from rousskov@localhost)
	by measurement-factory.com (8.12.9/8.12.9/Submit) id i0DJIVkP076748;
	Tue, 13 Jan 2004 12:18:31 -0700 (MST)
	(envelope-from rousskov)
Message-Id: <200401131918.i0DJIVkP076748@measurement-factory.com>
Date: Tue, 13 Jan 2004 12:18:31 -0700 (MST)
From: Alex Rousskov <rousskov@measurement-factory.com>
Reply-To: Alex Rousskov <rousskov@measurement-factory.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] Hapy, a runtime parser generator library
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61324
>Category:       ports
>Synopsis:       [NEW PORT] Hapy, a runtime parser generator library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 13 11:20:09 PST 2004
>Closed-Date:    Tue Jan 13 13:16:33 PST 2004
>Last-Modified:  Tue Jan 13 13:16:33 PST 2004
>Originator:     Alex Rousskov
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
The Measurement Factory
>Environment:
System: FreeBSD measurement-factory.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Tue Sep 16 12:30:45 MDT 2003 wessels@measurement-factory.com:/usr/obj/usr/src/sys/TMF i386
>Description:

Please add attached Hapy library port to FreeBSD ports collection.
Hapy is a runtime parser generator (http://www.hapy.org/).

The port seems to obey all FreeBSD porting instructions and passes a
portlint test. Its name starts with a capital letter, which seems to
be allowed for non-single-program ports like XFree86.  I think Hapy
qualifies since it installs many files and the list will grow. The
naming is also consistent with how users refer to Hapy library files
and reduces chances for a "collision" with the devel/happy port.

/ports/devel seems to be the right place for this port since
that directory contains bison, spirit, and other parser generators. 

I am happy to be the maintainer, but I do not have commit privileges.

Thank you,

Alex.


>How-To-Repeat:
n/a
>Fix:


--- HapyPort.shar begins here ---
# 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:
#
#	Hapy
#	Hapy/Makefile
#	Hapy/pkg-descr
#	Hapy/pkg-plist
#	Hapy/distinfo
#
echo c - Hapy
mkdir -p Hapy > /dev/null 2>&1
echo x - Hapy/Makefile
sed 's/^X//' >Hapy/Makefile << 'END-of-Hapy/Makefile'
X# New ports collection makefile for:	Hapy
X# Date created:			Dec 24, 2003
X# Whom:				rousskov
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Hapy
XPORTVERSION=	0.0.3
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	rousskov@FreeBSD.org
XCOMMENT=	A runtime parser generator
X
XGNU_CONFIGURE=	yes
X
Xpost-build:
X	@${ECHO} "Consider running 'make check' before 'make install'"
X	@${ECHO} "to execute a library self-test"
X
Xcheck: build
X	cd ${WRKSRC}; ${MAKE} check
X
X.include <bsd.port.mk>
END-of-Hapy/Makefile
echo x - Hapy/pkg-descr
sed 's/^X//' >Hapy/pkg-descr << 'END-of-Hapy/pkg-descr'
XHapy is a runtime parser generator library. The Hapy library
Xgenerates parsers from BNF-like language grammars. Parsing
Xscripting languages and communication protocol messages are
Xtypical use cases. Generated parsers are C++ objects. Hapy is
Xpublic domain software.
X
XWWW: http://www.hapy.org/
X
X- Alex Rousskov
END-of-Hapy/pkg-descr
echo x - Hapy/pkg-plist
sed 's/^X//' >Hapy/pkg-plist << 'END-of-Hapy/pkg-plist'
Xinclude/Hapy/Algorithm.h
Xinclude/Hapy/Algorithms.h
Xinclude/Hapy/Area.h
Xinclude/Hapy/Assert.h
Xinclude/Hapy/Buffer.h
Xinclude/Hapy/IoStream.h
Xinclude/Hapy/IosFwd.h
Xinclude/Hapy/NumericLimits.h
Xinclude/Hapy/Parser.h
Xinclude/Hapy/Pree.h
Xinclude/Hapy/PreeKids.h
Xinclude/Hapy/Result.h
Xinclude/Hapy/Rule.h
Xinclude/Hapy/RuleBase.h
Xinclude/Hapy/RuleId.h
Xinclude/Hapy/RulePtr.h
Xinclude/Hapy/Rules.h
Xinclude/Hapy/String.h
Xinclude/Hapy/Version.h
Xinclude/Hapy/config.h
Xlib/libHapy.a
X@dirrm include/Hapy
END-of-Hapy/pkg-plist
echo x - Hapy/distinfo
sed 's/^X//' >Hapy/distinfo << 'END-of-Hapy/distinfo'
XMD5 (Hapy-0.0.3.tar.gz) = 4f36fc3976f8c2bc7fb543e5c342c3e8
END-of-Hapy/distinfo
exit
--- HapyPort.shar ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Tue Jan 13 12:59:55 PST 2004 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61324 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jan 13 13:14:26 PST 2004 
State-Changed-Why:  
New port added, thanks! 

Few nits: 
- I added it as a hapy, obeying convention of using lowercase names 
- maintainer address rousskov@FreeBSD.org ? :) I guess that's a typo 
- ${ECHO} -> ${ECHO_MSG} 

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