diff options
author | danfe <danfe@FreeBSD.org> | 2013-05-12 18:10:37 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-05-12 18:10:37 +0800 |
commit | 289e7324dd99a8b35c066f6716d4183f048bbb8e (patch) | |
tree | 625d6fb67b9fb8b872375373d73167a0299a6f63 /games/quake-reaper | |
parent | 58589c3f003df505a3e69f0c27ac87f85453a68b (diff) | |
download | freebsd-ports-gnome-289e7324dd99a8b35c066f6716d4183f048bbb8e.tar.gz freebsd-ports-gnome-289e7324dd99a8b35c066f6716d4183f048bbb8e.tar.zst freebsd-ports-gnome-289e7324dd99a8b35c066f6716d4183f048bbb8e.zip |
- Unbreak the build after r317934
- Utilize USE_DOS2UNIX for text file conversion
- Utilize PORTDOCS and offload pkg-plist
Diffstat (limited to 'games/quake-reaper')
-rw-r--r-- | games/quake-reaper/Makefile | 7 | ||||
-rw-r--r-- | games/quake-reaper/pkg-plist | 5 |
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%% |