aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake-reaper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake-reaper/Makefile')
-rw-r--r--games/quake-reaper/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/games/quake-reaper/Makefile b/games/quake-reaper/Makefile
index 67561c25023d..53cf84cfce25 100644
--- a/games/quake-reaper/Makefile
+++ b/games/quake-reaper/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: quake-reaper
-# Date created: 15 Sep 2005
-# Whom: Alejandro Pulver <alejandro@varnet.biz>
-#
+# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
-#
PORTNAME= reaper
PORTVERSION= 0.81
@@ -12,7 +8,7 @@ MASTER_SITES= http://www.mindspring.com/~win32ch/
PKGNAMEPREFIX= ${Q1PKGNAMEPREFIX}
DISTNAME= reaprb81
-MAINTAINER= danfe@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Quake 1 bots
USE_ZIP= yes
@@ -21,19 +17,22 @@ NO_WRKSUBDIR= yes
DATADIR= ${Q1DIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
@${MKDIR} ${DATADIR}
.for f in Autoexec.cfg PROGS.DAT
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f:L}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f:L}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-. for f in B08chg.txt Dedserv.txt Reaprb80.txt Skinspec.txt
+. 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
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f:L}
+. endfor
.endif
.include "${.CURDIR}/../quake-data/Makefile.include"
-
.include <bsd.port.mk>