From 205190a9570323377aa4623414cecd6bcbad6497 Mon Sep 17 00:00:00 2001 From: lioux Date: Mon, 15 Oct 2001 20:13:57 +0000 Subject: make it possible to have more than 1 patch for q3server-* ports Submitted by: MAINTAINER --- games/quake3-ra3/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'games/quake3-ra3') diff --git a/games/quake3-ra3/Makefile b/games/quake3-ra3/Makefile index d19b012..abf0bcd 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: -- cgit v1.1