diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-12-09 08:04:41 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-12-09 08:04:41 +0000 |
commit | c9993535b39fd0d83442c73418a410f8c4b9ae57 (patch) | |
tree | 88860691d776cb133611e53652ad2e41f8ecefcc /games/quake-source | |
parent | 278852703fd3f5b8e61957f9aa47d041759c3892 (diff) | |
download | ports-c9993535b39fd0d83442c73418a410f8c4b9ae57.tar.gz ports-c9993535b39fd0d83442c73418a410f8c4b9ae57.zip |
Fix paths and CRLF
PR: ports/90122
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=150706
Diffstat (limited to 'games/quake-source')
-rw-r--r-- | games/quake-source/Makefile | 5 | ||||
-rw-r--r-- | games/quake-source/files/patch-send_v101qc_progs.src | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/games/quake-source/Makefile b/games/quake-source/Makefile index ca8f0d9171b0..125a63437bdd 100644 --- a/games/quake-source/Makefile +++ b/games/quake-source/Makefile @@ -38,6 +38,11 @@ PLIST_SUB+= QUAKEWORLD="" PLIST_SUB+= QUAKEWORLD="@comment " .endif +pre-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${FILE} | \ + ${GREP} 'CRLF' | ${SED} -e 's/:.*//' | \ + ${XARGS} ${REINPLACE_CMD} -i "" -e "s/`${PRINTF} '\r'`$$//" + do-install: @${MKDIR} ${DATADIR} @${CP} -R ${WRKSRC}/send/v101qc ${DATADIR} diff --git a/games/quake-source/files/patch-send_v101qc_progs.src b/games/quake-source/files/patch-send_v101qc_progs.src new file mode 100644 index 000000000000..7457b20d96df --- /dev/null +++ b/games/quake-source/files/patch-send_v101qc_progs.src @@ -0,0 +1,8 @@ +--- send/v101qc/progs.src.orig Thu Jul 25 03:51:28 1996 ++++ send/v101qc/progs.src Thu Dec 8 17:57:20 2005 +@@ -1,4 +1,4 @@ +-../progs.dat ++./progs.dat + + defs.qc + subs.qc |