summaryrefslogtreecommitdiff
path: root/lang/cilk/Makefile
blob: 67b6db18b4f8dd7c9446d0bacbeb8cf7af73140e (plain)
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
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.11 2003/07/10 13:16:20 jtb Exp $

DISTNAME=		cilk-5.3.1
PKGREVISION=		2
CATEGORIES=		lang parallel
MASTER_SITES=		http://supertech.lcs.mit.edu/cilk/ \
			ftp://theory.lcs.mit.edu/pub/cilk/

MAINTAINER=		tech-pkg@netbsd.org
HOMEPAGE=		http://supertech.lcs.mit.edu/cilk/
COMMENT=		multithreaded parallel programming language based on ANSI C

ONLY_FOR_PLATFORM=	*-*-alpha *-*-i386 -*-*mipse[bl] *-*-powerpc *-*-sparc

GNU_CONFIGURE=		# defined
USE_BUILDLINK2=	 	# defined
USE_GMAKE=		# defined
USE_PERL5=		yes
USE_LIBTOOL=		yes
PTHREAD_OPTS+=		require

LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
LTCONFIG_OVERRIDE= 	${WRKSRC}/ltconfig

USE_NEW_TEXINFO=	YES
INFO_FILES=		cilk-faq.info

TEST_TARGET=		check

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cilk
	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING			\
		FAQ/cilk-faq.ascii README THANKS doc/manual.ps		\
		${PREFIX}/share/doc/cilk
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cilk
	cd ${WRKSRC}/examples && ${INSTALL_DATA} *.cilk *.c *.input	\
		${PREFIX}/share/examples/cilk
	${INSTALL_DATA} ${WRKSRC}/FAQ/cilk-faq.info ${PREFIX}/info

.include "../../devel/pth/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"