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
3d70ee6
kauth: buildlink libexec/kauth/* files. needed for latest cmake
Jun 16, 2021
839c539
bash: Add --enable-function-import.
jperkin Jun 16, 2021
8f47f64
doc: Updated shells/bash to 5.1.8nb2
jperkin Jun 16, 2021
9108fef
kdoctools: buildlink share/kf5/kdoctools/customization/*.xsl files.
Jun 16, 2021
66c8792
grantlee-qt5: buildlink lib/grantlee/5.2/*.so files. needed for late…
Jun 16, 2021
35d3e3f
p5-File-Copy-Recursive: remove unnecessary comment
0-wiz-0 Jun 16, 2021
bd86f67
kauth: more files needed in buildlink. These get k3b building again.
Jun 16, 2021
f987c35
devel/fossil: Fix distfile
Midar Jun 16, 2021
99e7c37
sysutils/auto-admin: Update to 0.7.5
Jun 16, 2021
8a8b30f
doc: Updated sysutils/auto-admin to 0.7.5
Jun 16, 2021
13459ce
firefox52: fix compatibility with newer NSS
alarixnia Jun 16, 2021
d969906
Add my patch for PR 51100 (from 2016) to devel/cdecl.
Jun 16, 2021
a036ffd
CHANGES for devel/cdecl.
Jun 16, 2021
538f72e
rrdtool: fix building on Darwin
Jun 17, 2021
96e5fed
net/bind916: Update to 9.16.17
Jun 17, 2021
80f3838
doc: Updated net/bind916 to 9.16.17
Jun 17, 2021
8c90e4c
pkglint: bump version to match the upcoming quarterly release
rillig Jun 17, 2021
1f7e7a3
doc: Updated pkgtools/pkglint to 21.2.0
rillig Jun 17, 2021
98c7abb
grantlee: more files needed in buildlink. This gets kdelibs4 building…
Jun 17, 2021
5648ff3
tunderbird52: fixes for newer NSS, avoid GNU regex
alarixnia Jun 17, 2021
8762d4c
net/bind911: Update to 9.11.33
Jun 17, 2021
9557300
doc: Updated net/bind911 to 9.11.33
Jun 17, 2021
a16b58e
(devel/opengrok) Adhoc build fix by http -> https conversion
Jun 17, 2021
7b2962c
sysutils/xplr: update to 0.14.2
0323pin Jun 17, 2021
b386a71
doc: Updated sysutils/xplr to 0.14.2
0323pin Jun 17, 2021
e7a11e5
sysutils/broot: update to 1.6.0
0323pin Jun 17, 2021
ecbdab5
doc: Updated sysutils/broot to 1.6.0
0323pin Jun 17, 2021
bf68ff8
x11/qt5-qtbase: build fix for older gcc -march=native
Jun 18, 2021
425db2e
gtk3: remove unnecessary patch, fix PLIST for Darwin with Quartz
Jun 18, 2021
5fdecba
x11/kitty: update to 0.21.1
0323pin Jun 18, 2021
7c9f0a0
doc: Updated x11/kitty to 0.21.1
0323pin Jun 18, 2021
38acb0d
doc/TODO: + nss-3.67, rust-1.53.
0-wiz-0 Jun 18, 2021
0cb114a
x11/kitty: adjust PLIST
0323pin Jun 18, 2021
c40575a
macchina: fix build on aarch64
tnn2 Jun 18, 2021
9ed0f68
Update to 6.0.6. From the changelog:
schmonz Jun 18, 2021
256d784
doc: Updated textproc/py-feedparser to 6.0.6
schmonz Jun 18, 2021
20534d6
py-h5py: Fix numpy requirement in setup.py for pkgsrc-friendliness
alarixnia Jun 18, 2021
824b94e
bootstrap-mk: Remove GCC/Clang-specific warning flags
alarixnia Jun 18, 2021
35e9e8e
openscad: Needs itstool
alarixnia Jun 18, 2021
ae28db3
violetland: remove bogus USE_LANGUAGES=c++03, fix build
alarixnia Jun 18, 2021
39937ea
firefox68: Fix build with latest NSS.
alarixnia Jun 18, 2021
567958e
firefox68: Fix NetBSD version pattern in mozilla-common
alarixnia Jun 18, 2021
20d710f
warzone2100: use a2x instead of asciidoctor for now
alarixnia Jun 18, 2021
5fdd753
firefox: Explicitly use autoconf-2.13
alarixnia Jun 18, 2021
61aac1f
firefox78: explicitly use autoconf-2.13
alarixnia Jun 18, 2021
6bde74c
firefox52: explicitly use autoconf-2.13
alarixnia Jun 18, 2021
05de3be
firefox68: explicitly use autoconf-2.13
alarixnia Jun 18, 2021
389804a
thunderbird: explicitly use autoconf-2.13
alarixnia Jun 18, 2021
3779ac3
thunderbird68: use autoconf-2.13 explicitly
alarixnia Jun 18, 2021
8625d69
thunderbird52: explicitly use autoconf-2.13
alarixnia Jun 18, 2021
43954b6
seamonkey: use autoconf-2.13 explicitly
alarixnia Jun 18, 2021
41cd5b2
llvm: explicitly list all bin/* files instead of a wildcard
0-wiz-0 Jun 18, 2021
167e77c
kio: more files needed in buildlink. Gets kinit building again.
Jun 19, 2021
7e46f89
kjs: more files needed in buildlink. Gets khtml building again.
Jun 19, 2021
0e742b8
php*-extensions: quick hack to make the metapackage build on aarch64
alarixnia Jun 19, 2021
8c05992
libretro-mame2010: fix building on non-x86 non-powerpc
alarixnia Jun 19, 2021
803c5bb
textproc/ruby-terminal-table: relax dependency
Jun 19, 2021
488887e
doc: Updated textproc/ruby-terminal-table to 2.0.0nb1
Jun 19, 2021
60664e4
build fix for NetBSD-8/m68k which calls itself netbsdelf
spzeidler Jun 19, 2021
0133344
doc/TODO: + libzip-1.8.0.
0-wiz-0 Jun 19, 2021
d46741b
haproxy: needs -latomic on aarch64, for __atomic_compare_exchange_16
tnn2 Jun 19, 2021
be7cdec
net/bind916: Update to 9.6.18
Jun 19, 2021
f8070c1
doc: Updated net/bind916 to 9.16.18
Jun 19, 2021
cf8a2fe
(math/xyconvert) +USE_LANGUAGES+= c++
Jun 19, 2021
1e4615b
(databases/p5-sqlrelay) adhoc fix for -lperl not found, but PLIST NG
Jun 19, 2021
c02c143
Allow for tiff 4.3 as requested by Mustafa Dogan. Skipping
Jun 20, 2021
51712d7
doc/TODO: add some
0-wiz-0 Jun 20, 2021
2302826
alacritty: work around XIM error on NetBSD with native X11
tnn2 Jun 20, 2021
2404980
alacritty: apply previous workaround only when X11_TYPE is native
tnn2 Jun 20, 2021
73da409
megaglest: remove bogus USE_LANGUAGES/EXTRACT_USING
alarixnia Jun 20, 2021
9c59e1d
net/yaydl: update to 0.6.6
0323pin Jun 21, 2021
95e04ff
doc: Updated net/yaydl to 0.6.6
0323pin Jun 21, 2021
69a83c9
py-pyvo: mark BROKEN due to unimported dependency
alarixnia Jun 21, 2021
f7a024b
clang: add BUILDLINK_FILES to work around cmake changes
alarixnia Jun 21, 2021
3f54a30
samba4: Warn before starting if procfs is not mounted on NetBSD...
alarixnia Jun 21, 2021
abecf82
qhull: install libqhull properly; fixes install_name on Darwin
Jun 21, 2021
0bbd3de
akonadi: more buildlinked files. Should get kdepimlibs4 building again.
Jun 21, 2021
cbe95da
qt5: Add BUILDLINK_FILES workarounds for cmake
alarixnia Jun 21, 2021
dd47ae2
www/hackernews-tui: update to 0.7.1
0323pin Jun 21, 2021
5828cb8
doc: Updated www/hackernews-tui to 0.7.1
0323pin Jun 21, 2021
11aff4c
py-daemon: needs py-docutils
alarixnia Jun 21, 2021
20e3217
gemrb: fix broken patch
alarixnia Jun 21, 2021
ef1a241
u-boot-pine-h64: needs py-setuptools
alarixnia Jun 21, 2021
9778f71
PR 56265: add an explicit template instantiation for the "external" v…
Jun 21, 2021
8c984dc
wmbiff: Fix build.
alarixnia Jun 21, 2021
2256dd9
mail/dovecot: update to 2.3.15
Jun 21, 2021
b47892f
doc: note update of dovecot2 packages to 2.3.15
Jun 21, 2021
18a7223
mail/dovecot2-pigeonhole: update to 0.5.15
Jun 21, 2021
58a6a04
doc: Updated mail/dovecot2-pigeonhole to 0.5.15
Jun 21, 2021
817fdbf
Remove extremely slow MySQL mirror
alarixnia Jun 21, 2021
65f04db
Remove broken MySQL mirror
alarixnia Jun 21, 2021
39af00d
Remove all MySQL mirrors that 404 or fail to respond
alarixnia Jun 21, 2021
def1c7e
libquadmath: disable multilib support
alarixnia Jun 21, 2021
bf8cc9e
Uptream patch (that's in the pipeline) to address an issue in
thorpej Jun 22, 2021
d06bf88
Updated emulators/qemu to 6.0.0nb2.
thorpej Jun 22, 2021
9a5dda9
slim: disable ConsoleKit support by default
alarixnia Jun 22, 2021
ec3cc13
slim: bump for previous default options change
alarixnia Jun 22, 2021
cca6cd4
samba4: downgrade to 4.13.9, as discussed on netbsd-users@
alarixnia Jun 22, 2021
b3bf6e2
mysql80: Fix build on NetBSD 9.x
alarixnia Jun 22, 2021
52d7cca
tor-browser: update to 10.0.18.
0-wiz-0 Jun 22, 2021
b3dea35
doc: Updated security/tor-browser to 10.0.18
0-wiz-0 Jun 22, 2021
f21304c
Default to OpenJDK 8 on NetBSD 9.x aarch64 due to OpenJDK 11 being br…
alarixnia Jun 22, 2021
6edfdac
openjdk11: only enable hotspot VM on netbsd/aarch64 HEAD
alarixnia Jun 22, 2021
bacc0ed
future proof version patterns
alarixnia Jun 22, 2021
5393155
qt5-qtmultimedia: Only enable pulseaudio on platforms where mozjs works
alarixnia Jun 22, 2021
b575468
mplayer: correct spelling error
alarixnia Jun 22, 2021
72946a2
qt5-qtmultimedia: note why pulse is enabled
alarixnia Jun 22, 2021
d6898f8
mplayer: remove pulse from default options now NetBSD 7 is unsupported
alarixnia Jun 22, 2021
f6387ca
libquadmath: Do not install libraries to multi_os_directory
alarixnia Jun 22, 2021
84230e8
colord: Avoid picking up docbook2man from the host system...
alarixnia Jun 22, 2021
80b5a4f
Check a little harder for stat64. Fixes the build on my M1 with
schmonz Jun 22, 2021
4d51179
Update to 6.0.7. From the changelog:
schmonz Jun 22, 2021
05db170
doc: Updated textproc/py-feedparser to 6.0.7
schmonz Jun 22, 2021
eebae8a
scribus-qt5: fix build with poppler >= 21.3
Jun 22, 2021
23f2dc1
nodejs: Set correct destination CPU on powerpc
alarixnia Jun 23, 2021
8564757
qt5-qtwebkit: Recognize powerpc NetBSD
alarixnia Jun 23, 2021
4071959
libtorrent-rasterbar: needs atomic64
alarixnia Jun 23, 2021
26ca145
audio/abcde: Drop gogo from MESSAGE
Jun 23, 2021
9af2a8f
math/py-numba: fix typo in PLIST.Linux (hotfix, need to settle PLIST …
Jun 23, 2021
11f9537
mk/bsd.pkg.mk: freeze ended for pkgsrc-2021Q2 branch [gdt 2021-06-23]
Jun 23, 2021
b10f9b3
*** empty log message ***
Jun 23, 2021
dcf7a93
doc: Updated math/arpack-ng to 3.8.0nb1
Jun 23, 2021
1cd4ccd
Update to 6.0.8. From the changelog:
schmonz Jun 23, 2021
c7b393c
doc: Updated textproc/py-feedparser to 6.0.8
schmonz Jun 23, 2021
97b6aa7
Update to 1.0.0. From the changelog:
schmonz Jun 23, 2021
d2d47c5
doc: Updated devel/py-approvaltests to 1.0.0
schmonz Jun 23, 2021
441c745
Fix build on darwin20 and macOS arm64, via MacPorts. For other
schmonz Jun 23, 2021
f15d7cf
Don't let CDPATH affect the build.
schmonz Jun 23, 2021
a948873
Probably make cvm-checkpassword actually work as an alternative
schmonz Jun 23, 2021
df3785e
doc: Updated security/cvm to 0.97nb3
schmonz Jun 23, 2021
2ce6b8f
libffcall: update to 2.4.
0-wiz-0 Jun 23, 2021
7287829
doc: Updated devel/libffcall to 2.4
0-wiz-0 Jun 23, 2021
f56448e
macFUSE headers have been in /usr/local/include/fuse for a while. Add
schmonz Jun 23, 2021
8b0165c
postgresql-timescaledb: update to 2.3.0
tnn2 Jun 23, 2021
e37d78f
promscale: update to 0.4.1
tnn2 Jun 23, 2021
2af6d4b
ndpi: updated to 3.4
Jun 23, 2021
9ccd554
ntopng: updated to 4.2
Jun 23, 2021
07115a9
hiredis: updated to 1.0.0
Jun 23, 2021
e7de4be
ansible-base: updated to 2.10.11
Jun 23, 2021
a2b9030
Updated net/ndpi, net/ntopng, databases/hiredis, sysutils/ansible-base
Jun 23, 2021
60fcc41
security/munge: Release maintainership
Jun 23, 2021
25f4fdc
doc: Updated security/munge to 0.5.13nb6
Jun 23, 2021
f4befd7
parallel/slurm-wlm: Release maintainership
Jun 23, 2021
b663f43
doc: Updated parallel/slurm-wlm to 19.05.5nb10
Jun 23, 2021
1a1ed5b
devel/swig2: Release maintainership
Jun 23, 2021
460a1ac
doc: Updated devel/swig2 to 2.0.12nb4
Jun 23, 2021
908be92
parallel/ganglia-monitor-core: Release maintainership
Jun 23, 2021
dd61bb8
doc: Updated parallel/ganglia-monitor-core to 3.7.2nb16
Jun 23, 2021
fbfb051
math/udunits: Release maintainership
Jun 23, 2021
2e6d621
doc: Updated math/udunits to 2.2.26
Jun 23, 2021
d22fa33
mk: Switch default MySQL version to mariadb105.
alarixnia Jun 23, 2021
8adede9
textproc/man2html: Release maintainership
Jun 23, 2021
03e5977
doc: Updated textproc/man2html to 3.0.1nb4
Jun 23, 2021
53d6ac8
textproc/R-data.table: Release maintainership
Jun 23, 2021
3797192
doc: Updated textproc/R-data.table to 1.14.0
Jun 23, 2021
5ee59f9
textproc/R-cellranger: Release maintainership
Jun 23, 2021
d9c8ea2
doc: Updated textproc/R-cellranger to 1.1.0
Jun 23, 2021
9f62080
devel/libctl: Release maintainership
Jun 23, 2021
76848c8
doc: Updated devel/libctl to 3.2.2nb2
Jun 23, 2021
6b5ab5c
devel/R-rematch: Release maintainership
Jun 23, 2021
9d9b932
doc: Updated devel/R-rematch to 1.0.1
Jun 23, 2021
38022bd
grafana: update to 8.0.3
tnn2 Jun 23, 2021
2ad2af0
git-filter-repo: update to 2.32.0
tnn2 Jun 23, 2021
dcd3569
py-xdis: updated to 5.0.10
Jun 23, 2021
c73d44b
py-ICU: updated to 2.7.4
Jun 23, 2021
9309385
pdated devel/py-xdis, textproc/py-ICU
Jun 23, 2021
dda3a89
tint2: update to 17.0.1
tnn2 Jun 23, 2021
7ebf50f
backuppc: update HOMEPAGE
tnn2 Jun 23, 2021
04c54a1
ibus-python: remove reference to Linux in DESCR
alarixnia Jun 23, 2021
2769c9c
lynis: remove list of operating systems from COMMENT
alarixnia Jun 23, 2021
a34da95
Revbump for MySQL default change
alarixnia Jun 23, 2021
c0295db
doc: assorted updates
tnn2 Jun 23, 2021
af66099
age: update to 1.0.0rc3.
0-wiz-0 Jun 23, 2021
814c7c3
doc: Updated security/age to 1.0.0rc3
0-wiz-0 Jun 23, 2021
023f92d
security/py-hkdf: import py-hkdf-0.0.3
0-wiz-0 Jun 23, 2021
c6a9363
security/Makefile: + py-hkdf
0-wiz-0 Jun 23, 2021
f0fcbca
doc: Added security/py-hkdf version 0.0.3
0-wiz-0 Jun 23, 2021
3bd1058
security/py-spake2: import py-spake2-0.8
0-wiz-0 Jun 23, 2021
af68ce0
security/Makefile: + py-spake2.
0-wiz-0 Jun 23, 2021
2dbb389
doc: Added security/py-spake2 version 0.8
0-wiz-0 Jun 23, 2021
9aa02b1
py-magic-wormhole: add missing py-spake2 dependency
0-wiz-0 Jun 23, 2021
f73ce05
doc: Updated net/py-magic-wormhole to 0.12.0nb2
0-wiz-0 Jun 23, 2021
96333fc
py-magic-wormhole: add missing TEST_DEPENDENCY
0-wiz-0 Jun 23, 2021
221dfea
trustedQSL: Update to 2.5.7
Jun 24, 2021
e215edf
doc: Updated ham/trustedQSL to 2.5.7
Jun 24, 2021
29b5fcf
php-dotclear: Add www/php-dotclear version 2.18.1
Jun 24, 2021
f8d5f90
doc: Added www/php-dotclear version 2.18.1
Jun 24, 2021
676c351
www: Add www/php-dotclear version 2.18.1
Jun 24, 2021
dc7b49f
dMagnetic: update to 0.31.
0-wiz-0 Jun 24, 2021
3c8b944
doc: Updated games/dMagnetic to 0.31
0-wiz-0 Jun 24, 2021
bf09c57
taisei: revert accidental changes
alarixnia Jun 24, 2021
742d316
remove CVS message bleh
alarixnia Jun 24, 2021
9a09a98
sysutils/broot
0323pin Jun 24, 2021
3668ae6
sysutils/dust: update to 0.6.0
0323pin Jun 24, 2021
33c5956
doc: Updated sysutils/dust to 0.6.0
0323pin Jun 24, 2021
ebffadb
textproc/paperoni: update to 0.5.0
0323pin Jun 24, 2021
9cacebf
doc: Updated textproc/paperoni to 0.5.0
0323pin Jun 24, 2021
683f881
fonts/montserrat: update to 7.220
0323pin Jun 24, 2021
0e87460
doc: Updated fonts/montserrat to 7.220
0323pin Jun 24, 2021
6a99b26
nodejs: updated to 14.17.1
Jun 24, 2021
56dc6ed
cmake: updated to 3.20.5
Jun 24, 2021
a969b54
nodejs12: use external brotli; bump revision
Jun 24, 2021
9ec6cdc
haproxy: updated to 2.4.1
Jun 24, 2021
b18da44
py-rich: updated to 10.4.0
Jun 24, 2021
67a1df6
Updated lang/nodejs, devel/cmake, net/haproxy, comms/py-rich
Jun 24, 2021
55192ca
devel/ugdb: import pkg
0323pin Jun 24, 2021
b575a20
Add ugdb
0323pin Jun 24, 2021
130ff7d
doc: Added devel/ugdb version 0.1.10
0323pin Jun 24, 2021
8b91242
www/xurl: import pkg
0323pin Jun 24, 2021
6757315
Add xurl
0323pin Jun 24, 2021
78cd168
doc: Added www/xurl version 0.1.0
0323pin Jun 24, 2021
44d896e
cpu_features: paper over CMake brain damage
tnn2 Jun 24, 2021
da958ac
add security/libuecc
alarixnia Jun 24, 2021
0424cd8
doc: Added security/libuecc version 7
alarixnia Jun 24, 2021
0d6efc5
add net/fastd
alarixnia Jun 24, 2021
785784d
doc: Added net/fastd version 21
alarixnia Jun 24, 2021
4eee463
doc: Default MySQL implementation changed
alarixnia Jun 24, 2021
69c4df7
qt5-qtwebkit: recognize netbsd/arm
alarixnia Jun 24, 2021
50b83e2
pcre: updated to 8.45
Jun 24, 2021
1abbbe6
py-braintree: updated to 4.10.0
Jun 24, 2021
c561d16
Updated devel/pcre, finance/py-braintree
Jun 24, 2021
e4739f9
net/unison-snapshot: Adjust to the hash that is 2.51.4
Jun 24, 2021
f9b3b02
doc: Updated net/unison-snapshot to 2.51.3.99
Jun 24, 2021
17271b0
net/unison-snapshot: Take MAINTAINERship
Jun 24, 2021
52b5dd2
sysutils/xplr: update to 0.14.3
0323pin Jun 24, 2021
29b159a
doc: Updated sysutils/xplr to 0.14.3
0323pin Jun 24, 2021
405db64
net/unison2.51: Update to 2.51.4
Jun 24, 2021
7924bc0
doc: Updated net/unison2.51 to 2.51.4
Jun 24, 2021
2ca602b
xorg-server: try to mend build on Linux
tnn2 Jun 24, 2021
b24cdcd
py-setuptools: updated to 57.0.0
Jun 24, 2021
64c0539
py-gitpython: updated to 3.1.18
Jun 24, 2021
f5b2563
Updated devel/py-setuptools, devel/py-gitpython
Jun 24, 2021
6f0af1d
py-pypika: updated to 0.48.5
Jun 24, 2021
62a2d57
py-sh: updated to 1.14.2
Jun 24, 2021
7190049
Updated databases/py-pypika, sysutils/py-sh
Jun 24, 2021
8f2a2b6
modular-xorg-server: revert PR pkg/56169 patch. Different solution ne…
tnn2 Jun 24, 2021
727bcd0
devel/afl: install non-empty README
rillig Jun 24, 2021
e2b85f8
php-dotclear: Fix unresolved dependency on textproc/php-json
Jun 24, 2021
2362198
doc: Updated www/php-dotclear to 2.18.1nb1
Jun 24, 2021
9cdf218
doc/CHANGES-2021: Remove unnecessary entries for maintainer resets
Jun 24, 2021
d1996b8
akonadi: more buildlink files.
Jun 24, 2021
ac17de1
libzip: update to 1.8.0.
0-wiz-0 Jun 24, 2021
db624a1
doc: Updated archivers/libzip to 1.8.0
0-wiz-0 Jun 24, 2021
08a7520
glib2 glib2-tools gdbus-codegen: updated to 2.68.3
Jun 25, 2021
fec97b1
py-tqdm: updated to 4.61.1
Jun 25, 2021
584c7a5
Updated devel/glib2, devel/glib2-tools, devel/gdbus-codegen, misc/py-…
Jun 25, 2021
791fef2
minor u-boot rockchip package cleanup.
Jun 25, 2021
3fc0739
catch up the u-boot-roc-rk3328-cc package with u-boot distinfo/patches
Jun 25, 2021
10d5305
catch up u-boot-pinephone with uboot infrastructure changes.
Jun 25, 2021
66fd103
Bump mail/opendkim to 2.11.0-Beta2
rhansen Oct 9, 2020
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