Date: Wed, 17 May 2000 11:14:35 +0200 From: Alexander Langer <alex@big.endian.de> 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>
next in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000517111435.A3863>