Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 1995 05:15:43 -0700
From:      asami@CS.Berkeley.EDU (Satoshi Asami)
To:        jkh@FreeBSD.org, gpalmer@FreeBSD.org, phk@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   package subdirectory names
Message-ID:  <199506051215.FAA02654@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
 *     .packages/ -> All/
 *     all/ -> (remove)

Here's a patch.  Pay close attention to the "delete-package-links"
target, and you'll understand why I don't want "all" to be the
hold-everything directory.

Satoshi
=======
--- ./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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506051215.FAA02654>