Upgrade to 3.1.0.2701. Old version (2.0.1) was repocopied as

devel/flex-sdk2.

This is MPL version (not including Flash Player binaries etc).
This commit is contained in:
Jun Kuriyama 2008-09-03 03:37:34 +00:00
parent 1c14a848fe
commit 355ff6509a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219720
26 changed files with 2668 additions and 1798 deletions

View file

@ -335,6 +335,7 @@
SUBDIR += fistgen
SUBDIR += flatzebra
SUBDIR += flex-sdk
SUBDIR += flex-sdk2
SUBDIR += flex_compiler_shell
SUBDIR += flexjson
SUBDIR += flick

View file

@ -6,53 +6,41 @@
#
PORTNAME= flex-sdk
PORTVERSION= 2.0.1.194515
PORTVERSION= 3.1.0.2710
CATEGORIES= devel java
MASTER_SITES= #
DISTFILES= flex_sdk_2_194515.zip
MASTER_SITES= http://flexorg.wip3.adobe.com/flexsdk/${PORTVERSION}/
DISTFILES= flex_sdk_${PORTVERSION}_mpl.zip
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Adobe Flex SDK
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
RESTRICTED= Need agreement before download
CONFLICTS= ja-flex-sdk-2.*
CONFLICTS= ja-flex-sdk-2.* flex-sdk-2.*
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.4+
WRKSRC= ${WRKDIR}
DOWNLOAD_URL= http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html
SUB_FILES= asdoc.sh compc.sh fdb.sh mxmlc.sh
SUB_FILES= ${SCRIPTS:C/\$/.sh/g}
NO_BUILD= YES
PLIST_SUB= PORTNAME=${PORTNAME}
SUB_LIST= PORTNAME=${PORTNAME}
SCRIPTS= aasdoc acompc amxmlc asdoc compc copylocale digest \
fcsh fdb mxmlc optimizer
.include <bsd.port.pre.mk>
.for i in ${DISTFILES}
.if !exists(${DISTDIR}/${i})
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
You must fetch the distribution manually.\n\n\
Please access \n\
\n\
${DOWNLOAD_URL}\n\
\n\
with a web browser. Please place the downloaded ${i} \n\
in ${DISTDIR}.\n\n
.endif
.endfor
post-extract:
${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/*.exe
do-install:
.for i in asdoc compc fdb mxmlc
.for i in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${i}.sh ${PREFIX}/bin/${i}
.endfor
${MKDIR} ${JAVAJARDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${JAVAJARDIR}/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/asdoc/lib/*.jar ${JAVAJARDIR}/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/ant/lib/*.jar ${JAVAJARDIR}/${PORTNAME}/
${MKDIR} ${DATADIR}/frameworks
${CP} -r ${WRKSRC}/frameworks/ ${DATADIR}/frameworks/
@ -60,9 +48,6 @@ do-install:
${MKDIR} ${DATADIR}/asdoc/templates
${CP} -r ${WRKSRC}/asdoc/templates/ ${DATADIR}/asdoc/templates/
${MKDIR} ${DATADIR}/resources
${CP} -r ${WRKSRC}/resources/ ${DATADIR}/resources/
${MKDIR} ${DOCSDIR}
${CP} -r ${WRKSRC}/*.htm ${DOCSDIR}/

View file

@ -1,3 +1,3 @@
MD5 (flex_sdk_2_194515.zip) = 63d3d3d33204de8c040f45d98c70f944
SHA256 (flex_sdk_2_194515.zip) = b096c5fdcb4a96509abb2f3b2fbae02c0433999b287ffa086a33297c0377671e
SIZE (flex_sdk_2_194515.zip) = 30878042
MD5 (flex_sdk_3.1.0.2710_mpl.zip) = a3a223ded509ff07324e34fbaf5c5dfc
SHA256 (flex_sdk_3.1.0.2710_mpl.zip) = e739d21b319099da250e2312e299a11e1f129c21fd0cf965685d90161cb78201
SIZE (flex_sdk_3.1.0.2710_mpl.zip) = 24458514

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx1024m -Dsun.io.useCanonCaches=false -Xbootclasspath/p:$JAVAJARDIR/xalan.jar"
java $VMARGS -classpath "$JAVAJARDIR/asdoc.jar" flex2.tools.ASDoc +flexlib="$DATADIR/frameworks" +configname=air $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/compc.jar" +flexlib="$DATADIR/frameworks" +configname=air $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/mxmlc.jar" +flexlib="$DATADIR/frameworks" +configname=air $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS "-Dapplication.home=$FLEX_HOME" -jar "$JAVAJARDIR/copylocale.jar" $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/digest.jar" +flexlib="$DATADIR/frameworks" $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS "-Dapplication.home=$FLEX_HOME" -jar "$JAVAJARDIR/fcsh.jar" $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/optimizer.jar" +flexlib="$DATADIR/frameworks" $*

View file

@ -1,4 +1,12 @@
The free Adobe Flex 2 SDK includes the technologies developers need to
start building effective Flex applications today.
The Flex SDK provides a highly productive, open source framework for
building and maintaining expressive web applications that deploy
consistently on all major browsers, desktops and operating systems.
WWW: http://www.adobe.com/products/flex/sdk/
It provides a modern, standards-based language and programming model
that supports common design patterns suitable for developers from many
backgrounds.
Flex applications run in the ubiquitous Adobe Flash Player and Adobe
AIR.
WWW: http://opensource.adobe.com/wiki/display/flexsdk/Flex+3

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
RESTRICTED= Need agreement before download
CONFLICTS= ja-flex-sdk-2.*
CONFLICTS= ja-flex-sdk-2.* flex-sdk-3.*
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.4+

View file

@ -6,53 +6,41 @@
#
PORTNAME= flex-sdk
PORTVERSION= 2.0.1.194515
PORTVERSION= 3.1.0.2710
CATEGORIES= devel java
MASTER_SITES= #
DISTFILES= flex_sdk_2_194515.zip
MASTER_SITES= http://flexorg.wip3.adobe.com/flexsdk/${PORTVERSION}/
DISTFILES= flex_sdk_${PORTVERSION}_mpl.zip
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Adobe Flex SDK
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
RESTRICTED= Need agreement before download
CONFLICTS= ja-flex-sdk-2.*
CONFLICTS= ja-flex-sdk-2.* flex-sdk-2.*
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.4+
WRKSRC= ${WRKDIR}
DOWNLOAD_URL= http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html
SUB_FILES= asdoc.sh compc.sh fdb.sh mxmlc.sh
SUB_FILES= ${SCRIPTS:C/\$/.sh/g}
NO_BUILD= YES
PLIST_SUB= PORTNAME=${PORTNAME}
SUB_LIST= PORTNAME=${PORTNAME}
SCRIPTS= aasdoc acompc amxmlc asdoc compc copylocale digest \
fcsh fdb mxmlc optimizer
.include <bsd.port.pre.mk>
.for i in ${DISTFILES}
.if !exists(${DISTDIR}/${i})
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
You must fetch the distribution manually.\n\n\
Please access \n\
\n\
${DOWNLOAD_URL}\n\
\n\
with a web browser. Please place the downloaded ${i} \n\
in ${DISTDIR}.\n\n
.endif
.endfor
post-extract:
${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/*.exe
do-install:
.for i in asdoc compc fdb mxmlc
.for i in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${i}.sh ${PREFIX}/bin/${i}
.endfor
${MKDIR} ${JAVAJARDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${JAVAJARDIR}/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/asdoc/lib/*.jar ${JAVAJARDIR}/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/ant/lib/*.jar ${JAVAJARDIR}/${PORTNAME}/
${MKDIR} ${DATADIR}/frameworks
${CP} -r ${WRKSRC}/frameworks/ ${DATADIR}/frameworks/
@ -60,9 +48,6 @@ do-install:
${MKDIR} ${DATADIR}/asdoc/templates
${CP} -r ${WRKSRC}/asdoc/templates/ ${DATADIR}/asdoc/templates/
${MKDIR} ${DATADIR}/resources
${CP} -r ${WRKSRC}/resources/ ${DATADIR}/resources/
${MKDIR} ${DOCSDIR}
${CP} -r ${WRKSRC}/*.htm ${DOCSDIR}/

View file

@ -1,3 +1,3 @@
MD5 (flex_sdk_2_194515.zip) = 63d3d3d33204de8c040f45d98c70f944
SHA256 (flex_sdk_2_194515.zip) = b096c5fdcb4a96509abb2f3b2fbae02c0433999b287ffa086a33297c0377671e
SIZE (flex_sdk_2_194515.zip) = 30878042
MD5 (flex_sdk_3.1.0.2710_mpl.zip) = a3a223ded509ff07324e34fbaf5c5dfc
SHA256 (flex_sdk_3.1.0.2710_mpl.zip) = e739d21b319099da250e2312e299a11e1f129c21fd0cf965685d90161cb78201
SIZE (flex_sdk_3.1.0.2710_mpl.zip) = 24458514

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx1024m -Dsun.io.useCanonCaches=false -Xbootclasspath/p:$JAVAJARDIR/xalan.jar"
java $VMARGS -classpath "$JAVAJARDIR/asdoc.jar" flex2.tools.ASDoc +flexlib="$DATADIR/frameworks" +configname=air $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/compc.jar" +flexlib="$DATADIR/frameworks" +configname=air $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/mxmlc.jar" +flexlib="$DATADIR/frameworks" +configname=air $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS "-Dapplication.home=$FLEX_HOME" -jar "$JAVAJARDIR/copylocale.jar" $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/digest.jar" +flexlib="$DATADIR/frameworks" $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS "-Dapplication.home=$FLEX_HOME" -jar "$JAVAJARDIR/fcsh.jar" $*

View file

@ -0,0 +1,9 @@
#!/bin/sh
[ -z "${PREFIX}" ] && PREFIX="%%PREFIX%%"
[ -z "${JAVAJARDIR}" ] && JAVAJARDIR="%%JAVAJARDIR%%/%%PORTNAME%%"
[ -z "${DATADIR}" ] && DATADIR="%%DATADIR%%"
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
java $VMARGS -jar "$JAVAJARDIR/optimizer.jar" +flexlib="$DATADIR/frameworks" $*

View file

@ -1,4 +1,12 @@
The free Adobe Flex 2 SDK includes the technologies developers need to
start building effective Flex applications today.
The Flex SDK provides a highly productive, open source framework for
building and maintaining expressive web applications that deploy
consistently on all major browsers, desktops and operating systems.
WWW: http://www.adobe.com/products/flex/sdk/
It provides a modern, standards-based language and programming model
that supports common design patterns suitable for developers from many
backgrounds.
Flex applications run in the ubiquitous Adobe Flash Player and Adobe
AIR.
WWW: http://opensource.adobe.com/wiki/display/flexsdk/Flex+3

File diff suppressed because it is too large Load diff

View file

@ -19,6 +19,7 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
mxmlc:${PORTSDIR}/devel/flex-sdk
RESTRICTED= Redistribution is not allowed
CONFLICTS= flex-sdk-3.*
USE_ZIP= YES
USE_JAVA= YES

View file

@ -19,7 +19,7 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
RESTRICTED= Need agreement before download
CONFLICTS= flex-sdk-2.*
CONFLICTS= flex-sdk-2.* flex-sdk-3.*
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.4+