diff options
author | vs <vs@FreeBSD.org> | 2005-12-09 16:04:41 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-12-09 16:04:41 +0800 |
commit | 1cd1629f9f4996d151f1f8c3c4ca9b1d6110d2f3 (patch) | |
tree | 79338b2a8da24799655b0a87e1796a9e1e0106f1 /games/quake-source | |
parent | e3545a9e185f598c01c637380c072e7b50eb9b59 (diff) | |
download | freebsd-ports-gnome-1cd1629f9f4996d151f1f8c3c4ca9b1d6110d2f3.tar.gz freebsd-ports-gnome-1cd1629f9f4996d151f1f8c3c4ca9b1d6110d2f3.tar.zst freebsd-ports-gnome-1cd1629f9f4996d151f1f8c3c4ca9b1d6110d2f3.zip |
Fix paths and CRLF
PR: ports/90122
Submitted by: maintainer
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 |