convenience target for porters: peek-ftp connects to the first MASTER_SITES

and leaves you at the ftp prompt in the directory where stuff is fetched
from.

(I find myself using this quite often to figure out which version of stuff
exists, especially for CPAN).
This commit is contained in:
espie 2006-07-01 11:08:05 +00:00
parent 9c6f73271f
commit 82ba15cff7

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.749 2006/06/18 10:10:04 sturm Exp $
# $OpenBSD: bsd.port.mk,v 1.750 2006/07/01 11:08:05 espie Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -2756,6 +2756,9 @@ uninstall deinstall:
. endif
.endif
peek-ftp:
@for i in ${MASTER_SITES}; do echo "Connecting to $$i"; ${FETCH_CMD} $$i ; break; done
show-required-by:
@cd ${PORTSDIR} && make all-dir-depends | perl ${PORTSDIR}/infrastructure/build/extract-dependencies -r ${FULLPKGPATH}
@ -2807,4 +2810,4 @@ show-required-by:
_internal-manpages-check _internal-plist _internal-update-plist \
_internal-update update print-plist print-plist-contents \
_list-port-libs _print-package-signature-lib _print-package-signature-run \
show-required-by
show-required-by peek-ftp