From 20e125f273be1a2145e8d515856f7dcf69a0bcdb Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 13 Sep 2001 12:07:09 +0000 Subject: Use $MASTER_SITE_REDHAT. Convert shell for loop to make .for loop. PR: 30497 Submitted by: Cyrille Lefevre --- games/xgammon/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'games/xgammon/Makefile') diff --git a/games/xgammon/Makefile b/games/xgammon/Makefile index 0440bdae..cb1782c 100644 --- a/games/xgammon/Makefile +++ b/games/xgammon/Makefile @@ -8,9 +8,8 @@ PORTNAME= xgammon PORTVERSION= 0.98 CATEGORIES= games -MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/current/SRPMS/SRPMS/ \ - ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.redhat.com/redhat/current/SRPMS/SRPMS/ \ - ftp://sunsite.Informatik.RWTH-Aachen.DE/pub/comp/Linux/redhat/current/SRPMS/SRPMS/ +MASTER_SITES= ${MASTER_SITE_REDHAT} +MASTER_SITE_SUBDIR= linux/6.2/en/os/${MACHINE_ARCH}/SRPMS EXTRACT_SUFX= -15.src.rpm PATCH_DIST_STRIP= -p1 @@ -23,7 +22,7 @@ NO_WRKSUBDIR= yes USE_IMAKE= yes MAN6= xgammon.6 -PATCH_FILES= ${DISTNAME}-dirent.patch +PATCH_FILES= ${PORTNAME}-${PORTVERSION}-dirent.patch do-extract: @${RM} -rf ${WRKDIR} @@ -33,8 +32,8 @@ do-extract: pre-patch: @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}" - @for file in ${PATCH_FILES}; do \ - ${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/$$file; \ - done +.for file in ${PATCH_FILES} + @${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${file} +.endfor .include -- cgit v1.1