1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/flex-sdk/Makefile
Mathieu Arnold bcc4614ebb Fixup pkgnames.
PR:		ports/184440, ports/184441, ports/184442, ports/184443, ports/184444, ports/184445, ports/184446, ports/184447, ports/184448, ports/184449, ports/184450
Submitted by:	mat
Approved by:	portmgr (bapt)
2013-12-05 11:10:49 +00:00

54 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= flex-sdk
PORTVERSION= 4.6.0.23201
CATEGORIES= devel java
MASTER_SITES= http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/
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-sdk2-2.* flex-sdk3-3.*
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.6+
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
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract:
${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/*.exe
${FIND} ${WRKSRC} -print0 -type f | ${XARGS} -0 ${CHMOD} og+r
${FIND} ${WRKSRC} -print0 -type f -perm +0111 | ${XARGS} -0 ${CHMOD} og+rx
${FIND} ${WRKSRC} -print0 -type d | ${XARGS} -0 ${CHMOD} og+rx
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>