Date: Fri, 25 Oct 2002 00:09:34 +0900 (JST) From: Shigeyuki Fukushima <shige@FreeBSD.org> To: freebsd-java@freebsd.org Subject: FYI: sablecc ports Message-ID: <20021025.000934.46208515.shige@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
For your information:
I made sablecc new ports.
Please add it to java category.
Thanks,
---
Shigeyuki Fukushima <shige@{,jp.}FreeBSD.org>
# 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:
#
# sablecc
# sablecc/files
# sablecc/files/sablecc.in
# sablecc/distinfo
# sablecc/pkg-descr
# sablecc/pkg-plist
# sablecc/pkg-comment
# sablecc/Makefile
#
echo c - sablecc
mkdir -p sablecc > /dev/null 2>&1
echo c - sablecc/files
mkdir -p sablecc/files > /dev/null 2>&1
echo x - sablecc/files/sablecc.in
sed 's/^X//' >sablecc/files/sablecc.in << 'END-of-sablecc/files/sablecc.in'
X#!/bin/sh
XCLASSDIR=%%PREFIX%%/share/java/classes
Xexec javavm -jar ${CLASSDIR}/sablecc.jar $*
END-of-sablecc/files/sablecc.in
echo x - sablecc/distinfo
sed 's/^X//' >sablecc/distinfo << 'END-of-sablecc/distinfo'
XMD5 (sablecc-2.17.2.tar.gz) = 5fe1195f511c75ce8b2bbb6422b13c7b
END-of-sablecc/distinfo
echo x - sablecc/pkg-descr
sed 's/^X//' >sablecc/pkg-descr << 'END-of-sablecc/pkg-descr'
XSableCC, an object-oriented compiler framework.
X
XWWW: http://www.sablecc.org/
END-of-sablecc/pkg-descr
echo x - sablecc/pkg-plist
sed 's/^X//' >sablecc/pkg-plist << 'END-of-sablecc/pkg-plist'
Xbin/sablecc
Xshare/java/classes/sablecc.jar
END-of-sablecc/pkg-plist
echo x - sablecc/pkg-comment
sed 's/^X//' >sablecc/pkg-comment << 'END-of-sablecc/pkg-comment'
XSableCC, an object-oriented compiler framework
END-of-sablecc/pkg-comment
echo x - sablecc/Makefile
sed 's/^X//' >sablecc/Makefile << 'END-of-sablecc/Makefile'
X# New ports collection makefile for: sablecc
X# Date created: 17 October 2002
X# Whom: shige@FreeBSD.org
X#
X# $FreeBSD$
X#
X
XPORTNAME= sablecc
XPORTVERSION= 2.17.2
XCATEGORIES= java textproc
XMASTER_SITES= http://download.sourceforge.net/sablecc/
X
XMAINTAINER= java@FreeBSD.org
X
X#BUILD_DEPENDS= ant:${PORTSDIR}/devel/jakarta-ant
XUSE_JAVA= 1.2+
X
X#
X# We'd love to build Xalan rather than install a binary release, but
X# the doc build doesn't seem to work... :(
X#
XNO_BUILD= YES
X
Xdo-configure:
X ${SED} 's|%%PREFIX%%|${PREFIX}|g' \
X ${FILESDIR}/sablecc.in > ${WRKDIR}/sablecc
X
Xdo-build:
X (cd ${WRKSRC} && ant jar)
X
Xdo-install:
X ${INSTALL_DATA} ${WRKSRC}/lib/sablecc.jar \
X ${PREFIX}/share/java/classes
X ${INSTALL_SCRIPT} ${WRKDIR}/sablecc ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-sablecc/Makefile
exit
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021025.000934.46208515.shige>
