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
171898f
thunderbird: Update to 78.8.1
ryoon Mar 12, 2021
d8005b0
doc: Updated mail/thunderbird to 78.8.1
ryoon Mar 12, 2021
b99e221
thunderbird-l10n: Update to 78.8.1
ryoon Mar 12, 2021
1a4bac7
doc: Updated mail/thunderbird-l10n to 78.8.1
ryoon Mar 12, 2021
9e4d2a7
py-keystone: needs cmake.
alarixnia Mar 12, 2021
c9910e4
oshu: Disable non-minimal skin.
alarixnia Mar 12, 2021
db7fe9b
php-msgpack: Import php-msgpack-2.1.2 as devel/php-msgpack
travispaul Mar 12, 2021
380bc38
doc: Added devel/php-msgpack version 2.1.2
travispaul Mar 12, 2021
4e7cda0
sayaka: update to 3.5.0.
tsutsui Mar 12, 2021
b2e048f
doc: Updated net/sayaka to 3.5.0
tsutsui Mar 12, 2021
2e80f64
openjdk11: Fix NIO behavior
ryoon Mar 12, 2021
4f1ba4e
doc: Updated lang/openjdk11 to 1.11.0.10.9nb1
ryoon Mar 12, 2021
788ee54
ant-contrib: Update to 1.0b3
ryoon Mar 12, 2021
6d1d04c
doc: Updated devel/ant-contrib to 1.0b3
ryoon Mar 12, 2021
abe6460
doc: Remove ant-contrib
ryoon Mar 12, 2021
8a5c014
kore: add an 'acme' build option to allow compiling in ACME support.
fcambus Mar 12, 2021
560626d
audio/din: Updates to 50
fraggerfox Mar 12, 2021
bd9cfe0
doc: Updated audio/din to 50
fraggerfox Mar 12, 2021
0ca3453
gradle: Update to 6.8.3
ryoon Mar 12, 2021
d09247e
doc: Updated devel/gradle to 6.8.3
ryoon Mar 12, 2021
49a9e93
security/libdecaf: Updates to v1.0.1
fraggerfox Mar 12, 2021
117da57
doc: Updated security/libdecaf to 1.0.1
fraggerfox Mar 12, 2021
bbfa16c
geography/gdal-lib (and py-gdal): Update to 3.2.2.
Mar 13, 2021
7a3db6f
doc: Updated geography/gdal-lib to 3.2.2
Mar 13, 2021
cb3f777
net/mosquitto: Update to 2.0.9
Mar 13, 2021
e0e99a3
doc: Updated net/mosquitto to 2.0.9
Mar 13, 2021
6185e43
remmina: Update to 1.4.12
ryoon Mar 13, 2021
1041afc
doc: Updated net/remmina to 1.4.12
ryoon Mar 13, 2021
f52fa01
misc/screen: Fix CVE-2021-26937 and another UTF-8 bug
suominen Mar 13, 2021
28ea693
doc: Updated misc/screen to 4.8.0nb4
suominen Mar 13, 2021
55f8083
py-googlemaps: Update to 4.4.4.
kleink Mar 13, 2021
0895ac3
doc: Updated geography/py-googlemaps to 4.4.4
kleink Mar 13, 2021
e7e8e02
meta-pkgs/php74-extensions: add php-ffi
Mar 13, 2021
9d5a863
doc: Updated meta-pkgs/php74-extensions to 7.4.16nb1
Mar 13, 2021
4972876
devel/php-memcache: commit forgot files
Mar 13, 2021
603f378
www/squid4: update to 4.14
Mar 13, 2021
6ecaf28
doc: Updated www/squid4 to 4.14
Mar 13, 2021
f63a25c
libarchive: Fix bootstrap build under Haiku OS/x86_64 R1/beta2
ryoon Mar 13, 2021
bc7f9d4
sysutils/macchina: update to 0.5.9
0323pin Mar 13, 2021
cd4386a
doc: Updated sysutils/macchina to 0.5.9
0323pin Mar 13, 2021
101fbc4
sysutils/sfm: update to 0.5.0
0323pin Mar 13, 2021
85d71d0
doc: Updated sysutils/sfm to 0.5.0
0323pin Mar 13, 2021
307f328
gitea: re-generate the frontend files
khorben Mar 14, 2021
9d7d495
balsa: Update to 2.6.2
alarixnia Mar 14, 2021
d020ace
doc: Updated mail/balsa to 2.6.2
alarixnia Mar 14, 2021
0352f89
doc/TODO: add some
0-wiz-0 Mar 14, 2021
b231363
gnutls: update to 3.7.1.
0-wiz-0 Mar 14, 2021
ec069f3
doc: Updated security/gnutls to 3.7.1
0-wiz-0 Mar 14, 2021
4aab6b4
dav1d: Update to 0.8.2
alarixnia Mar 14, 2021
6a30b95
doc: Updated multimedia/dav1d to 0.8.2
alarixnia Mar 14, 2021
28ec4c8
bison: update to 3.7.6.
0-wiz-0 Mar 14, 2021
a210f8d
doc: Updated devel/bison to 3.7.6
0-wiz-0 Mar 14, 2021
f77865d
libxkbcommon: update to 1.1.0.
0-wiz-0 Mar 14, 2021
ad62100
doc: Updated x11/libxkbcommon to 1.1.0
0-wiz-0 Mar 14, 2021
3a31c95
mk/haskell.mk: Ignore per-user package environment file while buildin…
depressed-pho Mar 14, 2021
2b03780
py-yapf: updated to 0.31.0
Mar 14, 2021
0f7c108
py-xdis: updated to 5.0.8
Mar 14, 2021
21af30b
Updated devel/py-yapf, devel/py-xdis
Mar 14, 2021
720c7e0
dbus: Simplify MESSAGE, make it only appear for INIT_SYSTEM=rc.d
alarixnia Mar 14, 2021
49b7b7b
cups-pdf: fix RELRO build
0-wiz-0 Mar 14, 2021
74d51e2
doc: Updated print/cups-pdf to 3.0.1nb1
0-wiz-0 Mar 14, 2021
cd79e01
mpage: fix RELRO build
0-wiz-0 Mar 14, 2021
ac6a991
doc: Updated print/mpage to 2.5.7nb1
0-wiz-0 Mar 14, 2021
1e82e33
cups: update to 2.3.3op2.
0-wiz-0 Mar 14, 2021
a162b2f
doc: Updated print/cups to 2.3.3op2
0-wiz-0 Mar 14, 2021
6e72de8
sysupgrade: More useful example URLs.
alarixnia Mar 14, 2021
0df2fc1
doc/TODO: - libcups, update done
0-wiz-0 Mar 14, 2021
8b65369
devel/pointfree: Import pointfree-1.1.1.7
depressed-pho Mar 14, 2021
a65db48
doc: Added devel/pointfree version 1.1.1.7
depressed-pho Mar 14, 2021
fac2a5d
Fix build on NetBSD machines that don't have NVMM capabilities. The l…
Mar 14, 2021
214d81e
aiomixer: Update to 1.0.2
alarixnia Mar 14, 2021
7dddf1f
doc: Updated audio/aiomixer to 1.0.2
alarixnia Mar 14, 2021
2db7bc4
cyr-rfx-*: remove nonexistent master site
0-wiz-0 Mar 14, 2021
517ec0e
youtube-dl: Update to 20210314
iamleot Mar 14, 2021
599bfe8
doc: Updated net/youtube-dl to 20210314
iamleot Mar 14, 2021
42fe965
amass: Update to 3.11.9
iamleot Mar 14, 2021
eb281e6
doc: Updated security/amass to 3.11.9
iamleot Mar 14, 2021
9d00a03
sfeed_curses: Update to 0.9.9
iamleot Mar 14, 2021
956a852
doc: Updated news/sfeed_curses to 0.9.9
iamleot Mar 14, 2021
9e5accf
update xymon and xymonclient to version 4.3.30
spzeidler Mar 14, 2021
d6864be
Update to version 5.7
dashmoho Mar 14, 2021
81bc81a
Update go116 to 1.16.2.
bsiegert Mar 14, 2021
4cb7593
sfeed: Update to 0.9.22
iamleot Mar 14, 2021
4f6d372
doc: Updated news/sfeed to 0.9.22
iamleot Mar 14, 2021
cc4c2ae
doc: Updated lang/go116 to 1.16.2
bsiegert Mar 14, 2021
6f96d9d
Update to 0.3.2. From the changelog:
schmonz Mar 14, 2021
4088320
doc: Updated devel/py-approvaltests to 0.3.2
schmonz Mar 14, 2021
1115a6c
stagit-gopher: Update to 0.9.5
iamleot Mar 14, 2021
3f31dfa
doc: Updated net/stagit-gopher to 0.9.5
iamleot Mar 14, 2021
d5b1cc5
Update chat/matrix-synapse to 1.29.0
Midar Mar 14, 2021
fc5c886
update to ircii 20210314. changes include:
Mar 15, 2021
4257a4f
note ircii 20210314.
Mar 15, 2021
5a1c480
py-configargparse: updated to 1.4
Mar 15, 2021
a7f3a63
py-flakes: updated to 2.3.0
Mar 15, 2021
097ae03
py-xmlschema: updated to 1.5.3
Mar 15, 2021
8723368
py-codestyle: updated to 2.7.0
Mar 15, 2021
d621342
py-flake8: updated to 3.9.0
Mar 15, 2021
787a920
Updated devel/py-configargparse, devel/py-flakes, textproc/py-xmlsche…
Mar 15, 2021
8cd178f
lightspark: Update to 0.8.4.1
alarixnia Mar 15, 2021
fb8adae
doc: Updated multimedia/lightspark to 0.8.4.1
alarixnia Mar 15, 2021
7203c88
luakit: Update to 2.3
alarixnia Mar 15, 2021
9d8aa04
doc: Updated www/luakit to 2.3
alarixnia Mar 15, 2021
6674e75
games/woof: Update to 4.0.1
Mar 15, 2021
3ba6d75
doc: Updated games/woof to 4.0.1
Mar 15, 2021
d8ea5b6
pekwm: update HOMEPAGE
alarixnia Mar 15, 2021
4787e52
pekwm: update to 0.1.18
alarixnia Mar 15, 2021
9f3a4ce
doc: Updated wm/pekwm to 0.1.18
alarixnia Mar 15, 2021
00c4ceb
py-radon: updated to 4.5.0
Mar 15, 2021
4102d57
py-pep517: updated to 0.10.0
Mar 15, 2021
5e7b51f
Updated devel/py-radon, devel/py-pep517
Mar 15, 2021
e8084ca
qmmp: Update to 1.4.4
alarixnia Mar 15, 2021
55d5e99
doc: Updated audio/qmmp to 1.4.4
alarixnia Mar 15, 2021
65d6212
re-enable wavpack support by default in a handful of players
alarixnia Mar 15, 2021
fe02b0d
=> Bootstrap dependency digest>=20010302: found digest-20190127
Mar 15, 2021
6f57a3e
doc: Updated sysutils/bup to 0.32
Mar 15, 2021
b3b82f1
sysutils/bup: Add py-test as pseudo-TEST_DEPENDS
Mar 15, 2021
760062d
mk/platform: Enable cwrappers for Haiku
ryoon Mar 15, 2021
dd0c35b
bzip2: Do not use hardlink for Haiku
ryoon Mar 15, 2021
2f407cc
perl5: Fix build under Haiku R1/beta2
ryoon Mar 15, 2021
1d609fc
sqlite3: updated to 3.35.0
Mar 15, 2021
66e6b12
gnome-autoar: update to 3.0.1
cirnatdan Mar 15, 2021
cc52fb7
Updated databases/sqlite3, databases/sqlite3-docs, databases/sqlite3-…
Mar 15, 2021
a415723
py-test-xprocess: updated to 0.17.1
Mar 15, 2021
7648931
py-django-admin-sortable2: updated to 0.7.8
Mar 15, 2021
cb51a51
Updated devel/py-test-xprocess, www/py-django-admin-sortable2
Mar 15, 2021
bcd383b
sysutils/bup: Update to 0.32
Mar 15, 2021
da7c0d4
net/iperf*: Add status to DESCR
Mar 15, 2021
5ba5e45
mk/platform: Add -s to ln always, because Haiku does not support hard…
ryoon Mar 15, 2021
e8dba2f
bzip2: Rever previous
ryoon Mar 15, 2021
2599a7a
mk: Add preliminary support for MidnightBSD
ryoon Mar 15, 2021
b5ab408
bootstrap: Add MidnightBSD support to bootstrap shell script
ryoon Mar 15, 2021
6855cf9
ircII: PLIST: Add missing refresh_window_lastlog help (from 20210314).
kleink Mar 15, 2021
0466ddf
net/iperf2: Add version 2.0.13
Mar 15, 2021
b6f7248
net/iperf: Remove (successor net/iperf2)
Mar 15, 2021
cff40eb
net/Makefile: Adjust for net/iperf move to iperf2
Mar 15, 2021
884b543
net/iperf2: Add URLs for upstream bug reports
Mar 15, 2021
d01467d
doc: Updated archivers/gnome-autoar to 0.3.1
cirnatdan Mar 15, 2021
e6eabc1
Added net/iperf2 version 2.0.13 [gdt 2021-03-15]
Mar 15, 2021
16d9849
Spell --with-cpu correctly for aarch64 in mpg123's options.mk.
Mar 15, 2021
bd929f5
doc: Fix CHANGES entry for gnome-autoar
cirnatdan Mar 15, 2021
003f5cf
qt5-qtbase: allow passing additional arguments to qmake.
Mar 15, 2021
37606ba
qt5-qtbase: more than just linux needs QMAKE_PLATFORM set these days
Mar 15, 2021
105baf3
sysutils/auto-admin: Update to 0.7.1
Mar 15, 2021
da3f35f
doc: Updated sysutils/auto-admin to 0.7.1
Mar 15, 2021
d01a8e3
sqlite3: Add missing patch
ryoon Mar 15, 2021
2de68da
sysutils/htop: Updates to 3.0.5
fraggerfox Mar 15, 2021
072bbb7
doc: Updated sysutils/htop to 3.0.5
fraggerfox Mar 15, 2021
0279486
py-urllib3: updated to 1.26.4
Mar 16, 2021
6073f38
py-httpx: updated to 0.17.1
Mar 16, 2021
ef064f4
py-googlemaps: updated to 4.4.5
Mar 16, 2021
620df03
ansible-base: updated to 2.10.7
Mar 16, 2021
ebb61e1
Updated www/py-urllib3, www/py-httpx, geography/py-googlemaps, sysuti…
Mar 16, 2021
ce065c6
tor: update to 0.4.5.7.
0-wiz-0 Mar 16, 2021
e0baee8
doc: Updated net/tor to 0.4.5.7
0-wiz-0 Mar 16, 2021
7391ffe
stagit: update to 0.9.5.
fcambus Mar 16, 2021
7ed35d0
doc: Updated www/stagit to 0.9.5
fcambus Mar 16, 2021
f70d48d
lowdown: update to 0.8.3.
fcambus Mar 16, 2021
3011297
doc: Updated textproc/lowdown to 0.8.3
fcambus Mar 16, 2021
912a831
qt5-qtlocation: Fix packaging under NetBSD
ryoon Mar 16, 2021
e549a08
qodem: update to 1.0.1.
fcambus Mar 16, 2021
80cedd0
doc: Updated comms/qodem to 1.0.1
fcambus Mar 16, 2021
aaddfdd
net/unison-snapshot: Update to 2.51.4rc2
Mar 16, 2021
faafd74
doc: Updated net/unison-snapshot to 2.51.3.72
Mar 16, 2021
4b01fbe
openldap: updated to 2.4.58
Mar 16, 2021
e6d175e
cmake: updated to 3.19.7
Mar 16, 2021
0703405
Updated databases/openldap, databases/lmdb, devel/cmake
Mar 16, 2021
fbd9344
emulators/cannonball: Updates to 0.31
fraggerfox Mar 16, 2021
7f2e496
doc: Updated emulators/cannonball to 0.31
fraggerfox Mar 16, 2021
6505177
sqlite3: updated to 3.35.1
Mar 17, 2021
468d5b2
Updated databases/sqlite3, databases/sqlite3-docs, databases/sqlite3-…
Mar 17, 2021
4b34884
xkbcomp: update to 1.4.5.
0-wiz-0 Mar 17, 2021
23348a8
doc: Updated x11/xkbcomp to 1.4.5
0-wiz-0 Mar 17, 2021
4d8f56b
qmmp: Add LIBOSSAUDIO on NetBSD. Makes OSS output plugin work.
alarixnia Mar 17, 2021
a37ba45
py-mercurial: update to 5.7.1.
0-wiz-0 Mar 17, 2021
2f4f544
doc: Updated devel/py-mercurial to 5.7.1
0-wiz-0 Mar 17, 2021
10dde47
py-hg-evolve: update to 10.3.0.
0-wiz-0 Mar 17, 2021
42d0274
doc: Updated devel/py-hg-evolve to 10.3.0
0-wiz-0 Mar 17, 2021
d54cded
ilmbase, openexr: update to 2.5.5
0-wiz-0 Mar 17, 2021
b631c04
doc: Updated graphics/ilmbase to 2.5.5
0-wiz-0 Mar 17, 2021
5100f5e
doc: Updated graphics/openexr to 2.5.5
0-wiz-0 Mar 17, 2021
cf5a2c0
mono: update to 6.12.0.122.
0-wiz-0 Mar 17, 2021
ba36b55
doc: Updated lang/mono to 6.12.0.122
0-wiz-0 Mar 17, 2021
ceaa6e0
py-hypothesis: update to 6.8.1.
0-wiz-0 Mar 17, 2021
08c2e97
doc: Updated devel/py-hypothesis to 6.8.1
0-wiz-0 Mar 17, 2021
3090261
msmtp: Update to 1.8.15
ryoon Mar 17, 2021
d9b149e
doc: Updated mail/msmtp to 1.8.15
ryoon Mar 17, 2021
9ae980b
msmtp: Update DESCR
ryoon Mar 17, 2021
1c48716
stella: Update to 6.5.2
alarixnia Mar 17, 2021
112c371
doc: Updated emulators/stella to 6.5.2
alarixnia Mar 17, 2021
ef1d5a6
jpeg: improve DESCR
0-wiz-0 Mar 17, 2021
4638076
doc: Updated emulators/libretro-stella to 6.5.2
alarixnia Mar 17, 2021
e777eb9
srain: update to 1.2.0
alarixnia Mar 17, 2021
1488914
doc: Updated chat/srain to 1.2.0
alarixnia Mar 17, 2021
70802f3
Update eigen3 to 3.3.9
Mar 17, 2021
b332eae
doc: Updated math/eigen3 to 3.3.9
Mar 17, 2021
bfe4b94
openbabel: make buildlink3.mk match Makefile and require eigen3
Mar 17, 2021
7e5510f
doc: Updated biology/openbabel to 3.1.1nb5
Mar 17, 2021
54b6daf
UnifrakturMaguntia-ttf: merge improvements from unifraktur-ttf
0-wiz-0 Mar 17, 2021
d3586cc
unifraktur-ttf: remove
0-wiz-0 Mar 17, 2021
a50b539
purpose: add version 5.70.0
Mar 17, 2021
9a3f1f4
devel: +purpose
Mar 17, 2021
a9e0ca8
add purpose
Mar 17, 2021
c5cb44f
kde: note use of kf5.mk by devel/purpose
Mar 17, 2021
dc493d8
purpose: not in wip
Mar 17, 2021
757ae02
Adjust libfm bl3 to include libexif, and rev bump dependencies
dhgutteridge Mar 18, 2021
789656d
lxhotkey: add version 0.1.1
dhgutteridge Mar 18, 2021
bc5ee5b
x11/Makefile: add lxhotkey
dhgutteridge Mar 18, 2021
0e586f2
doc: Added x11/lxhotkey version 0.1.1
dhgutteridge Mar 18, 2021
33df476
lxde: add lxhotkey and reflect current minimum dependencies
dhgutteridge Mar 18, 2021
1155761
doc: Updated meta-pkgs/lxde to 1.0nb1
dhgutteridge Mar 18, 2021
ecf7bda
xfce4-calculator-plugin: update to 0.7.1
dhgutteridge Mar 18, 2021
306479d
doc: Updated misc/xfce4-calculator-plugin to 0.7.1
dhgutteridge Mar 18, 2021
0a4491c
tex-physics{,-doc}: add version 1.3
Mar 18, 2021
27aadff
math: +tex-physics{,-doc}
Mar 18, 2021
bfec2df
add tex-physics{,-doc}
Mar 18, 2021
c841469
texlive-collection-mathscience: +tex-physics
Mar 18, 2021
0f2f388
openldap-doc: update to 2.4.58
Mar 18, 2021
4a0d95d
py-pypika: updated to 0.48.0
Mar 18, 2021
7fb1604
py-regex: updated to 2021.3.17
Mar 18, 2021
6a7951f
Updated databases/py-pypika, textproc/py-regex
Mar 18, 2021
1548fed
qgpgme: update to 1.15.1
Mar 18, 2021
f2c4c06
qgpgme update
Mar 18, 2021
b3f34d9
py-responses: updated to 0.13.1
Mar 18, 2021
105917e
py-josepy: updated to 1.8.0
Mar 18, 2021
17eb933
Updated net/py-responses, security/py-josepy
Mar 18, 2021
9ff519d
Updated devel/ocaml-findlib to version 1.9.1.
jaapb Mar 18, 2021
7b3c853
doc: Updated devel/ocaml-findlib to 1.9.1
jaapb Mar 18, 2021
1647482
sudo: updated to 1.9.6p1
Mar 18, 2021
58b292c
py-lexicon: updated to 3.5.4
Mar 18, 2021
db8370a
Updated security/sudo, net/py-lexicon
Mar 18, 2021
f03c7fd
py-clint, py-cubes: removed
Mar 18, 2021
fc6df3c
py-libgmail: removed, obsolete
Mar 18, 2021
01e442f
py-hstspreload: removed
Mar 18, 2021
e520a98
Removed devel/py-clint, devel/py-cubes, mail/py-libgmail, www/py-hsts…
Mar 18, 2021
ca2e7ca
py-cjson: removed
Mar 18, 2021
26f4308
py-cloudfiles: removed (obsolete)
Mar 18, 2021
5c96198
Removed textproc/py-cjson, www/py-cloudfiles
Mar 18, 2021
9a530f1
Switch MASTER_SITES to HTTPS.
fcambus Mar 18, 2021
f8b737b
Switch HOMEPAGE to HTTPS.
fcambus Mar 18, 2021
18fb54a
ruby-kramdown: update to 2.3.1.
fcambus Mar 18, 2021
e48f598
doc: Updated textproc/ruby-kramdown to 2.3.1
fcambus Mar 18, 2021
94d1286
libopenmpt: update to 0.5.6.
fcambus Mar 18, 2021
5517486
doc: Updated audio/libopenmpt to 0.5.6
fcambus Mar 18, 2021
a325a83
webkit-gtk: Update to 2.30.6
iamleot Mar 18, 2021
f325124
doc: Updated www/webkit-gtk to 2.30.6
iamleot Mar 18, 2021
61a21a1
postgresql: fix buildling contrib/uuid-ossp; fixes for LLVM enabled; …
Mar 18, 2021
ec0ff79
Provide an alternative less intrusive way of setting the permissions …
Mar 18, 2021
d3ba3f7
Clarify some more
Mar 18, 2021
e2a35f9
qemu: Limit MESSAGE to NetBSD.
jperkin Mar 18, 2021
c9e55d2
devel/lcov: update 'lcov' to 1.15
mariusz-wlodarczyk Mar 18, 2021
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.
295 changes: 79 additions & 216 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,229 +1,92 @@
# $NetBSD: Makefile,v 1.58 2003/07/25 02:44:09 grant Exp $
# $NetBSD: Makefile,v 1.88 2020/02/12 15:04:51 rillig 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 += chat
SUBDIR += comms
SUBDIR += converters
SUBDIR += cross
SUBDIR += databases
SUBDIR += devel
SUBDIR += editors
SUBDIR += emulators
SUBDIR += finance
SUBDIR += fonts
SUBDIR += games
SUBDIR += graphics
SUBDIR += ham
SUBDIR += inputmethod
SUBDIR += lang
SUBDIR += mail
SUBDIR += math
SUBDIR += mbone
SUBDIR += meta-pkgs
SUBDIR += misc
SUBDIR += net
SUBDIR += news
SUBDIR += parallel
SUBDIR += pkgtools
SUBDIR += print
SUBDIR += security
SUBDIR += shells
SUBDIR += sysutils
SUBDIR += textproc
SUBDIR += time
SUBDIR += wm
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+= security
SUBDIR+= shells
SUBDIR+= sysutils
SUBDIR+= textproc
SUBDIR+= time
SUBDIR+= wm
SUBDIR+= www
.endif

