blob: fc91c50dba645af7607d76eb12d8b00d0de22135 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# $NetBSD: Makefile,v 1.19 2008/05/26 02:13:16 joerg Exp $
#
DISTNAME= skampi4
PKGNAME= skampi-4.0.1
PKGREVISION= 3
CATEGORIES= benchmarks parallel
MASTER_SITES= http://liinwww.ira.uka.de/~skampi/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}_userman.ps.gz
DISTFILES+= skampili.ps
MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://liinwww.ira.uka.de/~skampi/
COMMENT= MPI (Message Passing Interface) benchmarks
DEPENDS+= gnuplot>=3.7.1:../../graphics/gnuplot
TEX_ACCEPTED= teTeX3
PKG_DESTDIR_SUPPORT= user-destdir
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
USE_TOOLS+= pax perl:run
REPLACE_PERL= report_generator/dorep4.pl
DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= bin
do-build:
${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}_userman.ps.gz > \
${WRKSRC}/${DISTNAME}_userman.ps
(cd ${WRKSRC} && \
${PREFIX}/bin/mpicc -o skosfile skosfile.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/skosfile ${DESTDIR}${PREFIX}/bin/skosfile
${INSTALL_SCRIPT} ${WRKSRC}/report_generator/dorep4.pl \
${DESTDIR}${PREFIX}/bin/dorep4.pl
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/skampi/dri
(cd ${WRKSRC}/report_generator/dri && \
pax -rw . ${DESTDIR}${PREFIX}/share/skampi/dri)
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/skampi
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}_userman.ps \
${DESTDIR}${PREFIX}/share/doc/skampi/
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/skampili.ps \
${DESTDIR}${PREFIX}/share/doc/skampi/
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/skampi
${INSTALL_DATA} ${WRKSRC}/.skampi \
${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi
${INSTALL_DATA} ${WRKSRC}/.skampi-all-collectives \
${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi-all-collectives
${INSTALL_DATA} ${WRKSRC}/.skampi-dt-long \
${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi-dt-long
${INSTALL_DATA} ${WRKSRC}/.skampi-dt-short \
${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi-dt-short
.include "../../parallel/mpi-ch/buildlink3.mk"
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|