Date: Fri, 6 Nov 1998 16:11:21 -0800 (PST) From: asami@FreeBSD.ORG (Satoshi Asami) To: jkh@time.cdrom.com, ports@FreeBSD.ORG Subject: Re: Who built XFree86 with Kerberos? Message-ID: <199811070011.QAA10288@silvia.hip.berkeley.edu> In-Reply-To: <199811062257.OAA10011@silvia.hip.berkeley.edu> (asami@FreeBSD.ORG)
next in thread | previous in thread | raw e-mail | index | archive | help
> Oh, and another thing that could go a long way towards you being able > to grab a "snapshot" from ftp.freebsd.org or wherever and just burn a > CD is a top-down target to clean NO_CDROM and RESTRICTED packages and > distfiles. (I know, that's my job...I'll send you a patch.) Something like this? === Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.port.mk,v retrieving revision 1.227.2.58 diff -u -r1.227.2.58 bsd.port.mk --- bsd.port.mk 1998/10/30 08:29:06 1.227.2.58 +++ bsd.port.mk 1998/11/07 00:09:48 +################################################################ +# Clean directories for ftp or CDROM. +################################################################ + +.if defined(RESTRICTED) +clean-restricted: clean-distfiles delete-package +.else +clean-restricted: +.endif + +.if defined(NO_CDROM) +clean-for-cdrom: clean-distfiles delete-package +.else +clean-for-cdrom: +.endif + .if defined(ALL_HOOK) all: @cd ${.CURDIR} && ${SETENV} CURDIR=${.CURDIR} DISTNAME=${DISTNAME} \ @@ -1624,7 +1642,11 @@ .endif .if !target(distclean) -distclean: pre-distclean clean +distclean: pre-distclean clean clean-distfiles +.endif + +.if !target(clean-distfiles) +clean-distfiles: @${ECHO_MSG} "===> Dist cleaning for ${PKGNAME}" @(if [ "X${DISTFILES}${PATCHFILES}" != "X" -a -d ${_DISTDIR} ]; then \ cd ${_DISTDIR}; \ Index: bsd.port.subdir.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.port.subdir.mk,v retrieving revision 1.15.2.5 diff -u -r1.15.2.5 bsd.port.subdir.mk --- bsd.port.subdir.mk 1998/10/30 08:29:07 1.15.2.5 +++ bsd.port.subdir.mk 1998/11/07 00:04:07 @@ -28,6 +28,7 @@ # Creating README.html for package. # # afterinstall, all, beforeinstall, build, checksum, clean, +# clean-for-cdrom, clean-restricted, # configure, deinstall, depend, describe, extract, fetch, fetch-list, # install, package, package-loop, readmes, realinstall, reinstall, tags # @@ -79,7 +80,8 @@ ${MAKE} all .for __target in all fetch fetch-list package package-loop extract configure \ - build clean deinstall depend describe distclean \ + build clean clean-for-cdrom clean-restricted \ + deinstall depend describe distclean \ reinstall tags checksum .if !target(${__target}) ${__target}: _SUBDIRUSE === Satoshi 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?199811070011.QAA10288>