aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake-reaper/Makefile
blob: 55ae9f02ca3a074840fcdd4635336f34c1eb5bfa (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
# New ports collection makefile for:    quake-reaper
# Date created:             15 Sep 2005
# Whom:                 Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=   reaper
PORTVERSION=    0.81
CATEGORIES= games
MASTER_SITES=   http://www.mindspring.com/~win32ch/
PKGNAMEPREFIX=  ${Q1PKGNAMEPREFIX}
DISTNAME=   reaprb81

MAINTAINER= alepulver@FreeBSD.org
COMMENT=    Quake 1 bots

USE_ZIP=    yes
USE_REINPLACE=  yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

DATADIR=    ${Q1DIR}/${PORTNAME}

do-install:
    @${MKDIR} ${DATADIR}
.for f in Autoexec.cfg PROGS.DAT
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f:L}
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.   for f in B08chg.txt Dedserv.txt Reaprb80.txt Skinspec.txt
    @${REINPLACE_CMD} -e "s|`${ECHO_CMD} -e '\r'`$$||" ${WRKSRC}/${f}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f:L}
.   endfor
.endif

.include "${.CURDIR}/../quake-data/Makefile.include"

.include <bsd.port.mk>