pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: khorben
Date: Wed Nov 4 16:38:59 UTC 2020
Modified Files:
pkgsrc/mk: bsd.pkg.readme.mk
Log Message:
Support PKGPATH with "make package-name"
Now dependencies can be listed either by package name, or path to the
package (eg with "make PACKAGE_NAME_TYPE=path build-depends-list").
Users of PACKAGE_NAME_TYPE=html could use a combination of
PACKAGE_NAME_TYPE=name and PACKAGE_NAME_TYPE=path instead now.
No objection from tech-pkg@
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/mk/bsd.pkg.readme.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/bsd.pkg.readme.mk
diff -u pkgsrc/mk/bsd.pkg.readme.mk:1.28 pkgsrc/mk/bsd.pkg.readme.mk:1.29
--- pkgsrc/mk/bsd.pkg.readme.mk:1.28 Thu Oct 9 13:50:08 2014
+++ pkgsrc/mk/bsd.pkg.readme.mk Wed Nov 4 16:38:59 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.readme.mk,v 1.28 2014/10/09 13:50:08 wiz Exp $
+# $NetBSD: bsd.pkg.readme.mk,v 1.29 2020/11/04 16:38:59 khorben Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and encapsulates the
# code to produce README.html files in each package directory.
@@ -42,6 +42,8 @@ _HTML_PKGLINK= <a href="../../${PKGPATH
package-name:
. if (${PACKAGE_NAME_TYPE} == "html")
@${ECHO} ${_HTML_PKGLINK:Q}
+. elif (${PACKAGE_NAME_TYPE} == "path")
+ @${ECHO} ${PKGPATH}
. else
@${ECHO} ${PKGNAME}
. endif # PACKAGE_NAME_TYPE
Home |
Main Index |
Thread Index |
Old Index