aboutsummaryrefslogtreecommitdiffstats
path: root/java/jomp/Makefile
blob: 60fde7b940ea9436e04fb74194d80a187a8602a1 (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
# Created by: Christian Brueffer <brueffer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jomp
PORTVERSION=    1.0b
PORTREVISION=   2
CATEGORIES= java parallel
MASTER_SITES=   http://www2.epcc.ed.ac.uk/computing/research_activities/jomp/download/
DISTNAME=   ${PORTNAME}${PORTVERSION}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= brueffer@FreeBSD.org
COMMENT=    Prototype OpenMP implementation for Java

USE_JAVA=   yes
JAVA_VERSION=   1.6+

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

JARFILE=    ${DISTNAME}${EXTRACT_SUFX}

PLIST_FILES=    %%JAVAJARDIR%%/${JARFILE}

do-install:
    @${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
    @${CP} ${DISTDIR}/${JARFILE} ${JAVAJARDIR}/${JARFILE}
    @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${JAVAJARDIR}/${JARFILE}
    @${ECHO} " [ DONE ]"

.include <bsd.port.mk>