.ifdef USER_ADDITIONAL_PKGS
SUBDIR+= ${USER_ADDITIONAL_PKGS}
.endif

PKGSRCTOP= yes


# If PACKAGES is set to the default (${_PKGSRCDIR}/packages), the current
# ${MACHINE_ARCH} and "release" (uname -r) will be used. Otherwise a directory
# structure of ...pkgsrc/packages/`uname -r`/${MACHINE_ARCH} is assumed.
# The PKG_URL is set from FTP_PKG_URL_* or CDROM_PKG_URL_*, depending on
# the target used to generate the README.html file.
.PHONY: README.html
_README_TYPE_FLAG?= none
README.html: .PRECIOUS
.if ${_README_TYPE_FLAG} == "--ftp" || ${_README_TYPE_FLAG} == "--cdrom"
@if [ -e ${PACKAGES} ]; then \
cd ${PACKAGES}; \
case `pwd` in \
${.CURDIR}/packages) \
MULTIARCH=; \
;; \
*) \
MULTIARCH=--multi-arch; \
;; \
esac; \
cd ${.CURDIR} ; \
fi; \
${SETENV} TMPDIR=${TMPDIR:U/tmp}/mkreadme \
BMAKE=${MAKE} AWK=${AWK} EXPR=${EXPR} \
./mk/scripts/mkreadme --pkgsrc ${.CURDIR} \
--packages ${PACKAGES} ${_README_TYPE_FLAG} $$MULTIARCH \
--prune
.else
@${ECHO} "ERROR: please do not use the README.html target directly."
@${ECHO} " Instead use either the \"readme\" or \"cdrom-readme\""
@${ECHO} " target."
@${FALSE}
.endif

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

