aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake-reaper/Makefile
blob: d229a3b1c92d34d6474652bb8234c7b32bf66c63 (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
# 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
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>