aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/fhourstones/Makefile
blob: a968ec30314d2e04244a05a4184d9fce184249be (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
# New ports collection makefile for:    fhourstones
# Date created:     2006-11-23
# Whom:         trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#

PORTNAME=   fhourstones
PORTVERSION=    3.1
PORTREVISION=   1
CATEGORIES= benchmarks
MASTER_SITES=   http://homepages.cwi.nl/~tromp/c4/
DISTNAME=   Fhourstones

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Fhourstones Benchmark

NO_WRKSUBDIR=   yes
PLIST_FILES=    bin/fhourstones lib/fhourstones/SearchGame lib/fhourstones/inputs
PLIST_DIRS= lib/fhourstones

post-patch:
        @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
        @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones

do-install:
        ${MKDIR} ${PREFIX}/lib/fhourstones
        ${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${PREFIX}/bin
        ${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${PREFIX}/lib/fhourstones/
        ${INSTALL_DATA} ${WRKDIR}/inputs ${PREFIX}/lib/fhourstones

.include <bsd.port.mk>