aboutsummaryrefslogtreecommitdiff
path: root/games/quake-reaper
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-12 10:10:37 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-12 10:10:37 +0000
commit4ddec5a6b7efda8179bce8fa6d6b2c88c8cca424 (patch)
tree625d6fb67b9fb8b872375373d73167a0299a6f63 /games/quake-reaper
parent26bab5998f0b200ea0813b11cb88c40795c3725e (diff)
downloadports-4ddec5a6b7efda8179bce8fa6d6b2c88c8cca424.tar.gz
ports-4ddec5a6b7efda8179bce8fa6d6b2c88c8cca424.zip
- Unbreak the build after r317934
- Utilize USE_DOS2UNIX for text file conversion - Utilize PORTDOCS and offload pkg-plist
Notes
Notes: svn path=/head/; revision=317941
Diffstat (limited to 'games/quake-reaper')
-rw-r--r--games/quake-reaper/Makefile7
-rw-r--r--games/quake-reaper/pkg-plist5
2 files changed, 4 insertions, 8 deletions
diff --git a/games/quake-reaper/Makefile b/games/quake-reaper/Makefile
index 53cf84cfce25..507b9f2fa5f0 100644
--- a/games/quake-reaper/Makefile
+++ b/games/quake-reaper/Makefile
@@ -12,13 +12,16 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Quake 1 bots
USE_ZIP= yes
+USE_DOS2UNIX= ${PORTDOCS}
NO_BUILD= yes
NO_WRKSUBDIR= yes
DATADIR= ${Q1DIR}/${PORTNAME}
+PORTDOCS= B08chg.txt Dedserv.txt Reaprb80.txt Skinspec.txt
OPTIONS_DEFINE= DOCS
+.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.options.mk>
do-install:
@@ -28,11 +31,9 @@ do-install:
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-. for f in B08chg.txt Dedserv.txt Reaprb80.txt Skinspec.txt
- @${REINPLACE_CMD} -e "s|`${ECHO_CMD} -e '\r'`$$||" ${WRKSRC}/${f}
+. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/${f:L}
. endfor
.endif
-.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.mk>
diff --git a/games/quake-reaper/pkg-plist b/games/quake-reaper/pkg-plist
index 27e93b2a4918..32f44fe5562a 100644
--- a/games/quake-reaper/pkg-plist
+++ b/games/quake-reaper/pkg-plist
@@ -1,8 +1,3 @@
-%%PORTDOCS%%%%DOCSDIR%%/b08chg.txt
-%%PORTDOCS%%%%DOCSDIR%%/dedserv.txt
-%%PORTDOCS%%%%DOCSDIR%%/reaprb80.txt
-%%PORTDOCS%%%%DOCSDIR%%/skinspec.txt
%%DATADIR%%/autoexec.cfg
%%DATADIR%%/progs.dat
@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%