From cf62c7341449d3c0d00452175ffee823ba58dba2 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Mon, 7 Sep 2009 17:00:23 +0000 Subject: 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 (latest version) --- lang/Makefile | 1 + lang/boo/Makefile | 57 +++++++++++++++++++++++ lang/boo/distinfo | 3 ++ lang/boo/files/patch-default.build | 88 +++++++++++++++++++++++++++++++++++ lang/boo/files/patch-extras-boo.pc.in | 10 ++++ lang/boo/pkg-descr | 5 ++ lang/boo/pkg-plist | 60 ++++++++++++++++++++++++ 7 files changed, 224 insertions(+) create mode 100644 lang/boo/Makefile create mode 100644 lang/boo/distinfo create mode 100644 lang/boo/files/patch-default.build create mode 100644 lang/boo/files/patch-extras-boo.pc.in create mode 100644 lang/boo/pkg-descr create mode 100644 lang/boo/pkg-plist (limited to 'lang') diff --git a/lang/Makefile b/lang/Makefile index 0454d0dc80ed..8951da06a9e7 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -17,6 +17,7 @@ SUBDIR += bas2tap SUBDIR += bf2c SUBDIR += bigloo + SUBDIR += boo SUBDIR += bsh SUBDIR += bwbasic SUBDIR += caml-light 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 +# +# $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 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 @@ + + + ++ ++ + +- ++ + + + + + ++ + + + + + ++ + ++ ++ + + + +@@ -71,7 +77,7 @@ + + + +- ++ + + + +@@ -538,7 +544,7 @@ + + + +- ++ +