blob: 12f494c20af01656e44023dd05f30dfd14edd5ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Created by: Jun Kuriyama <kuriyama@FreeBSD.org>
# $FreeBSD$
PORTNAME= flex-sdk
PORTVERSION= 2.0.1
PORTREVISION= 2
CATEGORIES= japanese devel java
MASTER_SITES= #
DISTFILES= flex_sdk_2_hf1.zip flex_sdk_2_ja.zip
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Adobe Flex SDK (with Japanese language)
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
RESTRICTED= Need agreement before download
CONFLICTS= flex-sdk-2.* flex-sdk-3.* flex-sdk-4.*
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.6+
WRKSRC= ${WRKDIR}
DOWNLOAD_URL= http://www.adobe.com/products/flex/sdk/
SUB_FILES= asdoc.sh compc.sh fdb.sh mxmlc.sh
NO_BUILD= YES
PLIST_SUB= PORTNAME=${PORTNAME}
SUB_LIST= PORTNAME=${PORTNAME}
.include <bsd.port.pre.mk>
.for i in ${DISTFILES}
.if !exists(${DISTDIR}/${i})
IGNORE= you must fetch the distribution manually.\
Please access ${DOWNLOAD_URL} with a web browser.\
Please place the downloaded ${i} in ${DISTDIR} and\
re-run make
.endif
.endfor
do-install:
.for i in asdoc compc fdb mxmlc
${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}/
${MKDIR} ${DATADIR}/frameworks
${CP} -r ${WRKSRC}/frameworks/ ${DATADIR}/frameworks/
${MKDIR} ${DATADIR}/asdoc/templates
${CP} -r ${WRKSRC}/asdoc/templates/ ${DATADIR}/asdoc/templates/
${MKDIR} ${EXAMPLESDIR}
${CP} -r ${WRKSRC}/samples/ ${EXAMPLESDIR}/
${MKDIR} ${EXAMPLESDIR}/ja
${CP} -r ${WRKSRC}/samples_ja/ ${EXAMPLESDIR}/ja/
${MKDIR} ${DOCSDIR}
${CP} -r ${WRKSRC}/*.htm ${DOCSDIR}/
.include <bsd.port.post.mk>
|