svn commit: r317941 - head/games/quake-reaper

Alexey Dokuchaev danfe at FreeBSD.org
Sun May 12 10:10:38 UTC 2013


Author: danfe
Date: Sun May 12 10:10:37 2013
New Revision: 317941
URL: http://svnweb.freebsd.org/changeset/ports/317941

Log:
  - Unbreak the build after r317934
  - Utilize USE_DOS2UNIX for text file conversion
  - Utilize PORTDOCS and offload pkg-plist

Modified:
  head/games/quake-reaper/Makefile
  head/games/quake-reaper/pkg-plist

Modified: head/games/quake-reaper/Makefile
==============================================================================
--- head/games/quake-reaper/Makefile	Sun May 12 09:45:24 2013	(r317940)
+++ head/games/quake-reaper/Makefile	Sun May 12 10:10:37 2013	(r317941)
@@ -12,13 +12,16 @@ MAINTAINER=	ports at 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>

Modified: head/games/quake-reaper/pkg-plist
==============================================================================
--- head/games/quake-reaper/pkg-plist	Sun May 12 09:45:24 2013	(r317940)
+++ head/games/quake-reaper/pkg-plist	Sun May 12 10:10:37 2013	(r317941)
@@ -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%%


More information about the svn-ports-all mailing list