Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
c029164
Revbump all Go packages after moving to go125
Aug 31, 2025
8623b2e
doc: Updated graphics/exiv2 to 0.28.6
Aug 31, 2025
bb1687e
harfbuzz: update to 11.4.5.
Aug 31, 2025
5aab75a
doc: Updated fonts/harfbuzz to 11.4.5
Aug 31, 2025
5b942b2
doc: Updated fonts/harfbuzz-icu to 11.4.5
Aug 31, 2025
3f96dfb
jjui: update to 0.9.3.
Aug 31, 2025
c5b9e33
doc: Updated devel/jjui to 0.9.3
Aug 31, 2025
27fb463
lcov: update to 2.3.2.
Aug 31, 2025
d9074b3
doc: Updated devel/lcov to 2.3.2
Aug 31, 2025
8913778
libcbor: update to 0.13.0.
Aug 31, 2025
4976c99
doc: Updated devel/libcbor to 0.13.0
Aug 31, 2025
1bf4252
py-httplib2: update to 0.30.0.
Aug 31, 2025
457cec5
doc: Updated www/py-httplib2 to 0.30.0
Aug 31, 2025
40fa4e4
py-pspdfutils: update to 3.3.12.
Aug 31, 2025
729a55d
doc: Updated print/py-pspdfutils to 3.3.12
Aug 31, 2025
9c69fea
fzy: Fix ctype(3) abuse
Aug 31, 2025
85faf67
py-matplotlib: update to 3.10.6.
Aug 31, 2025
239dd69
doc: Updated graphics/py-matplotlib to 3.10.6
Aug 31, 2025
c156bd4
py-ruff: update to 0.12.11.
Aug 31, 2025
e6f8874
doc: Updated devel/py-ruff to 0.12.11
Aug 31, 2025
7627e86
py-setuptools-rust: update to 1.12.0.
Aug 31, 2025
a0d450b
doc: Updated devel/py-setuptools-rust to 1.12.0
Aug 31, 2025
a12c369
py-soupsieve: update to 2.8.
Aug 31, 2025
5175f13
doc: Updated www/py-soupsieve to 2.8
Aug 31, 2025
56dd41d
py-vdirsyncer: update to 0.20.0.
Aug 31, 2025
cd30b76
doc: Updated time/py-vdirsyncer to 0.20.0
Aug 31, 2025
2a9cb61
syncstorage-rs: update to 0.20.1.
Aug 31, 2025
1f34f1d
doc: Updated www/syncstorage-rs to 0.20.1
Aug 31, 2025
6620353
tree-sitter-go: update to 0.25.0.
Aug 31, 2025
514444d
doc: Updated textproc/tree-sitter-go to 0.25.0
Aug 31, 2025
9bbd1ff
fzy: add reference to upstream PR
Aug 31, 2025
d6711c0
tabiew: update to 0.11.1.
Aug 31, 2025
0528260
doc: Updated textproc/tabiew to 0.11.1
Aug 31, 2025
4be3ce2
nginx: fix pkglint
Aug 31, 2025
a8feed6
audio/libdovi: import libdovi-2.3.0
Aug 31, 2025
16f466a
doc: Added audio/libdovi version 2.3.0
Aug 31, 2025
2cb3c3a
audio: ENable libdovi
Aug 31, 2025
43ee3d5
multimedia/handbrake: Buildlink audio/libdovi to fix build
Aug 31, 2025
34277cf
handbrake: restore another part of libdovi change
Aug 31, 2025
88efab9
the_silver_searcher: reference upstream PR
Aug 31, 2025
2f345cb
darktable: add libxslt tool dependency
Aug 31, 2025
8978fee
p5-Net-CUPS: switch to libcupsfilters 2.x
Aug 31, 2025
096af15
doc: Updated print/p5-Net-CUPS to 0.64nb42
Aug 31, 2025
59f0c11
net/syncthing: Update to 1.29.6
Aug 31, 2025
cb2cded
doc: Updated net/syncthing to 1.29.6
Aug 31, 2025
f5d1e88
chat/matrix-synapse: Update to 1.137.0
Aug 31, 2025
f430923
doc: Updated chat/matrix-synapse to 1.137.0
Aug 31, 2025
2b15b1e
lang/php: switch default PHP's version to 8.3.x
Aug 31, 2025
3634c0d
Revbump PHP packages after switching to php83.
Aug 31, 2025
f2085f1
www/ruby-aws-partitions: update to 1.1153.0
Aug 31, 2025
fa82ebc
doc: Updated www/ruby-aws-partitions to 1.1153.0
Aug 31, 2025
e6bf90a
www/ruby-aws-sdk-core: update to 3.232.0
Aug 31, 2025
9528105
doc: Updated www/ruby-aws-sdk-core to 3.232.0
Aug 31, 2025
7f8b390
www/ruby-aws-sdk-secretsmanager: update to 1.120.0
Aug 31, 2025
144d75d
doc: Updated www/ruby-aws-sdk-secretsmanager to 1.120.0
Aug 31, 2025
e8d7513
www/ruby-aws-sdk-kms: update to 1.112.0
Aug 31, 2025
b159423
doc: Updated www/ruby-aws-sdk-kms to 1.112.0
Aug 31, 2025
53c3b31
www/ruby-aws-sdk-s3: update to 1.198.0
Aug 31, 2025
126c8ed
doc: Updated www/ruby-aws-sdk-s3 to 1.198.0
Aug 31, 2025
5f459d5
graphics/ruby-RMagick: update to 6.1.4
Aug 31, 2025
d19d568
doc: Updated graphics/ruby-RMagick to 6.1.4
Aug 31, 2025
4bbdfb8
www/ruby-ethon: update to 0.17.0
Aug 31, 2025
9b72f60
doc: Updated www/ruby-ethon to 0.17.0
Aug 31, 2025
10c1fc9
textproc/ruby-rexml: update to 3.4.2
Aug 31, 2025
d6ebcc8
doc: Updated textproc/ruby-rexml to 3.4.2
Aug 31, 2025
c2901c0
security/ruby-metasploit-payloads: update to 2.0.225
Aug 31, 2025
c072118
doc: Updated security/ruby-metasploit-payloads to 2.0.225
Aug 31, 2025
e091517
net/ruby-recog: update to 3.1.21
Aug 31, 2025
1f99f6a
doc: Updated net/ruby-recog to 3.1.21
Aug 31, 2025
e282d7e
devel/gtexinfo: require c99
Aug 31, 2025
220319f
mail/ruby-mime-types-data: update to 3.2025.0826
Aug 31, 2025
fb1041f
doc: Updated mail/ruby-mime-types-data to 3.2025.0826
Aug 31, 2025
4db6485
www/php-contao-manager: Add dependency
Aug 31, 2025
c7a810b
doc: Updated www/php-contao-manager to 1.10.5nb1
Aug 31, 2025
c7c109a
clamav, clamav-doc: update to 1.4.3 (from wip/clamav).
Aug 31, 2025
c8b6e01
Updated security/clamav to 1.4.3
Aug 31, 2025
9d118da
Update stunnel to 5.75.
Aug 31, 2025
2451c10
Update stunnel to 5.75.
Aug 31, 2025
cd5d0af
Update getmail6 to 6.19.10.
Aug 31, 2025
42d242f
Update mail/getmail6 to 6.19.10.
Aug 31, 2025
548eed8
Mention in DESCR that mail/getmail is considered unmaintained and
Aug 31, 2025
d3f5ae6
devel/docopt.cpp: import docopt.cpp-0.6.3
Aug 31, 2025
37c26ee
docopt.cpp: remove backup file
Aug 31, 2025
e518e9f
devel/Makefile: + docopt.cpp
Aug 31, 2025
f5281ba
doc: Added devel/docopt.cpp version 0.6.3
Aug 31, 2025
f3da45e
textproc/libzim: import libzim-9.3.0
Aug 31, 2025
fcc6688
textproc/Makefile: + libzim
Aug 31, 2025
6e7dcee
devel/mustache: import mustache-4.1
Aug 31, 2025
404f58c
devel/Makefile: + mustache
Aug 31, 2025
81625b8
doc: Added devel/mustache version 4.1
Aug 31, 2025
df05b58
www/libkiwix: import libkiwix-14.0.0
Aug 31, 2025
493554e
www/kiwix-tools: import kiwix-tools-3.7.0.20250613
Aug 31, 2025
cb0822a
www/Makefile: + libkiwix, kiwix-tools
Aug 31, 2025
f881170
doc: Added www/libkiwix version 14.0.0
Aug 31, 2025
dc611a9
doc: Added www/kiwix-tools version 3.7.0.20250613
Aug 31, 2025
543d370
trufflehog: Update to 3.90.5
Aug 31, 2025
13e4c41
doc: Updated security/trufflehog to 3.90.5
Aug 31, 2025
209fbcc
aria2: fix pkglint
Aug 31, 2025
a44d8f2
www/kiwix-desktop: import kiwix-desktop-2.4.1
Aug 31, 2025
a66c7b7
www/Makefile: + kiwix-desktop
Aug 31, 2025
4220b50
doc: Added www/kiwix-desktop version 2.4.1
Aug 31, 2025
3e102c9
aria2: add buildlink3.mk file
Aug 31, 2025
e8c9d41
aria2: buildlink3.mk cleanup
Aug 31, 2025
b02c779
rust-bindgen: updated to 0.72.1
Sep 1, 2025
483d32f
fluidsynth: updated to 2.4.8
Sep 1, 2025
52bfca8
Updated devel/rust-bindgen, audio/fluidsynth
Sep 1, 2025
7199168
ngtcp2: updated to 1.15.1
Sep 1, 2025
6978e1f
nodejs: updated to 24.7.0
Sep 1, 2025
311d52a
nodejs22: updated to 22.19.0
Sep 1, 2025
5cb7a53
Updated net/ngtcp2, lang/nodejs, lang/nodejs22
Sep 1, 2025
eb91ea7
cmake cmake-gui: updated to 4.1.1
Sep 1, 2025
6a43eee
Updated devel/cmake, devel/cmake-gui
Sep 1, 2025
be61a2b
hugo: Update to 0.149.0
Sep 1, 2025
550e79e
doc: Updated www/hugo to 0.149.0
Sep 1, 2025
3cd8af7
security/clamav: complete movement from wip
Sep 1, 2025
0805fa2
audio/librespot: update to 0.7.1
Sep 1, 2025
5e291e0
doc: Updated audio/librespot to 0.7.1
Sep 1, 2025
0efcd6a
shells/oh-my-posh: update to 26.20.1
Sep 1, 2025
77aef6e
doc: Updated shells/oh-my-posh to 26.20.1
Sep 1, 2025
9b66b7a
devel/serie: update to 0.5.0
Sep 1, 2025
54b08f4
ImageMagick: Update to 7.1.2.3
Sep 1, 2025
6bb6a3c
doc: Updated devel/serie to 0.5.0
Sep 1, 2025
aa695ac
doc: Updated graphics/ImageMagick to 7.1.2.3
Sep 1, 2025
2556a23
graphics/simp: update to 3.10.1
Sep 1, 2025
cbb8429
doc: Updated graphics/simp to 3.10.1
Sep 1, 2025
2b09a80
audio/spotify-player: update to 0.21.0
Sep 1, 2025
05f4556
doc: Updated audio/spotify-player to 0.21.0
Sep 1, 2025
d5d6487
textproc/xt-rs: update to 0.19.5
Sep 1, 2025
3ea8960
doc: Updated textproc/xt-rs to 0.19.5
Sep 1, 2025
83ace2a
tlsx: Update to 1.2.1
Sep 1, 2025
e24c82c
doc: Updated security/tlsx to 1.2.1
Sep 1, 2025
8fa1ec6
doc/TODO: + icewm-3.9.
Sep 1, 2025
2b49698
rpm: updated to 4.20.1
Sep 1, 2025
ff27d00
libjwt: updated to 3.2.2
Sep 1, 2025
b90b6cd
Updated misc/rpm, security/libjwt
Sep 1, 2025
748d030
doc/pkg-vulnerabilities: restrict LuaJIT2 patterns
Sep 1, 2025
1e18100
doc/pkg-vulnerabilities: fix anubis pattern
Sep 1, 2025
907ff2e
py-dulwich: updated to 0.24.1
Sep 1, 2025
7c5f468
py-stevedore: updated to 5.5.0
Sep 1, 2025
c58a3d5
py-humanize: updated to 4.13.0
Sep 1, 2025
4bec866
Updated devel/py-dulwich, devel/py-stevedore, textproc/py-humanize
Sep 1, 2025
efdafae
py-gevent: updated to 25.8.2
Sep 1, 2025
2632d95
devel/gtexinfo: backout previous commit
Sep 1, 2025
bca2c54
py-fakefs: updated to 5.9.3
Sep 1, 2025
4c4ef8f
Updated net/py-gevent, devel/py-fakefs
Sep 1, 2025
3f3c884
devel/ruby-io-event: update to 1.13.0
Sep 1, 2025
7638693
doc: Updated devel/ruby-io-event to 1.13.0
Sep 1, 2025
60c4db7
devel/ruby-async: update to 2.28.1
Sep 1, 2025
15fb572
doc: Updated devel/ruby-async to 2.28.1
Sep 1, 2025
4672023
graphics/GraphicsMagick: fix CVE-2025-32460
Sep 1, 2025
553569a
doc: Updated graphics/GraphicsMagick to 1.3.42nb14
Sep 1, 2025
079d5b2
doc/pkg-vulnerabilities: restrict GraphicsMagick patterns
Sep 1, 2025
3de90ab
audio/audacity: fix CVE-2020-11867
Sep 1, 2025
1372844
doc: Updated audio/audacity to 2.4.1nb28
Sep 1, 2025
a10e868
doc/pkg-vulnerabilities: restrict audacity patterns
Sep 1, 2025
207ac06
icewm: update to 3.9.0
Sep 1, 2025
739e5ed
doc: Updated wm/icewm to 3.9.0
Sep 1, 2025
adbb8f5
options.description: describe "speechd" option
Sep 1, 2025
657f1ae
news/usenet_reborn: initial import of package
Sep 1, 2025
bdc4650
news: add usenet_reborn
Sep 1, 2025
03d09a7
doc: Added news/usenet_reborn version 0.2.0
Sep 1, 2025
a37f0f2
Update to sbcl-2.5.8.
Sep 1, 2025
44cef9d
Updated lang/sbcl to 2.5.8.
Sep 1, 2025
c2f4e55
qemu: add upstream bug
Sep 1, 2025
6ac73db
nodejs: fix a build problem on NetBSD
Sep 1, 2025
902df4c
xbattbar: fix grammar and spelling in man page patching
Sep 1, 2025
78e0c6c
www/jira-cli: Update to 1.7.0
Sep 2, 2025
7933023
doc: Updated www/jira-cli to 1.7.0
Sep 2, 2025
f3d6e01
sysutils/pfetch: Update to 1.9.2
Sep 2, 2025
404511c
doc: Updated sysutils/pfetch to 1.9.2
Sep 2, 2025
aaa6960
SDL2: updated to 2.32.10
Sep 2, 2025
e0893e6
SDL3: updated to 3.2.22
Sep 2, 2025
0d9c718
Updated devel/SDL2, devel/SDL3
Sep 2, 2025
d8ee614
py-pypika-tortoise: updated to 0.6.2
Sep 2, 2025
e0223da
py-rapidfuzz: updated to 3.14.0
Sep 2, 2025
362b70f
Updated databases/py-pypika-tortoise, textproc/py-rapidfuzz
Sep 2, 2025
12d9eb0
xcb-util-cursor: update to 0.1.6.
Sep 2, 2025
cc7ec78
doc: Updated x11/xcb-util-cursor to 0.1.6
Sep 2, 2025
20c9f91
libXfixes: update to 6.0.2.
Sep 2, 2025
e2f715f
doc: Updated x11/libXfixes to 6.0.2
Sep 2, 2025
33b2b77
py-arviz: updated to 0.22.0
Sep 2, 2025
45a4dfe
py-nvdlib: updated to 0.8.3
Sep 2, 2025
9a487be
Updated math/py-arviz, security/py-nvdlib
Sep 2, 2025
4b20b17
nodejs: update NetBSD patch after upstream feedback
Sep 2, 2025
2c7ae65
nodejs: fix pkglint
Sep 2, 2025
e0c7dc7
py-textual: updated to 6.0.0
Sep 2, 2025
4cb133e
py-regex: updated to 2025.9.1
Sep 2, 2025
94bb02a
Updated comms/py-textual, textproc/py-regex
Sep 2, 2025
1490eb2
py-cryptography: updated to 45.0.7
Sep 2, 2025
6d473af
Updated security/py-cryptography, security/py-cryptography_vectors
Sep 2, 2025
9f1645c
py-executing: updated to 2.2.1
Sep 2, 2025
0bc399d
py-faker: updated to 37.6.0
Sep 2, 2025
23bd17d
Updated lang/py-executing, devel/py-faker
Sep 2, 2025
89113e0
wesnoth: Add dbus option
Sep 2, 2025
1aa2bf1
ibus: use appropriate method to regenerate .c files from .vala sources.
Sep 2, 2025
b153892
py-jupyter_server: updated to 2.17.0
Sep 2, 2025
44c8b80
py-textual: updated to 6.1.0
Sep 2, 2025
cb6eaaa
Updated www/py-jupyter_server, comms/py-textual
Sep 2, 2025
db9eb01
devel/garden: update to 2.3.0
Sep 2, 2025
a316857
doc: Updated devel/garden to 2.3.0
Sep 2, 2025
75cc7fb
sysutils/parallel-disk-usage: update to 0.21.1
Sep 2, 2025
dfd435d
doc: Updated sysutils/parallel-disk-usage to 0.21.1
Sep 2, 2025
5027bbf
py-coverage: updated to 7.10.6
Sep 2, 2025
3ab5bb7
py-pypiserver: updated to 2.4.0
Sep 2, 2025
395b397
Updated devel/py-coverage, net/py-pypiserver
Sep 2, 2025
fd39f0c
py-joblib: updated to 1.5.2
Sep 2, 2025
61f817c
Updated devel/py-joblib
Sep 2, 2025
6f40676
py-daphne: updated to 4.2.1
Sep 2, 2025
5b7ac9a
py-channels: updated to 4.3.1
Sep 2, 2025
8cf23be
Updated www/py-daphne, www/py-channels
Sep 2, 2025
6de1abb
usenet_reborn: master site does not allow direct downloads
Sep 2, 2025
3d28e21
postgresql-postgis2: Update to 3.6.0
Sep 2, 2025
51e14ac
doc: Updated databases/postgresql-postgis2 to 3.6.0nb4
Sep 2, 2025
edbd095
nghttp2 nghttp2-tools: updated to 1.67.0
Sep 2, 2025
c6abf48
Updated www/nghttp2, www/nghttp2-tools
Sep 2, 2025
d023b7f
mail/mailutils: update to 3.20
Sep 2, 2025
7b77136
doc: Updated mail/mailutils to 3.20
Sep 2, 2025
e93a62e
dasel: create and install man pages
Sep 2, 2025
bca631e
doc: Updated textproc/dasel to 2.8.1nb6
Sep 2, 2025
5e8e834
chat/ii: update to 2.0
Sep 2, 2025
0b3937a
doc: Updated chat/ii to 2.0
Sep 2, 2025
d5e7d43
postgis: Reset PKGREVISION after update
Sep 2, 2025
b7c64d6
Fix building x11/qt6-qtbase on Darwin
Sep 3, 2025
6f39b31
Add pango 1.57
Sep 3, 2025
39fd7f5
nushell: updated to 0.107.0
Sep 3, 2025
1019a28
py-fsspec: updated to 2025.9.0
Sep 3, 2025
e81d21f
py-behave: updated to 1.3.2
Sep 3, 2025
1e562f9
Updated shells/nushell, sysutils/py-fsspec, devel/py-behave
Sep 3, 2025
752790d
sysutils/eza: update to 0.23.1
Sep 3, 2025
99d26f1
doc: Updated sysutils/eza to 0.23.1
Sep 3, 2025
9c5294b
graphics/feh: update to 3.11.1
Sep 3, 2025
68dab8c
doc: Updated graphics/feh to 3.11.1
Sep 3, 2025
19813d0
net/lagrange: update to 1.19.0
Sep 3, 2025
3be97d0
doc: Updated net/lagrange to 1.19.0
Sep 3, 2025
796da75
easy-rsa: updated to 3.2.4
Sep 3, 2025
2978046
py-gssapi: updated to 1.10.0
Sep 3, 2025
25c5584
py-krb5: updated to 0.8.0
Sep 3, 2025
5be2736
py-cattrs: updated to 25.2.0
Sep 3, 2025
4aca400
Updated security/easy-rsa, security/py-gssapi, security/py-krb5, deve…
Sep 3, 2025
94e9746
neovim: updated to 0.11.4
Sep 3, 2025
22c68b5
dbus: Explicitly disable inotify on SunOS.
Sep 3, 2025
91e7b65
memcached: updated to 1.6.39
Sep 3, 2025
2dd869a
Updated editors/neovim, devel/memcached
Sep 3, 2025
1ee7df0
Update nsd to version 4.13.0.
Sep 3, 2025
f4a3022
NOte update of net/nsd to 4.13.0.
Sep 3, 2025
c5990bb
py-hy: updated to 1.1.0
Sep 3, 2025
a297367
py-test-rerunfailures: updated to 16.0.1
Sep 3, 2025
3aa4f94
Updated lang/py-hy, devel/py-test-rerunfailures
Sep 3, 2025
7d34d0a
graphics/pcl: Add bl3 for cJSON
Sep 3, 2025
e3aa976
Update lang/nim to 2.0.16
Sep 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/distfiles/*
/packages/*
/**/work
216 changes: 81 additions & 135 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,147 +1,93 @@
# $NetBSD: Makefile,v 1.35 2000/05/12 18:42:22 sakamoto Exp $
# FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp
# $NetBSD: Makefile,v 1.89 2023/07/17 01:03:19 thor Exp $
#
# This is the top-level Makefile of pkgsrc.
# See README.md for a more detailed introduction.
#
# User-settable variables:
#
# SPECIFIC_PKGS
# (See mk/defaults/mk.conf)
#
# SITE_SPECIFIC_PKGS
# HOST_SPECIFIC_PKGS
# GROUP_SPECIFIC_PKGS
# USER_SPECIFIC_PKGS
# The specific packages that are to be built.
#
# XXX: Why are there four distinct variables? The same could be
# achieved using just SPECIFIC_PKGS as the list of packages and
# leaving the remaining details to the user.
#
# See also:
# mk/misc/toplevel.mk
#

