ports/61324: [NEW PORT] Hapy, a runtime parser generator library

Alex Rousskov rousskov at measurement-factory.com
Tue Jan 13 19:20:23 UTC 2004


>Number:         61324
>Category:       ports
>Synopsis:       [NEW PORT] Hapy, a runtime parser generator library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 13 11:20:09 PST 2004
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list