Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/benchmarks/mdtest/Makefile 335096 2013-11-28 14:53:00Z danilo $ |
2 |
# $FreeBSD: head/benchmarks/mdtest/Makefile 335096 2013-11-28 14:53:00Z danilo $ |
3 |
|
3 |
|
4 |
PORTNAME= mdtest |
4 |
PORTNAME= mdtest |
5 |
PORTVERSION= 1.9.2 |
5 |
PORTVERSION= 1.9.3 |
6 |
CATEGORIES= benchmarks |
6 |
CATEGORIES= benchmarks |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION} |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION} |
8 |
EXTRACT_SUFX= .tgz |
8 |
EXTRACT_SUFX= .tgz |
Lines 15-27
Link Here
|
15 |
OPTIONS_DEFINE= OPENMPI EXAMPLES |
15 |
OPTIONS_DEFINE= OPENMPI EXAMPLES |
16 |
OPENMPI_DESC= Use Open MPI instead of MPICH2 |
16 |
OPENMPI_DESC= Use Open MPI instead of MPICH2 |
17 |
|
17 |
|
18 |
PORTEXAMPLES= * |
|
|
19 |
PLIST_FILES= bin/${PORTNAME} \ |
20 |
man/man1/mdtest.1.gz |
21 |
|
22 |
NO_WRKSUBDIR= yes |
18 |
NO_WRKSUBDIR= yes |
|
|
19 |
|
23 |
CFLAGS+= -DDarwin |
20 |
CFLAGS+= -DDarwin |
24 |
|
21 |
|
|
|
22 |
PORTEXAMPLES= * |
23 |
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz |
24 |
|
25 |
.include <bsd.port.options.mk> |
25 |
.include <bsd.port.options.mk> |
26 |
|
26 |
|
27 |
.if ${PORT_OPTIONS:MOPENMPI} |
27 |
.if ${PORT_OPTIONS:MOPENMPI} |
Lines 38-46
Link Here
|
38 |
(cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lm) |
38 |
(cd ${WRKSRC} && ${MPICC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lm) |
39 |
|
39 |
|
40 |
do-install: |
40 |
do-install: |
41 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin) |
41 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ |
42 |
(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1) |
42 |
${STAGEDIR}${PREFIX}/bin) |
|
|
43 |
(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 \ |
44 |
${STAGEDIR}${MANPREFIX}/man/man1) |
43 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
45 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
44 |
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}) |
46 |
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} * \ |
|
|
47 |
${STAGEDIR}${EXAMPLESDIR}) |
45 |
|
48 |
|
46 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |