aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-02-07 19:17:50 +0800
committerkrion <krion@FreeBSD.org>2005-02-07 19:17:50 +0800
commite203e01ea2a9471094f049bd628ee810ef885041 (patch)
tree09be67e2fbefb4774fae4573e73f352ebe7ba742 /Mk/bsd.port.subdir.mk
parent1b746b341b9351be237a76929374cfc05e5445fc (diff)
downloadfreebsd-ports-gnome-e203e01ea2a9471094f049bd628ee810ef885041.tar.gz
freebsd-ports-gnome-e203e01ea2a9471094f049bd628ee810ef885041.tar.zst
freebsd-ports-gnome-e203e01ea2a9471094f049bd628ee810ef885041.zip
* Change bento to pointyhat names in comments. [1]
* Document DISABLE_VULNERABILITIES variable. [2] * Add WWW: line for 'search' target. [3] * Speedup check-vulnerable invokation, if portaudit is installed. [4] * Run install-info for all .info files. [5] * Run add-plist-docs more strictly and prevent some situations with leftover files in the future. [6] * Introduce two new variables: MASTER_PORT and SLAVE_PORT. The results from these variables is only used as information for users. [7] * Honour OPTIONS if PACKAGE_BUILDING or BATCH are defined. [8] * Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc' target allows users to check gcc version if USE_GCC is used. Give maintainers opportunity to add '+' character to USE_GCC version for using specified and higher versions. [9] * Install startup scripts with the help of USE_RC_SUBR variable. [10] * Add three new targets: config-recursive, rmconfig-recursive and config-conditional. You can set or delete OPTIONS for all dependencies before every build. config-conditional target is used to skip configuring ports which have already been configured. [11] * Fix using of WANT_PGSQL_VER variable if postgresql is already installed. [12] PR: ports/75768 [1], ports/75728 [2], ports/76187 [3], ports/76191 [4], ports/76182 [5], ports/75379 [6], ports/75286 [7], ports/75727 [8], ports/76489 [9], ports/73691 ports/69217 [10], ports/76254 [11], ports/76988 [12] Submitted by: dinoex [1], edwin [2] [5] [6] [8] [9] [10], Marcus Grando <marcus@corp.grupos.com.br> [3], tobez and Valentin Nechayev <netch@netch.kiev.ua> [4], linimon [7], Florent Thoumie <flz@xbsd.org> [10], Chris Dillon <cdillon@wolves.k12.mo.us> [11], girgen [12]
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk55
1 files changed, 30 insertions, 25 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 5d00a4869ffd..8370cdd6e3e1 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -327,7 +327,7 @@ README.html:
PKGINSTALLVER="${PKGINSTALLVER:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}"
.endif
-PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps
+PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps,www
PORTSEARCH_KEYLIM?=0
PORTSEARCH_XKEYLIM?=0
PORTSEARCH_IGNORECASE?=1
@@ -342,7 +342,8 @@ search: ${PORTSDIR}/${INDEXFILE}
-z "$$maint" -a -z "$$xmaint" -a \
-z "$$cat" -a -z "$$xcat" -a \
-z "$$bdeps" -a -z "$$xbdeps" -a \
- -z "$$rdeps" -a -z "$$xrdeps" ]; \
+ -z "$$rdeps" -a -z "$$xrdeps" -a \
+ -z "$$www" -a -z "$$xwww" ]; \
then \
echo "The search target requires a keyword parameter or name parameter,"; \
echo "e.g.: \"make search key=somekeyword\""; \
@@ -358,6 +359,7 @@ search: ${PORTSDIR}/${INDEXFILE}
-v cat="$$cat" -v xcat="$$xcat" \
-v bdeps="$$bdeps" -v xbdeps="$$xbdeps" \
-v rdeps="$$rdeps" -v xrdeps="$$xrdeps" \
+ -v www="$$www" -v xwww="$$xwww" \
-v icase="$${icase:-${PORTSEARCH_IGNORECASE}}" \
-v keylim="$${keylim:-${PORTSEARCH_KEYLIM}}" \
-v xkeylim="$${xkeylim:-${PORTSEARCH_XKEYLIM}}" \
@@ -373,29 +375,32 @@ search: ${PORTSDIR}/${INDEXFILE}
if (!xkeylim && xkeylen) \
xparms[0] = (icase ? tolower(xkey) : xkey); \
if (icase) { \
- if (length(name)) parms[1] = tolower(name); if (length(xname)) xparms[1] = tolower(xname); \
- if (length(path)) parms[2] = tolower(path); if (length(xpath)) xparms[2] = tolower(xpath); \
- if (length(info)) parms[4] = tolower(info); if (length(xinfo)) xparms[4] = tolower(xinfo); \
- if (length(maint)) parms[6] = tolower(maint); if (length(xmaint)) xparms[6] = tolower(xmaint); \
- if (length(cat)) parms[7] = tolower(cat); if (length(xcat)) xparms[7] = tolower(xcat); \
- if (length(bdeps)) parms[8] = tolower(bdeps); if (length(xbdeps)) xparms[8] = tolower(xbdeps); \
- if (length(rdeps)) parms[9] = tolower(rdeps); if (length(xrdeps)) xparms[9] = tolower(xrdeps); \
+ if (length(name)) parms[1] = tolower(name); if (length(xname)) xparms[1] = tolower(xname); \
+ if (length(path)) parms[2] = tolower(path); if (length(xpath)) xparms[2] = tolower(xpath); \
+ if (length(info)) parms[4] = tolower(info); if (length(xinfo)) xparms[4] = tolower(xinfo); \
+ if (length(maint)) parms[6] = tolower(maint); if (length(xmaint)) xparms[6] = tolower(xmaint); \
+ if (length(cat)) parms[7] = tolower(cat); if (length(xcat)) xparms[7] = tolower(xcat); \
+ if (length(bdeps)) parms[8] = tolower(bdeps); if (length(xbdeps)) xparms[8] = tolower(xbdeps); \
+ if (length(rdeps)) parms[9] = tolower(rdeps); if (length(xrdeps)) xparms[9] = tolower(xrdeps); \
+ if (length(www)) parms[10] = tolower(www); if (length(xwww)) xparms[10] = tolower(xwww); \
} else { \
- if (length(name)) parms[1] = name; if (length(xname)) xparms[1] = xname; \
- if (length(path)) parms[2] = path; if (length(xpath)) xparms[2] = xpath; \
- if (length(info)) parms[4] = info; if (length(xinfo)) xparms[4] = xinfo; \
- if (length(maint)) parms[6] = maint; if (length(xmaint)) xparms[6] = xmaint; \
- if (length(cat)) parms[7] = cat; if (length(xcat)) xparms[7] = xcat; \
- if (length(bdeps)) parms[8] = bdeps; if (length(xbdeps)) xparms[8] = xbdeps; \
- if (length(rdeps)) parms[9] = rdeps; if (length(xrdeps)) xparms[9] = xrdeps; \
+ if (length(name)) parms[1] = name; if (length(xname)) xparms[1] = xname; \
+ if (length(path)) parms[2] = path; if (length(xpath)) xparms[2] = xpath; \
+ if (length(info)) parms[4] = info; if (length(xinfo)) xparms[4] = xinfo; \
+ if (length(maint)) parms[6] = maint; if (length(xmaint)) xparms[6] = xmaint; \
+ if (length(cat)) parms[7] = cat; if (length(xcat)) xparms[7] = xcat; \
+ if (length(bdeps)) parms[8] = bdeps; if (length(xbdeps)) xparms[8] = xbdeps; \
+ if (length(rdeps)) parms[9] = rdeps; if (length(xrdeps)) xparms[9] = xrdeps; \
+ if (length(www)) parms[10] = www; if (length(xwww)) xparms[10] = xwww; \
} \
- fields["name"] = 1; names[1] = "Port"; \
- fields["path"] = 2; names[2] = "Path"; \
- fields["info"] = 4; names[4] = "Info"; \
- fields["maint"] = 6; names[6] = "Maint"; \
- fields["cat"] = 7; names[7] = "Index"; \
- fields["bdeps"] = 8; names[8] = "B-deps"; \
- fields["rdeps"] = 9; names[9] = "R-deps"; \
+ fields["name"] = 1; names[1] = "Port"; \
+ fields["path"] = 2; names[2] = "Path"; \
+ fields["info"] = 4; names[4] = "Info"; \
+ fields["maint"] = 6; names[6] = "Maint"; \
+ fields["cat"] = 7; names[7] = "Index"; \
+ fields["bdeps"] = 8; names[8] = "B-deps"; \
+ fields["rdeps"] = 9; names[9] = "R-deps"; \
+ fields["www"] = 10; names[10] = "WWW"; \
split(display, d, /,[ \t]*/); \
for (i in d) { \
disp[fields[d[i]]] = 1; \
@@ -411,7 +416,7 @@ search: ${PORTSDIR}/${INDEXFILE}
if ((icase ? tolower($$i) : $$i) ~ xparms[i]) \
next; \
found = 0; \
- for (i = 1; i < 10; i++) \
+ for (i = 1; i < 11; i++) \
if (i in disp) { \
if (xkeylim && (icase ? tolower($$i) : $$i) ~ xkey) \
next; \
@@ -420,7 +425,7 @@ search: ${PORTSDIR}/${INDEXFILE}
} \
if (keylim && !found) \
next; \
- for (i = 1; i < 10; i++) \
+ for (i = 1; i < 11; i++) \
if (i in disp) \
printf("%s:\t%s\n", names[i], $$i); \
print(""); \