diff options
author | lioux <lioux@FreeBSD.org> | 2001-10-16 04:13:57 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-10-16 04:13:57 +0800 |
commit | 205190a9570323377aa4623414cecd6bcbad6497 (patch) | |
tree | edfd13dbd7c2473e885c60181e233b37f3e2999c /games | |
parent | 7f31b90bc97a3ec8c8c0466d5357d36550ba419d (diff) | |
download | freebsd-ports-gnome-205190a9570323377aa4623414cecd6bcbad6497.tar.gz freebsd-ports-gnome-205190a9570323377aa4623414cecd6bcbad6497.tar.zst freebsd-ports-gnome-205190a9570323377aa4623414cecd6bcbad6497.zip |
make it possible to have more than 1 patch for q3server-* ports
Submitted by: MAINTAINER
Diffstat (limited to 'games')
-rw-r--r-- | games/q3server-ra3/Makefile | 6 | ||||
-rw-r--r-- | games/quake3-ra3/Makefile | 6 |
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: |