aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2014-01-14 10:40:02 +0800
committermandree <mandree@FreeBSD.org>2014-01-14 10:40:02 +0800
commit2e50481b07b93df7e84ebca75a28cdfdfd0573f0 (patch)
tree58f99065746f8368dfbbbfd32ff944d3df7c9334 /lang
parentb1867b2cfc508b855e856713368d27fb4948a71e (diff)
downloadfreebsd-ports-gnome-2e50481b07b93df7e84ebca75a28cdfdfd0573f0.tar.gz
freebsd-ports-gnome-2e50481b07b93df7e84ebca75a28cdfdfd0573f0.tar.zst
freebsd-ports-gnome-2e50481b07b93df7e84ebca75a28cdfdfd0573f0.zip
- Stop-gap update to fix build on 10.0-BETA1. [1]
- Add LICENSE=EPL. [1] - Convert to staging. [2] - Add missing trailing slash to URL in pkg-descr. [2] PR: ports/183557 Submitted by: Jason Bacon (maintainer) [1] Approved by: portmgr@ (implicit, blanket) [2]
Diffstat (limited to 'lang')
-rw-r--r--lang/x10/Makefile24
-rw-r--r--lang/x10/pkg-descr2
2 files changed, 15 insertions, 11 deletions
diff --git a/lang/x10/Makefile b/lang/x10/Makefile
index 39ab02f07db3..25a98fdf00e9 100644
--- a/lang/x10/Makefile
+++ b/lang/x10/Makefile
@@ -22,10 +22,13 @@ EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}
MAINTAINER= jwbacon@tds.net
COMMENT= Object-oriented parallel programming language
+LICENSE= EPL
+
USE_BZIP2= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
+USE_GCC= yes
USE_LDCONFIG= ${PREFIX}/stdlib/lib
@@ -35,7 +38,8 @@ BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake \
WRKSRC= ${WRKDIR}/x10.dist
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -e 's/value="make"/value="gmake"/g' \
${WRKDIR}/x10.runtime/build.xml
@@ -52,16 +56,16 @@ post-patch:
do-install:
.for f in X10Launcher apgas precommit x10 x10c x10c++ x10j
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
- ${MKDIR} ${PREFIX}/stdlib
- ${INSTALL_DATA} ${WRKSRC}/etc/* ${PREFIX}/etc
- ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/lib
- ${CP} -R ${WRKSRC}/stdlib/* ${PREFIX}/stdlib
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/samples/* ${EXAMPLESDIR}
+ ${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}
.endif
.include <bsd.port.mk>
diff --git a/lang/x10/pkg-descr b/lang/x10/pkg-descr
index 50e50b11ad35..46edc0083e75 100644
--- a/lang/x10/pkg-descr
+++ b/lang/x10/pkg-descr
@@ -3,4 +3,4 @@ provide a programming model that can address the architectural challenge
of multiples cores, hardware accelerators, clusters, and supercomputers
in a manner that provides scalable performance in a productive manner.
-WWW: http://x10-lang.org
+WWW: http://x10-lang.org/