mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Boo is a new, object-oriented, statically-typed programming language for the
Common Language Infrastructure (CLI) with a Python-inspired syntax and a special focus on language and compiler extensibility. PR: 117551 Submitted by: Romain Tartiere <romain at blogreen.org> (latest version)
This commit is contained in:
parent
b86b54f543
commit
cf62c73414
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240992
7 changed files with 224 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
SUBDIR += bas2tap
|
||||
SUBDIR += bf2c
|
||||
SUBDIR += bigloo
|
||||
SUBDIR += boo
|
||||
SUBDIR += bsh
|
||||
SUBDIR += bwbasic
|
||||
SUBDIR += caml-light
|
||||
|
|
57
lang/boo/Makefile
Normal file
57
lang/boo/Makefile
Normal file
|
@ -0,0 +1,57 @@
|
|||
# New ports collection makefile for: Boo
|
||||
# Date created: June 17, 2005
|
||||
# Whom: Christopher Nehren <apeiron@coitusmentis.info>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= boo
|
||||
PORTVERSION= 0.9.2
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://dist.codehaus.org/boo/distributions/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.${BUILD_NUMBER}-src
|
||||
|
||||
MAINTAINER= mono@FreeBSD.org
|
||||
COMMENT= A CLI-targeted programming language similar to Python
|
||||
|
||||
PATCH_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
|
||||
BUILD_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
|
||||
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono \
|
||||
${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
USE_GNOME= gtksourceview
|
||||
USE_NANT= yes
|
||||
USE_ZIP= yes
|
||||
|
||||
BUILD_NUMBER= 3383
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
PORTEXAMPLES= *
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's!%%PREFIX%%!${PREFIX}!' \
|
||||
-e 's!%%DOCSDIR%%!${DOCSDIR}!' \
|
||||
-e 's!%%EXAMPLESDIR%%!${EXAMPLESDIR}!' \
|
||||
${WRKSRC}/default.build
|
||||
.if defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} -e 's/%%INSTALLDOCS%%//' ${WRKSRC}/default.build
|
||||
.else
|
||||
@${REINPLACE_CMD} -e 's/%%INSTALLDOCS%%/install-docs,/' ${WRKSRC}/default.build
|
||||
.endif
|
||||
.if defined(NOPORTEXAMPLES)
|
||||
@${REINPLACE_CMD} -e 's/%%INSTALLEXAMPLES%%//' ${WRKSRC}/default.build
|
||||
.else
|
||||
@${REINPLACE_CMD} -e 's/%%INSTALLEXAMPLES%%/install-examples,/' ${WRKSRC}/default.build
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${LOCALBASE}/bin/update-mime-database ${LOCALBASE}/share/mime
|
||||
|
||||
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
||||
.include <bsd.port.mk>
|
3
lang/boo/distinfo
Normal file
3
lang/boo/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (boo-0.9.2.3383-src.zip) = 0ba8853303f678795f7b51d00d98ac18
|
||||
SHA256 (boo-0.9.2.3383-src.zip) = bec53f2542c76a0d30404c10c9e398020ecf180869c93fa2dbb707d3663576ea
|
||||
SIZE (boo-0.9.2.3383-src.zip) = 3659721
|
88
lang/boo/files/patch-default.build
Normal file
88
lang/boo/files/patch-default.build
Normal file
|
@ -0,0 +1,88 @@
|
|||
$FreeBSD$
|
||||
|
||||
--- default.build.orig 2009-09-06 14:21:30.000000000 -0700
|
||||
+++ default.build 2009-09-06 14:21:40.000000000 -0700
|
||||
@@ -21,19 +21,25 @@
|
||||
|
||||
<property name="build.dir" value="build" dynamic="True"/>
|
||||
<property name="distrobuild.dir" value="distrobuild"/>
|
||||
+ <property name="docs.dir" value="docs"/>
|
||||
+ <property name="examples.dir" value="examples"/>
|
||||
|
||||
- <property name="install.prefix" value="/usr/local" />
|
||||
+ <property name="install.prefix" value="%%PREFIX%%" />
|
||||
<property name="install.destdir" value="/" />
|
||||
|
||||
<property name="install.share" value="${path::combine(install.prefix,'share')}" />
|
||||
<property name="install.bindir" value="${path::combine(install.prefix,'bin')}" />
|
||||
<property name="install.libdir" value="${path::combine(install.prefix,'lib')}" />
|
||||
+ <property name="install.libdatadir" value="${path::combine(install.prefix,'libdata')}" />
|
||||
<property name="install.boolib" value="${path::combine(install.libdir,'boo')}" />
|
||||
|
||||
<property name="fakeroot.boolib" value="${install.destdir}/${install.boolib}" />
|
||||
<property name="fakeroot.bindir" value="${install.destdir}/${install.bindir}" />
|
||||
<property name="fakeroot.libdir" value="${install.destdir}/${install.libdir}" />
|
||||
+ <property name="fakeroot.libdatadir" value="${install.destdir}/${install.libdatadir}" />
|
||||
<property name="fakeroot.share" value="${install.destdir}/${install.share}" />
|
||||
+ <property name="fakeroot.docsdir" value="%%DOCSDIR%%" />
|
||||
+ <property name="fakeroot.examplesdir" value="%%EXAMPLESDIR%%" />
|
||||
|
||||
<!-- set gendarme.dir in your build.properties to enable Gendarme report after build -->
|
||||
<property name="gendarme.dir" value=""/>
|
||||
@@ -71,7 +77,7 @@
|
||||
<property name="nosign" value="true" overwrite="true" />
|
||||
</target>
|
||||
|
||||
- <target name="all" depends="booc, booi, booish, boo-pkgconfig, Boo.Lang.CodeDom, Boo.Lang.Useful, boo, Boo.Microsoft.Build.Tasks, update-vs2005-env, Boo.Lang.PatternMatching">
|
||||
+ <target name="all" depends="booc, booi, booish, boo-pkgconfig, Boo.Lang.CodeDom, Boo.Lang.Useful, boo, Boo.Microsoft.Build.Tasks, Boo.Lang.PatternMatching">
|
||||
<call target="gendarme" if="${gendarme.dir != ''}" />
|
||||
</target>
|
||||
|
||||
@@ -538,7 +544,7 @@
|
||||
<call target="install-linux" if="${not(platform::is-win32())}"/>
|
||||
</target>
|
||||
|
||||
- <target name="install-linux" depends="booc, booish, booi">
|
||||
+ <target name="install-linux" depends="%%INSTALLDOCS%%%%INSTALLEXAMPLES%%booc, booish, booi">
|
||||
<!--
|
||||
Use pkg-config to find the proper locations for several
|
||||
key files for mime detection, etc
|
||||
@@ -602,7 +608,7 @@
|
||||
</copy>
|
||||
|
||||
<copy file="extras/boo.lang" todir="${fakeroot.gsv}/share/gtksourceview-1.0/language-specs/" />
|
||||
- <copy file="${build.dir}/boo.pc" todir="${fakeroot.libdir}/pkgconfig/" />
|
||||
+ <copy file="${build.dir}/boo.pc" todir="${fakeroot.libdatadir}/pkgconfig/" />
|
||||
<copy file="extras/boo-mime-info.xml" todir="${fakeroot.sharedmime}/share/mime/packages/" />
|
||||
|
||||
<exec program="chmod" commandline="+x ${fakeroot.bindir}/booc" />
|
||||
@@ -645,7 +651,28 @@
|
||||
</foreach>
|
||||
|
||||
</target>
|
||||
-
|
||||
+
|
||||
+ <target name="install-docs">
|
||||
+ <copy todir="${fakeroot.docsdir}">
|
||||
+ <fileset basedir="${docs.dir}">
|
||||
+ <include name="*.sxw"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ <copy todir="${fakeroot.docsdir}">
|
||||
+ <fileset basedir=".">
|
||||
+ <include name="*.txt"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ </target>
|
||||
+
|
||||
+ <target name="install-examples">
|
||||
+ <copy todir="${fakeroot.examplesdir}">
|
||||
+ <fileset basedir="${examples.dir}">
|
||||
+ <include name="**"/>
|
||||
+ </fileset>
|
||||
+ </copy>
|
||||
+ </target>
|
||||
+
|
||||
<target name="uninstall">
|
||||
<call target="uninstall-linux" if="${not(platform::is-win32())}"/>
|
||||
<call target="uninstall-win32" if="${platform::is-win32()}"/>
|
10
lang/boo/files/patch-extras-boo.pc.in
Normal file
10
lang/boo/files/patch-extras-boo.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- extras/boo.pc.in.orig Mon Oct 1 17:53:29 2007
|
||||
+++ extras/boo.pc.in Mon Oct 1 17:53:56 2007
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${prefix}/lib
|
||||
+libdir=${prefix}/lib/mono
|
||||
|
||||
|
||||
Name: Boo
|
5
lang/boo/pkg-descr
Normal file
5
lang/boo/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
Boo is a new, object-oriented, statically-typed programming language for the
|
||||
Common Language Infrastructure (CLI) with a Python-inspired syntax and a
|
||||
special focus on language and compiler extensibility.
|
||||
|
||||
WWW: http://boo.codehaus.org/
|
60
lang/boo/pkg-plist
Normal file
60
lang/boo/pkg-plist
Normal file
|
@ -0,0 +1,60 @@
|
|||
@comment $FreeBSD$
|
||||
bin/booc
|
||||
bin/booi
|
||||
bin/booish
|
||||
lib/boo/Boo.NAnt.Tasks.dll
|
||||
lib/boo/boo.exe
|
||||
lib/boo/booc.exe
|
||||
lib/boo/booc.exe.config
|
||||
lib/boo/booc.rsp
|
||||
lib/boo/booi.exe
|
||||
lib/boo/booi.exe.config
|
||||
lib/boo/booish.exe
|
||||
lib/boo/booish.exe.config
|
||||
lib/mono/boo/Boo.Lang.CodeDom.dll
|
||||
lib/mono/boo/Boo.Lang.Compiler.dll
|
||||
lib/mono/boo/Boo.Lang.Extensions.dll
|
||||
lib/mono/boo/Boo.Lang.Interpreter.dll
|
||||
lib/mono/boo/Boo.Lang.Parser.dll
|
||||
lib/mono/boo/Boo.Lang.PatternMatching.dll
|
||||
lib/mono/boo/Boo.Lang.Useful.dll
|
||||
lib/mono/boo/Boo.Lang.dll
|
||||
lib/mono/gac/Boo.Lang.CodeDom/2.0.9.2__32c39770e9a21a67/Boo.Lang.CodeDom.dll
|
||||
lib/mono/gac/Boo.Lang.CodeDom/2.0.9.2__32c39770e9a21a67/Boo.Lang.CodeDom.dll.mdb
|
||||
lib/mono/gac/Boo.Lang.Compiler/2.0.9.2__32c39770e9a21a67/Boo.Lang.Compiler.dll
|
||||
lib/mono/gac/Boo.Lang.Compiler/2.0.9.2__32c39770e9a21a67/Boo.Lang.Compiler.dll.mdb
|
||||
lib/mono/gac/Boo.Lang.Extensions/2.0.9.2__32c39770e9a21a67/Boo.Lang.Extensions.dll
|
||||
lib/mono/gac/Boo.Lang.Extensions/2.0.9.2__32c39770e9a21a67/Boo.Lang.Extensions.dll.mdb
|
||||
lib/mono/gac/Boo.Lang.Interpreter/2.0.9.2__32c39770e9a21a67/Boo.Lang.Interpreter.dll
|
||||
lib/mono/gac/Boo.Lang.Interpreter/2.0.9.2__32c39770e9a21a67/Boo.Lang.Interpreter.dll.mdb
|
||||
lib/mono/gac/Boo.Lang.Parser/2.0.9.2__32c39770e9a21a67/Boo.Lang.Parser.dll
|
||||
lib/mono/gac/Boo.Lang.Parser/2.0.9.2__32c39770e9a21a67/Boo.Lang.Parser.dll.mdb
|
||||
lib/mono/gac/Boo.Lang.PatternMatching/2.0.9.2__32c39770e9a21a67/Boo.Lang.PatternMatching.dll
|
||||
lib/mono/gac/Boo.Lang.PatternMatching/2.0.9.2__32c39770e9a21a67/Boo.Lang.PatternMatching.dll.mdb
|
||||
lib/mono/gac/Boo.Lang.Useful/2.0.9.2__32c39770e9a21a67/Boo.Lang.Useful.dll
|
||||
lib/mono/gac/Boo.Lang.Useful/2.0.9.2__32c39770e9a21a67/Boo.Lang.Useful.dll.mdb
|
||||
lib/mono/gac/Boo.Lang/2.0.9.2__32c39770e9a21a67/Boo.Lang.dll
|
||||
lib/mono/gac/Boo.Lang/2.0.9.2__32c39770e9a21a67/Boo.Lang.dll.mdb
|
||||
libdata/pkgconfig/boo.pc
|
||||
share/mime/packages/boo-mime-info.xml
|
||||
share/mime/text/x-boo.xml
|
||||
share/mime-info/boo.keys
|
||||
share/mime-info/boo.mime
|
||||
@dirrm lib/mono/gac/Boo.Lang/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.Useful/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.Useful
|
||||
@dirrm lib/mono/gac/Boo.Lang.PatternMatching/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.PatternMatching
|
||||
@dirrm lib/mono/gac/Boo.Lang.Parser/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.Parser
|
||||
@dirrm lib/mono/gac/Boo.Lang.Interpreter/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.Interpreter
|
||||
@dirrm lib/mono/gac/Boo.Lang.Extensions/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.Extensions
|
||||
@dirrm lib/mono/gac/Boo.Lang.Compiler/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.Compiler
|
||||
@dirrm lib/mono/gac/Boo.Lang.CodeDom/2.0.9.2__32c39770e9a21a67
|
||||
@dirrm lib/mono/gac/Boo.Lang.CodeDom
|
||||
@dirrm lib/mono/gac/Boo.Lang
|
||||
@dirrm lib/mono/boo
|
||||
@dirrm lib/boo
|
Loading…
Add table
Reference in a new issue