aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/pnetmark/Makefile
blob: 882f257f52f206c610fb8f3d57c36178e1184fc8 (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
33
34
35
36
37
38
39
40
41
42
# Created by: michael johnson <ahze@ahze.net>
# $FreeBSD$

PORTNAME=   pnetmark
PORTVERSION=    0.0.6
PORTREVISION=   1
CATEGORIES= benchmarks
MASTER_SITES=   ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Benchmarking tool for Common Language Runtime (CLR)

BUILD_DEPENDS=  cscc:${PORTSDIR}/lang/pnet-base \
        csunit:${PORTSDIR}/lang/pnetlib
RUN_DEPENDS=    cscc:${PORTSDIR}/lang/pnet-base \
        csunit:${PORTSDIR}/lang/pnetlib

GNU_CONFIGURE=  yes
USES=       gmake
STRIP=      # Nothing to Strip
PORTDOCS=   pm_faq.html
PNET_STRAP_BIN= pnetmark \
        linpack \
        scimark2

NO_STAGE=   yes
.include "${.CURDIR}/../../lang/pnet/Makefile.pnet"
.include <bsd.port.pre.mk>

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/src/pnetmark.exe ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/linpack/linpack.exe ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/scimark2/scimark2.exe ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>