From owner-freebsd-ports Wed May 17 2:14:42 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.surf1.de (mail.surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id D654E37B7AA; Wed, 17 May 2000 02:14:34 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.com (p3E9D38F7.dip0.t-ipconnect.de [62.157.56.247]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id LAA09493; Wed, 17 May 2000 11:14:28 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id A5841AC2C; Wed, 17 May 2000 11:14:39 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id LAA03911; Wed, 17 May 2000 11:14:35 +0200 (CEST) (envelope-from alex) Date: Wed, 17 May 2000 11:14:35 +0200 From: Alexander Langer To: asami@freebsd.org, ports@freebsd.org Subject: add (dist|patch)files and (master|patch)sites target to bsd.port.mk Message-ID: <20000517111435.A3863@cichlids.cichlids.com> Mail-Followup-To: asami@freebsd.org, ports@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wRRV7LY7NUeQGEoC" X-Mailer: Mutt 1.0.1i X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Hello! Please take a look at the attached patch. I'd really like to see that (or similar) commited, because I'm going to write some scripts that make use of that (I've already wrote one that extracts stuff itself, but this is not perfect of course). For example, I'm going to write a check-checksum-differences-script, which fetches the new one and the old one and diff -u's them. The targets are very useful in my eyes. Thanks! Alex -- I need a new ~/.sig. --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="distfiles.diff" Index: bsd.port.mk =================================================================== RCS file: /usr/home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.338 diff -u -r1.338 bsd.port.mk --- bsd.port.mk 2000/05/06 10:45:35 1.338 +++ bsd.port.mk 2000/05/17 09:11:37 @@ -1184,6 +1184,26 @@ @${ECHO} ${MAINTAINER} .endif +.if !target(distfiles) +distfiles: + @${ECHO} ${DISTFILES} +.endif + +.if !target(patchfiles) +patchfiles: + @${ECHO} ${PATCHFILES} +.endif + +.if !target(mastersites) +mastersites: + @${ECHO} ${MASTER_SITES} +.endif + +.if !target(patchsites) +patchsites: + @${ECHO} ${PATCH_SITES} +.endif + .if !defined(CATEGORIES) .BEGIN: @${ECHO} "${PKGNAME}: CATEGORIES is mandatory." --wRRV7LY7NUeQGEoC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message