diff options
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%% |