From owner-freebsd-gnome Mon Mar 3 15:28:53 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16D6637B405; Mon, 3 Mar 2003 15:28:51 -0800 (PST) Received: from hotmail.com (f54.sea2.hotmail.com [207.68.165.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43FEA43F93; Mon, 3 Mar 2003 15:28:50 -0800 (PST) (envelope-from reigncracks@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 3 Mar 2003 15:28:49 -0800 Received: from 68.103.32.11 by sea2fd.sea2.hotmail.msn.com with HTTP; Mon, 03 Mar 2003 23:28:49 GMT X-Originating-IP: [68.103.32.11] From: "Mezz bsdforums.org" To: kris@obsecurity.org Cc: gnome@freebsd.org, ports@freebsd.org Subject: Re: Is it allow port to do the CVS checkout by itself? Date: Mon, 03 Mar 2003 18:28:49 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Mar 2003 23:28:49.0862 (UTC) FILETIME=[A5175660:01C2E1DC] Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >On Mon, Mar 03, 2003 at 01:40:57PM -0500, Mezz bsdforums.org wrote: > > Hello franz, > > > > Yes, I am aware of those. What I am asking in the orignal question is > > that.. Is it allow to have "cvs checkout" in the Makefile? It means, >there > > will be no checksum, but will checkout the very lastest stable version >of > > VIM, patch lastest vim-gtk2 and install it. I seem to not able find this > > info in the handbook about CVS. Hope, I am not blind. (I forgot to cc >ports > > maillist..) :-) > >You shouldn't do CVS checkouts to fetch the port. Many people are >behind firewalls and cannot do this. Instead, you could create a >'maintainer-fetch' target that performs the CVS fetch and creates a >tarball, which will be uploaded to a distribution site, so users will >fetch that instead. Ok, I did the search and found other better one. $ find /usr/ports -maxdepth 3 -name Makefile | xargs egrep -l "z3" /usr/ports/devel/error/Makefile /usr/ports/editors/mg/Makefile /usr/ports/lang/gcc32/Makefile .... ... I think, I am going to copy the error/Makefile's way like this: ================================ # # CVS checkout stuff mostly stolen from security/openssh-askpass port by # kris@freebsd.org # tarball: @${MKDIR} ${DISTDIR}/${PKGNAME} && \ cd ${DISTDIR}/${PKGNAME}; \ for CVS_SITE in ${CVS_SITES}; do \ ${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \ if ${CVS_CMD} -d $${CVS_SITE} co -D "${CVS_DATE}" \ ${CVS_MODULE}; then \ cd ${DISTDIR}; \ ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \ ${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \ ${MV} ${PKGNAME}/${CVS_MODULE} \ ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \ ${TAR} -cz \ -X ${FILESDIR}/tarignore \ -f ${PKGNAME}.tar.gz \ -C ${PKGNAME}/${CVS_MODULE:H} \ ${PKGNAME}; \ exit; \ fi \ done; \ ${RMDIR} ${DISTDIR}/${PKGNAME}; \ ${ECHO_MSG} ">> CVS checkout failed."; \ exit 1; ================================ Is it fine? :-) Cheers, Mezz _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message