1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/flex-sdk35/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

57 lines
1.4 KiB
Makefile

# New ports collection makefile for: Adobe Flex SDK
# Date created: 18 Oct 2007
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flex-sdk
PORTVERSION= 3.5.0.12683
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://fpdownload.adobe.com/pub/flex/sdk/builds/flex3/
DISTFILES= flex_sdk_${PORTVERSION}_mpl.zip
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Adobe Flex SDK
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
CONFLICTS= ja-flex-sdk-2.* flex-sdk-2.* flex-sdk-4.*
NO_LATEST_LINK= YES
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.5+
WRKSRC= ${WRKDIR}
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>
post-extract:
${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/*.exe
do-install:
.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}/ant/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} ${DOCSDIR}
${CP} -r ${WRKSRC}/*.htm ${DOCSDIR}/
.include <bsd.port.post.mk>