aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-10-15 20:13:57 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-10-15 20:13:57 +0000
commit1336d02b76e6dc241ea293167b82c8619dce49cd (patch)
tree917a7580929f213675bedf9c8dec10508cfe7882 /games
parentae9b4d05035a89f13197c933aa02e4b434e5acfb (diff)
downloadports-1336d02b76e6dc241ea293167b82c8619dce49cd.tar.gz
ports-1336d02b76e6dc241ea293167b82c8619dce49cd.zip
make it possible to have more than 1 patch for q3server-* ports
Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=48815
Diffstat (limited to 'games')
-rw-r--r--games/q3server-ra3/Makefile6
-rw-r--r--games/quake3-ra3/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/games/q3server-ra3/Makefile b/games/q3server-ra3/Makefile
index d19b012dfffc..abf0bcd173b9 100644
--- a/games/q3server-ra3/Makefile
+++ b/games/q3server-ra3/Makefile
@@ -52,10 +52,12 @@ SORT?= /usr/bin/sort
Q3SERVER_PORT= ${.CURDIR}/../q3server
PKGMESSAGE!= cd ${Q3SERVER_PORT} && ${MAKE} -V PKGMESSAGE
-.if defined(HAS_WIERDPATCHES)
+.if defined(HAS_WIERDPATCHES) && defined(DISTFILES)
post-extract:
+.for files in ${DISTFILES:S/${EXTRACT_ONLY}//}
@cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${_DISTDIR}/${DISTFILES:S/${EXTRACT_ONLY}//}
+ ${DISTDIR}/${DIST_SUBDIR}/${files}
+.endfor
.endif
pre-patch:
diff --git a/games/quake3-ra3/Makefile b/games/quake3-ra3/Makefile
index d19b012dfffc..abf0bcd173b9 100644
--- a/games/quake3-ra3/Makefile
+++ b/games/quake3-ra3/Makefile
@@ -52,10 +52,12 @@ SORT?= /usr/bin/sort
Q3SERVER_PORT= ${.CURDIR}/../q3server
PKGMESSAGE!= cd ${Q3SERVER_PORT} && ${MAKE} -V PKGMESSAGE
-.if defined(HAS_WIERDPATCHES)
+.if defined(HAS_WIERDPATCHES) && defined(DISTFILES)
post-extract:
+.for files in ${DISTFILES:S/${EXTRACT_ONLY}//}
@cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
- ${_DISTDIR}/${DISTFILES:S/${EXTRACT_ONLY}//}
+ ${DISTDIR}/${DIST_SUBDIR}/${files}
+.endfor
.endif
pre-patch: