aboutsummaryrefslogtreecommitdiffstats
path: root/games/umark/Makefile
blob: 1c131ae1a74312454b67069310ce76e656cf9587 (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
43
# New ports collection makefile for:    UMark
# Date created:             31 Jul 2005
# Whom:                 Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   umark
DISTVERSION=    2.0.0-Beta3
PORTREVISION=   7
CATEGORIES= games benchmarks
MASTER_SITES=   SF/ut2k3botbench/UMark%20for%20Linux/2.0.0%20Beta%203
DISTNAME=   UMark-for-Linux-v${DISTVERSION:S/.//g}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Unreal Tournament 200x series benchmark utility

LICENSE=    GPLv2

USE_GNOME=  gtk20
WRKSRC=     ${WRKDIR}/UMark/src
MAKEFILE=   ${FILESDIR}/Makefile
SUB_FILES=  pkg-message
PORTDOCS=   ChangeLog INSTALL README TODO

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${DATADIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${DATADIR}
    cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \
        ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${DOCSDIR}
.endif

post-install:
    @${ECHO_MSG}
    @${CAT} ${PKGMESSAGE}
    @${ECHO_MSG}

.include <bsd.port.mk>