summaryrefslogtreecommitdiffstats
path: root/games/xgammon/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-09-13 12:07:09 +0000
committertg <tg@FreeBSD.org>2001-09-13 12:07:09 +0000
commit20e125f273be1a2145e8d515856f7dcf69a0bcdb (patch)
tree6935387a69a0d346ca0244286eef39d4061d9857 /games/xgammon/Makefile
parent36fc1acd4c51894c9c570433e113e16397ea5eec (diff)
downloadFreeBSD-ports-20e125f273be1a2145e8d515856f7dcf69a0bcdb.zip
FreeBSD-ports-20e125f273be1a2145e8d515856f7dcf69a0bcdb.tar.gz
Use $MASTER_SITE_REDHAT. Convert shell for loop to make .for loop.
PR: 30497 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Diffstat (limited to 'games/xgammon/Makefile')
-rw-r--r--games/xgammon/Makefile13
1 files changed, 6 insertions, 7 deletions
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 <bsd.port.mk>
OpenPOWER on IntegriCloud