- Unbreak the build after r317934

- Utilize USE_DOS2UNIX for text file conversion
- Utilize PORTDOCS and offload pkg-plist
This commit is contained in:
Alexey Dokuchaev 2013-05-12 10:10:37 +00:00
parent 26bab5998f
commit 4ddec5a6b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317941
2 changed files with 4 additions and 8 deletions

View File

@ -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>

View File

@ -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%%