# Note: The tools definitions must come before bsd.prefs.mk is included.

# tools used by this Makefile
USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv rm sed \
sort wc

# additional tools used by bsd.pkg.subdir.mk
USE_TOOLS+= basename touch

PKGSRCTOP= yes

.include "mk/bsd.prefs.mk"

.ifdef SPECIFIC_PKGS
.if defined(SPECIFIC_PKGS)
SUBDIR+= ${SITE_SPECIFIC_PKGS}
SUBDIR+= ${HOST_SPECIFIC_PKGS}
SUBDIR+= ${GROUP_SPECIFIC_PKGS}
SUBDIR+= ${USER_SPECIFIC_PKGS}
.else
SUBDIR += archivers
SUBDIR += audio
SUBDIR += benchmarks
SUBDIR += biology
SUBDIR += cad
SUBDIR += comms
SUBDIR += converters
SUBDIR += cross
SUBDIR += databases
SUBDIR += devel
SUBDIR += editors
SUBDIR += emulators
SUBDIR += fonts
SUBDIR += games
SUBDIR += graphics
SUBDIR += ham
SUBDIR += japanese
SUBDIR += lang
SUBDIR += mail
SUBDIR += math
SUBDIR += mbone
SUBDIR += meta-pkgs
SUBDIR += misc
SUBDIR += net
SUBDIR += news
SUBDIR += parallel
SUBDIR += pkgtools
SUBDIR += plan9
SUBDIR += print
SUBDIR += security
SUBDIR += shells
SUBDIR += sysutils
SUBDIR += textproc
SUBDIR += www
SUBDIR += x11
# Packages in the x11 category tend to require a lot more parse time
# than the rest of the packages. Reorder it to the beginning to avoid
# stalling parallel scans near the end of a run.
SUBDIR+= x11
SUBDIR+= archivers
SUBDIR+= audio
SUBDIR+= benchmarks
SUBDIR+= biology
SUBDIR+= cad
SUBDIR+= chat
SUBDIR+= comms
SUBDIR+= converters
SUBDIR+= cross
SUBDIR+= databases
SUBDIR+= devel
SUBDIR+= editors
SUBDIR+= emulators
SUBDIR+= filesystems
SUBDIR+= finance
SUBDIR+= fonts
SUBDIR+= games
SUBDIR+= geography
SUBDIR+= graphics
SUBDIR+= ham
SUBDIR+= inputmethod
SUBDIR+= lang
SUBDIR+= mail
SUBDIR+= math
SUBDIR+= mbone
SUBDIR+= meta-pkgs
SUBDIR+= misc
SUBDIR+= multimedia
SUBDIR+= net
SUBDIR+= news
SUBDIR+= parallel
SUBDIR+= pkgtools
SUBDIR+= print
SUBDIR+= science
SUBDIR+= security
SUBDIR+= shells
SUBDIR+= sysutils
SUBDIR+= textproc
SUBDIR+= time
SUBDIR+= wm
SUBDIR+= www
.endif

