Avoid hard-coding the GCC release series in the cklatest target.

This commit is contained in:
Gerald Pfeifer 2006-05-12 19:48:37 +00:00
parent 6d01da656b
commit b6acded77e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162196
10 changed files with 10 additions and 10 deletions

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -129,7 +129,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.0'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -182,7 +182,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.1'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>

View File

@ -190,7 +190,7 @@ post-install:
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
.endfor
.include <bsd.port.post.mk>