2015-12-11 08:48:56 +00:00
|
|
|
# Created by: Jason Bacon <bacon4000@gmail.com>
|
2011-12-26 19:15:23 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= x10
|
|
|
|
PORTVERSION= 2.2.1
|
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
2017-04-01 15:23:30 +00:00
|
|
|
PORTREVISION= 5
|
2011-12-26 19:15:23 +00:00
|
|
|
CATEGORIES= lang devel java
|
2012-01-01 18:29:12 +00:00
|
|
|
MASTER_SITES= http://dist.codehaus.org/x10/dependencies/ \
|
|
|
|
SF
|
2011-12-26 19:15:23 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2015-05-11 18:34:57 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
2012-01-01 18:29:12 +00:00
|
|
|
lpg.runtime.java_2.0.22.jar \
|
|
|
|
ecj-3.5.1.jar \
|
|
|
|
com.ibm.wala.cast.java_1.0.0.201101071300.jar \
|
|
|
|
com.ibm.wala.cast_1.0.0.201101071300.jar \
|
|
|
|
com.ibm.wala.core_1.1.3.201101071300.jar \
|
|
|
|
com.ibm.wala.shrike_1.3.1.201101071300.jar \
|
|
|
|
org.eclipse.equinox.common_3.6.0.v20100503.jar \
|
|
|
|
commons-math-2.2.jar \
|
|
|
|
bdwgc-7.1.tar.gz
|
2015-05-11 18:34:57 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2011-12-26 19:15:23 +00:00
|
|
|
|
2015-12-11 08:48:56 +00:00
|
|
|
MAINTAINER= bacon4000@gmail.com
|
2012-07-29 11:17:02 +00:00
|
|
|
COMMENT= Object-oriented parallel programming language
|
2011-12-26 19:15:23 +00:00
|
|
|
|
2014-01-14 02:40:02 +00:00
|
|
|
LICENSE= EPL
|
|
|
|
|
2014-07-29 21:43:17 +00:00
|
|
|
USES= tar:bzip2
|
2011-12-26 19:15:23 +00:00
|
|
|
USE_JAVA= yes
|
2015-10-19 16:42:58 +00:00
|
|
|
JAVA_VERSION= 1.6 1.7
|
2011-12-26 19:15:23 +00:00
|
|
|
USE_ANT= yes
|
2014-01-14 02:40:02 +00:00
|
|
|
USE_GCC= yes
|
2011-12-26 19:15:23 +00:00
|
|
|
|
|
|
|
USE_LDCONFIG= ${PREFIX}/stdlib/lib
|
|
|
|
|
|
|
|
# Can't have USE_GMAKE with USE_ANT: They imply conflicting do-build actions.
|
2016-04-01 14:08:37 +00:00
|
|
|
BUILD_DEPENDS+= gmake:devel/gmake \
|
|
|
|
bash:shells/bash
|
2011-12-26 19:15:23 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/x10.dist
|
|
|
|
|
2014-02-21 13:37:50 +00:00
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
2014-02-10 13:54:26 +00:00
|
|
|
|
2015-10-17 12:59:36 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-12-26 19:15:23 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's/value="make"/value="gmake"/g' \
|
|
|
|
${WRKDIR}/x10.runtime/build.xml
|
2012-01-01 18:29:12 +00:00
|
|
|
${MKDIR} ${WRKSRC}/lib ${WRKDIR}/x10.runtime/src-cpp/bdwgc/src
|
|
|
|
${CP} ${DISTDIR}/lpg.runtime.java_2.0.22.jar ${WRKSRC}/lib/lpg.jar
|
|
|
|
${CP} ${DISTDIR}/ecj-3.5.1.jar ${WRKSRC}/lib/ecj.jar
|
|
|
|
${CP} ${DISTDIR}/com.ibm.wala.cast.java_1.0.0.201101071300.jar ${WRKSRC}/lib
|
|
|
|
${CP} ${DISTDIR}/com.ibm.wala.cast_1.0.0.201101071300.jar ${WRKSRC}/lib
|
|
|
|
${CP} ${DISTDIR}/com.ibm.wala.core_1.1.3.201101071300.jar ${WRKSRC}/lib
|
|
|
|
${CP} ${DISTDIR}/com.ibm.wala.shrike_1.3.1.201101071300.jar ${WRKSRC}/lib
|
|
|
|
${CP} ${DISTDIR}/org.eclipse.equinox.common_3.6.0.v20100503.jar ${WRKSRC}/lib
|
|
|
|
${CP} ${DISTDIR}/commons-math-2.2.jar ${WRKSRC}/lib
|
|
|
|
${CP} ${DISTDIR}/bdwgc-7.1.tar.gz ${WRKDIR}/x10.runtime/src-cpp/bdwgc
|
2014-05-18 20:21:18 +00:00
|
|
|
(cd ${WRKDIR}/x10.runtime/src-cpp/bdwgc/src && tar zxvf ../bdwgc-7.1.tar.gz && ${REINPLACE_CMD} -e 's|freebsd1\*|freebsd1.*|g' configure)
|
2011-12-26 19:15:23 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for f in X10Launcher apgas precommit x10 x10c x10c++ x10j
|
2014-01-14 02:40:02 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin
|
2011-12-26 19:15:23 +00:00
|
|
|
.endfor
|
2014-01-14 02:40:02 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/stdlib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/* ${STAGEDIR}${PREFIX}/etc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${PREFIX}/lib
|
|
|
|
${CP} -R ${WRKSRC}/stdlib/* ${STAGEDIR}${PREFIX}/stdlib
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
|
2011-12-26 19:15:23 +00:00
|
|
|
.endif
|
|
|
|
|
2015-10-17 12:59:36 +00:00
|
|
|
.include <bsd.port.post.mk>
|