PKGSRCTOP= yes

.include "mk/bsd.pkg.subdir.mk"

index:
@rm -f ${.CURDIR}/INDEX
@${MAKE} ${.CURDIR}/INDEX

${.CURDIR}/INDEX:
@echo -n "Generating INDEX - please wait.."
@${MAKE} describe ECHO_MSG="echo > /dev/null" > ${.CURDIR}/INDEX
@echo " Done."

print-index: ${.CURDIR}/INDEX
@awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' < ${.CURDIR}/INDEX

search: ${.CURDIR}/INDEX
.if !defined(key)
@echo "The search target requires a keyword parameter,"
@echo "e.g.: \"${MAKE} search key=somekeyword\""
.else
@grep ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }'
.endif


#
# Generate list of all packages by extracting information from
# the category/README.html pages
#
readme-all:
@if [ -f README-all.html ]; then \
mv README-all.html README-all.html.BAK ; \
fi
@${MAKE} README-all.html
@if cmp -s README-all.html README-all.html.BAK ; then \
mv README-all.html.BAK README-all.html ; \
else \
rm -f README-all.html.BAK ; \
fi

README-all.html:
@rm -f $@.new
@rm -f $@.newsorted
@echo -n "Processing categories for $@:"
.for category in ${SUBDIR}
@if [ -f ${category}/README.html ]; then \
echo -n ' ${category}' ; \
grep '^<TR>' ${category}/README.html \
| sed -e 's|"|"${category}/|' \
-e 's| <TD>| <TD>(<A HREF="${category}/README.html">${category}</A>) <TD>|' \
-e 's|<TR>|<TR VALIGN=TOP>|' \
-e 's|<TD VALIGN=TOP>|<TD>|' \
>> $@.new ; \
fi
.endfor
@echo "."
@sort -f -t '">' +2 <$@.new >$@.newsorted
@wc -l $@.newsorted | awk '{ print $$1 }' >$@.npkgs
@cat templates/README.all \
| ${SED} \
-e '/%%NPKGS%%/r$@.npkgs' \
-e '/%%NPKGS%%/d' \
-e '/%%PKGS%%/r$@.newsorted' \
-e '/%%PKGS%%/d' \
> $@
@rm -f $@.npkgs
@rm -f $@.new
@rm -f $@.newsorted



readme-ipv6:
@if [ -f README-IPv6.html ]; then \
mv README-IPv6.html README-IPv6.html.BAK ; \
fi
@${MAKE} README-IPv6.html
@if cmp -s README-IPv6.html README-IPv6.html.BAK ; then \
mv README-IPv6.html.BAK README-IPv6.html ; \
else \
rm -f README-IPv6.html.BAK ; \
fi

README-IPv6.html:
@grep -l '^BUILD_DEFS.*=.*USE_INET6' */*/Makefile \
| sed s,.Makefile,, >$@.pkgs
@fgrep -f $@.pkgs README-all.html | sort -t/ +1 >$@.trs
@cat templates/README.ipv6 \
| ${SED} \
-e '/%%TRS%%/r$@.trs' \
-e '/%%TRS%%/d' \
>$@
@${RM} $@.trs
@${RM} $@.pkgs
SUBDIR+= ${USER_ADDITIONAL_PKGS}

show-host-specific-pkgs:
@echo "HOST_SPECIFIC_PKGS= \\"; \
${MAKE} show-pkgsrc-dir | awk '/^===/ { next; } { printf("%s \\\n", $$1) }'; \
echo ""
.include "mk/misc/toplevel.mk"
Loading