From owner-freebsd-ports Mon Jun 5 06:55:40 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA01979 for ports-outgoing; Mon, 5 Jun 1995 06:55:40 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA01973 ; Mon, 5 Jun 1995 06:55:36 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id GAA01136; Mon, 5 Jun 1995 06:55:34 -0700 Date: Mon, 5 Jun 1995 06:55:34 -0700 Message-Id: <199506051355.GAA01136@silvia.HIP.Berkeley.EDU> To: jkh@freefall.cdrom.com CC: gpalmer@FreeBSD.org, ports@FreeBSD.org In-reply-to: <25519.802355804@freefall.cdrom.com> (jkh@freefall.cdrom.com) Subject: Re: package subdirectory names From: asami@CS.Berkeley.EDU (Satoshi Asami) Sender: ports-owner@FreeBSD.org Precedence: bulk * > Well, that's ok, but let's not make the CDROM disagree with -current. * > Also, doesn't pkg_add have code to scan this directory? * * It just scans whatever directory you run it in.. :-) Ok...by the way, can you review the patch? It seems to be working ok on thud and my machine, but I we can't afford any screwup at this point.... :) * > P.S. I need to convert the packages in the ftp site and thud...can I * > use your program? * * Sure. I'll send it to you! Still waiting.... :) Satoshi P.S. "The Patch" ======= --- ./bsd.port.mk.org Mon Jun 5 05:00:40 1995 +++ ./bsd.port.mk Mon Jun 5 05:15:02 1995 @@ -305,10 +305,11 @@ # Documentation MAINTAINER?= ports@FreeBSD.ORG CATEGORIES?= orphans -CATEGORIES+= all KEYWORDS+= ${CATEGORIES} -PKGREPOSITORYSUBDIR?= .packages +# Note this has to start with a capital letter (or more accurately, it +# shouldn't match "[a-z]*"), see the target "delete-package-links" below. +PKGREPOSITORYSUBDIR?= All PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR} .if exists(${PACKAGES}) PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX} @@ -975,7 +976,7 @@ .if !target(delete-package-links) delete-package-links: - @rm -f ${PACKAGES}/*/${PKGNAME}${PKG_SUFX}; + @rm -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX}; .endif .if !target(delete-package)