diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2009-09-07 17:00:23 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2009-09-07 17:00:23 +0000 |
commit | cf62c7341449d3c0d00452175ffee823ba58dba2 (patch) | |
tree | 0a514b05b39cfbbd8233837269cff92a3005cb50 /lang/boo | |
parent | b86b54f5438effe4623cb46f3fa7e8a5efb0b2a7 (diff) | |
download | ports-cf62c7341449d3c0d00452175ffee823ba58dba2.tar.gz ports-cf62c7341449d3c0d00452175ffee823ba58dba2.zip |
Notes
Diffstat (limited to 'lang/boo')
-rw-r--r-- | lang/boo/Makefile | 57 | ||||
-rw-r--r-- | lang/boo/distinfo | 3 | ||||
-rw-r--r-- | lang/boo/files/patch-default.build | 88 | ||||
-rw-r--r-- | lang/boo/files/patch-extras-boo.pc.in | 10 | ||||
-rw-r--r-- | lang/boo/pkg-descr | 5 | ||||
-rw-r--r-- | lang/boo/pkg-plist | 60 |
6 files changed, 223 insertions, 0 deletions
diff --git a/lang/boo/Makefile b/lang/boo/Makefile new file mode 100644 index 000000000000..626e7372702a --- /dev/null +++ b/lang/boo/Makefile @@ -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> diff --git a/lang/boo/distinfo b/lang/boo/distinfo new file mode 100644 index 000000000000..87f1cd5c253f --- /dev/null +++ b/lang/boo/distinfo @@ -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 diff --git a/lang/boo/files/patch-default.build b/lang/boo/files/patch-default.build new file mode 100644 index 000000000000..f949b55e40a9 --- /dev/null +++ b/lang/boo/files/patch-default.build @@ -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()}"/>
diff --git a/lang/boo/files/patch-extras-boo.pc.in b/lang/boo/files/patch-extras-boo.pc.in new file mode 100644 index 000000000000..6074e48fe0f0 --- /dev/null +++ b/lang/boo/files/patch-extras-boo.pc.in @@ -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 diff --git a/lang/boo/pkg-descr b/lang/boo/pkg-descr new file mode 100644 index 000000000000..5f12f89b4a68 --- /dev/null +++ b/lang/boo/pkg-descr @@ -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/ diff --git a/lang/boo/pkg-plist b/lang/boo/pkg-plist new file mode 100644 index 000000000000..4ef588107f6a --- /dev/null +++ b/lang/boo/pkg-plist @@ -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 |