# the bulk-cache and clean-bulk-cache targets are a global-pkgsrc
# thing and thus it makes sense to run it from the top level pkgsrc
# directory.
.if make(bulk-cache) || make(clean-bulk-cache)
.include "${.CURDIR}/mk/bulk/bsd.bulk-pkg.mk"
# force the setting of _PKGSRCDIR because the way it gets
# set in bsd.prefs.mk is broken if you're in this top level directory
_PKGSRCDIR=${.CURDIR}
.endif

${.CURDIR}/PKGDB:
@${RM} -f ${.CURDIR}/PKGDB
@${ECHO_MSG} "Extracting complete dependency database. This may take a while..."
@DB=${.CURDIR}/PKGDB ; \
PKGSRCDIR=${.CURDIR} ; \
npkg=1; \
list=`${GREP} '^[[:space:]]*'SUBDIR */Makefile | ${SED} 's,/Makefile.*=[[:space:]]*,/,'` ; \
for pkgdir in $$list ; do \
if [ ! -d $$pkgdir ]; then \
echo " " ; \
echo "WARNING: the package directory $pkgdir is listed in" > /dev/stderr ; \
echo $pkgdir | ${SED} 's;/.*;/Makefile;g' > /dev/stderr ; \
echo "but the directory does not exist. Please fix this!" > /dev/stderr ; \
else \
cd $$pkgdir ; \
l=`${MAKE} print-summary-data` ; \
if [ $$? != 0 ]; then \
echo "WARNING (printdepends): the package in $$pkgdir had problem with" \
> /dev/stderr ; \
echo " ${MAKE} print-summary-data" > /dev/stderr ; \
echo " database information for this package" > /dev/stderr ; \
echo " will be dropped." > /dev/stderr ; \
${MAKE} print-summary-data 2>&1 > /dev/stderr ; \
else \
echo "$$l" >> $$DB ; \
fi ; \
fi ; \
echo -n "." ; \
if [ `${EXPR} $$npkg % 100 = 0` -eq 1 ]; then \
echo " " ; \
echo "$$npkg" ; \
fi ; \
npkg=`${EXPR} $$npkg + 1` ; \
cd $$PKGSRCDIR ; \
done

.PHONY: index
index: ${.CURDIR}/INDEX

${.CURDIR}/INDEX: ${.CURDIR}/PKGDB
@${RM} -f ${.CURDIR}/INDEX
@${AWK} -f ./mk/scripts/genindex.awk PKGSRCDIR=${.CURDIR} SORT=${SORT} ${.CURDIR}/PKGDB
@${RM} -f ${.CURDIR}/PKGDB

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

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