diff --git a/devel/Makefile b/devel/Makefile index 181957d985a0..af5f29e78c29 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -315,6 +315,7 @@ SUBDIR += fistgen SUBDIR += flatzebra SUBDIR += flex-sdk + SUBDIR += flex_compiler_shell SUBDIR += flexjson SUBDIR += flick SUBDIR += florist diff --git a/devel/flex_compiler_shell/Makefile b/devel/flex_compiler_shell/Makefile new file mode 100644 index 000000000000..dccd08099b39 --- /dev/null +++ b/devel/flex_compiler_shell/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: Flex Compiler Shell +# Date created: 1 Dec 2007 +# Whom: Jun Kuriyama +# +# $FreeBSD$ +# + +PORTNAME= flex_compiler_shell +PORTVERSION= 0.20070123 +CATEGORIES= devel java +MASTER_SITES= http://download.macromedia.com/pub/labs/flex_compiler_shell/ +DISTNAME= flex_compiler_shell_012307 + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Adobe Flex Compiler Shell + +RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \ + mxmlc:${PORTSDIR}/devel/flex-sdk + +RESTRICTED= Redistribution is not allowed + +USE_ZIP= YES +USE_JAVA= YES +JAVA_VERSION= 1.4+ +WRKSRC= ${WRKDIR} +NO_BUILD= YES +SUB_FILES= fcsh + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/fcsh ${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/lib/fcsh.jar ${JAVAJARDIR}/flex-sdk/ + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/FlexCompilerShell-license.txt ${DOCSDIR}/ + +.include diff --git a/devel/flex_compiler_shell/distinfo b/devel/flex_compiler_shell/distinfo new file mode 100644 index 000000000000..dbdfd0cdd78a --- /dev/null +++ b/devel/flex_compiler_shell/distinfo @@ -0,0 +1,3 @@ +MD5 (flex_compiler_shell_012307.zip) = 8882dd729d33f22e981603d8d09ad4b4 +SHA256 (flex_compiler_shell_012307.zip) = 65983a10d9cf0192b103066283eaa18ec7d84052bfd8a18a01066d3d45f04d16 +SIZE (flex_compiler_shell_012307.zip) = 72443 diff --git a/devel/flex_compiler_shell/files/fcsh.in b/devel/flex_compiler_shell/files/fcsh.in new file mode 100644 index 000000000000..3a64904f24d4 --- /dev/null +++ b/devel/flex_compiler_shell/files/fcsh.in @@ -0,0 +1,9 @@ +#!/bin/sh + +[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%" +[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/flex-sdk" +[ -z "${FLEX_HOME}" ] && FLEX_HOME=${PREFIX}/share/flex-sdk + +VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false" + +java $VMARGS "-Dapplication.home=$FLEX_HOME" -jar "$JAVAJARDIR/fcsh.jar" diff --git a/devel/flex_compiler_shell/pkg-descr b/devel/flex_compiler_shell/pkg-descr new file mode 100644 index 000000000000..3043f5e5fbab --- /dev/null +++ b/devel/flex_compiler_shell/pkg-descr @@ -0,0 +1,7 @@ +The fcsh (Flex Compiler Shell) utility provides a shell environment +that you use to compile Flex applications, modules, and component +libraries. It works very similarly to the mxmlc and compc command line +compilers, but it compiles faster than the mxmlc and compc +command-line compilers. + +WWW: http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell diff --git a/devel/flex_compiler_shell/pkg-plist b/devel/flex_compiler_shell/pkg-plist new file mode 100644 index 000000000000..432a843fd701 --- /dev/null +++ b/devel/flex_compiler_shell/pkg-plist @@ -0,0 +1,4 @@ +bin/fcsh +%%JAVAJARDIR%%/flex-sdk/fcsh.jar +%%DOCSDIR%%/FlexCompilerShell-license.txt +@dirrm %%DOCSDIR%%