Skip to content
Open
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
bb8697a
doc: Updated devel/ruby-mixlib-log to 3.2.0
Feb 9, 2025
515134d
devel/ruby-msgpack: update to 1.8.0
Feb 9, 2025
822f28c
doc: Updated devel/ruby-msgpack to 1.8.0
Feb 9, 2025
5217550
devel/mise: update to 2025.2.2
Feb 9, 2025
03697d1
doc: Updated devel/mise to 2025.2.2
Feb 9, 2025
b4a7516
devel/redmine: switch default version to 6.0.x
Feb 9, 2025
00b716c
devel/ruby-redmine50: update to 5.0.11
Feb 9, 2025
c6b35d9
doc: Updated devel/ruby-redmine50 to 5.0.11
Feb 9, 2025
e0faedd
devel/ruby-redmine51: update to 5.1.6
Feb 9, 2025
d47f96e
doc: Updated devel/ruby-redmine51 to 5.1.6
Feb 9, 2025
f45a071
devel/ruby-redmine60: update to 6.0.3
Feb 9, 2025
e8e6df1
doc: Updated devel/ruby-redmine60 to 6.0.3
Feb 9, 2025
dcc1b5d
devel/ruby-rspec-core: update to 3.13.3
Feb 9, 2025
3747961
doc: Updated devel/ruby-rspec-core to 3.13.3
Feb 9, 2025
eb57772
www/php-nextcloud: Update to 30.0.5
Feb 9, 2025
57ab357
doc: Updated www/php-nextcloud to 30.0.5
Feb 9, 2025
32b65a6
gprbuild: improve build framework for other packages
Feb 9, 2025
e74c04c
devel/alire: Update to 2.0.1nb1
Feb 9, 2025
09a306a
doc: Updated devel/alire to 2.0.2
Feb 9, 2025
a86cf8d
devel/ruby-rspec-rails: update to 7.1.1
Feb 9, 2025
9192235
doc: Updated devel/ruby-rspec-rails to 7.1.1
Feb 9, 2025
2ef157f
graphics/digikam-gmic-qt: import digikam-gmic-qt-0.0.0.20250206
Feb 9, 2025
f7062fc
gmic-qt-digikam: remove, replaced by digikam-gmic-qt
Feb 9, 2025
be6a0df
doc: Added graphics/digikam-gmic-qt version 3.2.2.20250206
Feb 9, 2025
8623d27
devel/ruby-semantic_puppet: update to 1.1.1
Feb 9, 2025
9bbfa21
doc: Updated devel/ruby-semantic_puppet to 1.1.1
Feb 9, 2025
80d8cb8
tree-sitter-c: update to 0.23.5
Feb 9, 2025
18ccec2
doc: Updated textproc/tree-sitter-c to 0.23.5
Feb 9, 2025
1396f31
tree-sitter-elixir: update to 0.3.4.
Feb 9, 2025
9f1a3bc
doc: Updated textproc/tree-sitter-elixir to 0.3.4
Feb 9, 2025
5e24776
devel/ruby-red-datasets: update to 0.1.8
Feb 9, 2025
23cca4f
doc: Updated devel/ruby-red-datasets to 0.1.8
Feb 9, 2025
f8e9537
cpp-httplib: update to 0.18.7.
Feb 9, 2025
1f23065
doc: Updated www/cpp-httplib to 0.18.7
Feb 9, 2025
cbab354
devel/ruby-traces: add package version 0.15.2
Feb 9, 2025
2f506ea
devel/Makefile: add and enable ruby-traces
Feb 9, 2025
f9d8347
doc: Added devel/ruby-traces version 0.15.2
Feb 9, 2025
ad5a895
libffi: update to 3.4.7.
Feb 9, 2025
0852f09
doc: Updated devel/libffi to 3.4.7
Feb 9, 2025
ea82ccf
devel/ruby-async: update to 2.22.0
Feb 9, 2025
f5b3f29
doc: Updated devel/ruby-async to 2.22.0
Feb 9, 2025
d445a5a
finance/ruby-braintree: update to 4.25.0
Feb 9, 2025
cf6aaa1
googletest: update to 1.16.0.
Feb 9, 2025
4cb2048
doc: Updated finance/ruby-braintree to 4.25.0
Feb 9, 2025
dd72a5b
doc: Updated devel/googletest to 1.16.0
Feb 9, 2025
c6fb752
graphics/ruby-RMagick: update to 6.1.1
Feb 9, 2025
d27a1b5
doc: Updated graphics/ruby-RMagick to 6.1.1
Feb 9, 2025
5740f72
snmp_exporter: update to 0.28.0.
Feb 9, 2025
a4f144b
doc: Updated sysutils/snmp_exporter to 0.28.0
Feb 9, 2025
b38a59d
py-cyclonedx-python-lib: update to 8.7.0.
Feb 9, 2025
0ca23a3
graphics/ruby-mini-magick: update to 5.1.2
Feb 9, 2025
20c906d
doc: Updated security/py-cyclonedx-python-lib to 8.7.0
Feb 9, 2025
940156a
doc: Updated graphics/ruby-mini-magick to 5.1.2
Feb 9, 2025
798a5a7
py-fonttools: update to 4.56.0.
Feb 9, 2025
0cf6ada
doc: Updated fonts/py-fonttools to 4.56.0
Feb 9, 2025
12be22d
mail/ruby-mime-types-data: update to 3.2025.0204
Feb 9, 2025
1af53b3
doc: Updated mail/ruby-mime-types-data to 3.2025.0204
Feb 9, 2025
d94ee37
py-lsp-server: update to 1.12.2.
Feb 9, 2025
201e85f
doc: Updated lang/py-lsp-server to 1.12.2
Feb 9, 2025
af16033
py-pydantic-core: update to 2.29.0.
Feb 9, 2025
4b9ef0c
doc: Updated devel/py-pydantic-core to 2.29.0
Feb 9, 2025
16a7c5a
net/ruby-net-imap: update to 0.5.6
Feb 9, 2025
4458db6
doc: Updated net/ruby-net-imap to 0.5.6
Feb 9, 2025
dfe3c43
net/ruby-net-smtp: update to 0.5.1
Feb 9, 2025
e062fba
abseil: update to 20250127.0.
Feb 9, 2025
3385bef
*: recursive bump for abseil 20250127.0
Feb 9, 2025
1a39880
net/ruby-recog: update to 3.1.13
Feb 9, 2025
25180da
doc: Updated devel/abseil to 20250127.0
Feb 9, 2025
00e62b1
doc: Updated net/ruby-recog to 3.1.13
Feb 9, 2025
b423155
print/ruby-pdf-reader: update to 2.14.1
Feb 9, 2025
a20084e
doc: Updated print/ruby-pdf-reader to 2.14.1
Feb 9, 2025
7969c21
security/ruby-metasploit_payloads-mettle: update to 1.0.37
Feb 9, 2025
0194bba
doc: Updated security/ruby-metasploit_payloads-mettle to 1.0.37
Feb 9, 2025
4e5e180
security/ruby-net-scp: update to 4.1.0
Feb 9, 2025
e9bfacd
doc: Updated security/ruby-net-scp to 4.1.0
Feb 9, 2025
8b44dd3
security/ruby-sshkit: update to 1.24.0
Feb 9, 2025
87e6f8e
doc: Updated security/ruby-sshkit to 1.24.0
Feb 9, 2025
f5b8ea0
textproc/ruby-rdiscount: update to 2.2.7.3
Feb 9, 2025
f408f95
doc: Updated textproc/ruby-rdiscount to 2.2.7.3
Feb 9, 2025
62a1b02
textproc/ruby-treetop: update to 1.6.14
Feb 9, 2025
246c7de
doc: Updated textproc/ruby-treetop to 1.6.14
Feb 9, 2025
040b93f
textproc/ruby-kramdown-rfc2629: update to 1.7.23
Feb 9, 2025
4ca4b0b
doc: Updated textproc/ruby-kramdown-rfc2629 to 1.7.23
Feb 9, 2025
aae49ee
time/ruby-hitimes: update to 3.1.0
Feb 9, 2025
0b6baaf
doc: Updated time/ruby-hitimes to 3.1.0
Feb 9, 2025
15f2894
time/ruby-timers: update to 4.4.0
Feb 9, 2025
ecb16d2
doc: Updated time/ruby-timers to 4.4.0
Feb 9, 2025
f425078
www/ruby-aws-partitions: update to 1.1048.0
Feb 9, 2025
bab1941
doc: Updated www/ruby-aws-partitions to 1.1048.0
Feb 9, 2025
8449d6f
www/ruby-aws-sdk-core: update to 1.218.1
Feb 9, 2025
0ee2c9d
doc: Updated www/ruby-aws-sdk-core to 3.218.1
Feb 9, 2025
4eff048
www/ruby-aws-sdk-secretsmanager: update to 1.112.0
Feb 9, 2025
365b3d4
doc: Updated www/ruby-aws-sdk-secretsmanager to 1.112.0
Feb 9, 2025
f8d7ff1
www/ruby-aws-sdk-kms: update to 1.98.0
Feb 9, 2025
21fc288
doc: Updated www/ruby-aws-sdk-kms to 1.98.0
Feb 9, 2025
2dcb362
www/ruby-aws-sdk-s3: update to 1.180.0
Feb 9, 2025
96cb033
doc: Updated www/ruby-aws-sdk-s3 to 1.180.0
Feb 9, 2025
55b9eea
www/ruby-jekyll: update to 4.4.1
Feb 9, 2025
787b624
www/ruby-puma: update to 6.6.0
Feb 9, 2025
02c99be
doc: Updated www/ruby-puma to 6.6.0
Feb 9, 2025
579b130
www/ruby-rack: update to 3.1.9
Feb 9, 2025
e206890
doc: Updated www/ruby-rack to 3.1.9
Feb 9, 2025
66187e9
www/ruby-selenium-webdriver: update to 4.28.0
Feb 9, 2025
b29312d
doc: Updated www/ruby-selenium-webdriver to 4.28.0
Feb 9, 2025
e7ed4ae
x11/ruby-tk: update to 0.5.1
Feb 9, 2025
c0b3bdb
doc: Updated x11/ruby-tk to 0.5.1
Feb 9, 2025
9a63351
vile: update to 9.8za.
Feb 9, 2025
c5e8776
doc: Updated editors/vile to 9.8za
Feb 9, 2025
efe62c8
xvile: update to 9.8za
Feb 9, 2025
b219e06
doc: Updated editors/xvile to 9.8za
Feb 9, 2025
0235b98
devel/bacon: update to 3.10.0
Feb 9, 2025
040eefb
doc: Updated devel/bacon to 3.10.0
Feb 9, 2025
ce60fbd
libfm-qt: fix cmake fallout
Feb 9, 2025
67e40c3
doc: Updated x11/libfm-qt to 2.1.0nb3
Feb 9, 2025
87767c0
xfce4-whiskermenu-plugin: update to 2.8.4
Feb 9, 2025
04b7c98
doc: Updated x11/xfce4-whiskermenu-plugin to 2.8.4
Feb 9, 2025
f70301a
doc/pkg-vulnerabilities: clean up
Feb 9, 2025
7ea69c1
jj: update to 0.26.0.
Feb 9, 2025
dd3d0a9
doc: Updated devel/jj to 0.26.0
Feb 9, 2025
a4a6091
jj-docs: update to 0.26.0
Feb 9, 2025
3d6da28
doc: Updated devel/jj-docs to 0.26.0
Feb 9, 2025
1239418
doc/pkg-vulnerabilities: update URLs from http to https
Feb 9, 2025
e52d17a
xfce4-extras: reflect some updates
Feb 10, 2025
e7fc226
doc: Updated meta-pkgs/xfce4-extras to 4.20.0nb28
Feb 10, 2025
4e15686
libfm-qt: tweak a comment
Feb 10, 2025
f27fdb5
net/libfetch: Install pkg-config fetch.pc
Feb 10, 2025
4f9db01
pkgtools/pkgchkxx: update to 0.3
Feb 10, 2025
fa50b66
doc: Updated pkgtools/pkgchkxx to 0.3
Feb 10, 2025
22df00f
quilt: fix PLIST for Darwin
Feb 10, 2025
5f88727
pkgtools/pkgchkxx: update to 0.3.1
Feb 10, 2025
db872ed
doc: Updated pkgtools/pkgchkxx to 0.3.1
Feb 10, 2025
6814c8c
devel/gperf: Fix build with Clang
Feb 10, 2025
d9145e4
PR/58110: Added textproc/jnv 0.5.0.
Feb 10, 2025
77d8b6d
doc: Added textproc/jnv version 0.5.0
Feb 10, 2025
5f99c84
news/flnews: Fix reproducible build
Feb 10, 2025
be88229
ade: added version 0.1.2e
Feb 10, 2025
8c5f2df
py-pip: updated to 25.0.1
Feb 10, 2025
25943a0
Added devel/ade; Updated devel/py-pip
Feb 10, 2025
07b96f5
devel/tig: update to 2.5.12.
Feb 10, 2025
bcb6111
doc: Updated devel/tig to 2.5.12
Feb 10, 2025
696684c
py-biopython: updated to 1.85
Feb 10, 2025
aa78e3d
py-lxml: updated to 5.3.1
Feb 10, 2025
1ac2ead
Updated biology/py-biopython, textproc/py-lxml
Feb 10, 2025
562a09e
pkg: fix build on NetBSD.
Feb 10, 2025
8965604
xye-resource -> xye-resource-license
Feb 10, 2025
a341631
editors/xnedit: Update to 1.6.2
Feb 10, 2025
0cbcd82
doc: Updated editors/xnedit to 1.6.2
Feb 10, 2025
e627d7f
gpsd: handle ruby-3.4-versioned asciidoctor
Feb 10, 2025
0521be1
gpsd: fix patch offset
Feb 10, 2025
d0823f5
xye: update license name
Feb 10, 2025
cb787ef
xye: remove patch that was removed from distinfo during update
Feb 10, 2025
0298163
py-cwcwidth: updated to 0.1.10
Feb 10, 2025
f0e417f
py-test-django: updated to 4.10.0
Feb 10, 2025
fe7e1c4
py-coverage: updated to 7.6.11
Feb 10, 2025
a20c78f
py-test-check: updated to 2.4.2
Feb 10, 2025
cd7c02a
Updated devel/py-cwcwidth, www/py-test-django, devel/py-coverage, dev…
Feb 10, 2025
06925ba
fast_float: updated to 8.0.0
Feb 10, 2025
c4a4b30
gpgme: updated to 1.24.2
Feb 10, 2025
d4b3add
Updated math/fast_float, security/gpgme
Feb 10, 2025
a6aef92
Radicale2: Reverse polarity of python version requirement.
Feb 10, 2025
f798d0b
keepassxc: add more options
Feb 10, 2025
144189b
mk: add descriptions for new keepassxc options
Feb 10, 2025
7cfbaaf
lf: update to 34.
Feb 10, 2025
ca542ea
doc: Updated sysutils/lf to 34
Feb 10, 2025
dfdcba2
mkvtoolnix: updated to 90.0
Feb 10, 2025
1e4ff55
py-sphinx-autoapi: updated to 3.5.0
Feb 10, 2025
385502e
Updated multimedia/mkvtoolnix, textproc/py-sphinx-autoapi
Feb 10, 2025
03859b4
libopus: fix PLIST for doc option
Feb 10, 2025
67fca96
libopus: fix pkglint
Feb 10, 2025
35290c2
PC6001VX: update to 4.2.11.
Feb 10, 2025
dcc1130
doc: Updated emulators/PC6001VX to 4.2.11
Feb 10, 2025
3b5e7a2
asdf: update to 0.16.2. Changes:
Feb 11, 2025
8b0735e
doc: Updated devel/asdf to 0.16.2
Feb 11, 2025
c7794c3
snac: update to 2.72. Changes:
Feb 11, 2025
3ceeb0f
doc: Updated www/snac to 2.72
Feb 11, 2025
7ba276f
libxkbcommon: fix PLIST for doc option
Feb 11, 2025
4853c56
editors/edt-o3one: import edt-o3one-20161222
Feb 11, 2025
47e1aa0
editors/Makefile: + edt-o3one
Feb 11, 2025
dc27db6
doc: Added editors/edt-o3one version 20161222
Feb 11, 2025
1018853
libhubbub: add missing tool dependency on gperf
Feb 11, 2025
70b48fa
taisei: mark as not for NetBSD 0-9
Feb 11, 2025
a3e7403
kubo: remove artifact from go-modules generation
Feb 11, 2025
d358e11
kubo: needs bash as tool
Feb 11, 2025
555aa0f
security/2fa: Do not repeat PKGVERSION_NOREV
Feb 11, 2025
8e6e5e2
kf6-kholidays: needs C++20
Feb 11, 2025
27daa10
vultr: needs a C compiler
Feb 11, 2025
5eb7a33
fastfetch: mark as not-for-NetBSD 0-8, 9.0 and 9.1
Feb 11, 2025
78e72c0
beats: needs bash as build tool
Feb 11, 2025
d2e38e7
net/tailscale: import tailscale-1.81.0pre20250210
Feb 11, 2025
219ec30
doc: Added net/tailscale version 1.81.0pre20250210
Feb 11, 2025
8ebfbad
net: Enable tailscale
Feb 11, 2025
4d07bb0
rvault: try fixing build on NetBSD 9
Feb 11, 2025
fe67ad7
zlib-ng: updated to 2.2.4
Feb 11, 2025
a5893ab
postgresql-timescaledb: updated to 2.18.1
Feb 11, 2025
efd4093
Updated archivers/zlib-ng, databases/postgresql-timescaledb
Feb 11, 2025
d8db9dc
*: remove bogus line from go-module mk file
Feb 11, 2025
7f049d2
gegl: update to 0.4.54.
Feb 11, 2025
49a5796
doc: Updated graphics/gegl to 0.4.54
Feb 11, 2025
fbe6519
Fixup path to curl in get-ip-from-fritzbox
Feb 11, 2025
9b8473b
security/putty: Update to 0.83
Feb 11, 2025
9f8e286
doc: Updated security/putty to 0.83
Feb 11, 2025
17e1f89
doc/TODO: + gimp-devel-3.0.0rc3 [wip].
Feb 11, 2025
7396e19
net/remmina: Update to 1.4.39
Feb 11, 2025
b1351dd
doc: Updated net/remmina to 1.4.39
Feb 11, 2025
6a54599
graphics/autotrace: Update to 0.31.10
Feb 11, 2025
638c8fb
doc: Updated graphics/autotrace to 0.31.10
Feb 11, 2025
642e42c
mail/thunderbird: Update to 128.7.0
Feb 11, 2025
5cff33c
doc: Updated mail/thunderbird to 128.7.0
Feb 11, 2025
a88c0d8
mail/thunderbird-l10n: Update to 128.7.0
Feb 11, 2025
fdbc789
doc: Updated mail/thunderbird-l10n to 128.7.0
Feb 11, 2025
1a36e01
devel/SDL2: Update to 2.32.0
Feb 11, 2025
43f679a
doc: Updated devel/SDL2 to 2.32.0
Feb 11, 2025
1f58eb9
py-cython: updated to 3.0.12
Feb 11, 2025
753d240
py-scikit-image: updated to 0.25.1
Feb 11, 2025
2688c42
Updated devel/py-cython, math/py-scikit-image
Feb 11, 2025
79149d3
lang/perl5, databases/p5-gdbm: Update to 5.40.1
Feb 11, 2025
9b08919
doc: Updated lang/perl5 to 5.40.1
Feb 11, 2025
10b1e45
doc: Updated databases/p5-gdbm to 5.40.1
Feb 11, 2025
e35f78f
graphics/gimp-devel: Update to 3.0.0rc3
Feb 11, 2025
55cc10b
doc: Updated graphics/gimp-devel to 3.0.0rc3
Feb 11, 2025
39939ad
gimp-devel: simplify; add libjxl support; add upstream bug report URL
Feb 11, 2025
ab4658d
doc: Updated graphics/gimp-devel to 3.0.0rc3nb1
Feb 11, 2025
f4a748c
cppunit: fix PLIST for doc option
Feb 11, 2025
91fb160
CLI11: add buildlink3.mk file
Feb 11, 2025
9d1c815
hwloc: remove unnecessary MESSAGE
Feb 11, 2025
40b13ea
sbcl: update to 2.5.1
Feb 11, 2025
3825dac
doc: Updated lang/sbcl to 2.5.1
Feb 11, 2025
728de42
net/ruby-net-imap: update PLIST
Feb 11, 2025
6d1b30a
allegro5: Update to 5.2.10.1
Feb 11, 2025
2f1b3d5
doc: Updated devel/allegro5 to 5.2.10.1
Feb 11, 2025
81129b8
sysutils/fastfetch: update to 2.36.1
Feb 11, 2025
e7258fc
devel/libopensmtpd: update to 0.8
Feb 11, 2025
5003ef8
mail/opensmtpd-filter-*: revbump folling devel/libopensmtpd update
Feb 11, 2025
1ee0e45
difftastic: update to 0.63.0
Feb 11, 2025
d348fd5
doc: Updated devel/difftastic to 0.63.0
Feb 11, 2025
60c1fb7
mk/gcc/compiler.mk: Require gcc12 for c++20
Feb 11, 2025
35134a3
mk/endian: add keywords for "bmake help"
Feb 11, 2025
cfb5f4e
doc: Updated devel/libopensmtpd to 0.8
Feb 11, 2025
5b9ae0c
doc: Updated sysutils/fastfetch to 2.36.1
Feb 11, 2025
dabfb21
qt6ct: update to 0.10 (switching to maintained fork)
Feb 11, 2025
3baaed8
doc: Updated x11/qt6ct to 0.10
Feb 11, 2025
8787d41
openssl: update to 3.4.1.
Feb 11, 2025
bc172a2
doc: Updated security/openssl to 3.4.1
Feb 11, 2025
8fc1f2a
doc: add openssl vuln
Feb 11, 2025
7e127fc
nss: update to 3.108.
Feb 11, 2025
944d06b
doc: Updated devel/nss to 3.108
Feb 11, 2025
5183862
Update intel-microcode-netbsd to 20250211
Feb 12, 2025
eb84aef
doc: Updated sysutils/intel-microcode-netbsd to 20250211.
Feb 12, 2025
ba111bd
x11/gtk2: fix the build on NetBSD-10.99.12-amd64
Feb 12, 2025
470f276
pkg_install: fix for missing O_CLOEXEC
Feb 12, 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.
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