1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
|
# $NetBSD: makevars.map,v 1.213 2011/06/18 10:45:32 wiz Exp $
#
# This file contains the guessed type of some variables, according to
# their current use in pkgsrc.
#
# The type YesNo is used for variables that are checked using
# .if defined(VAR) && !empty(VAR:M[Yy][Ee][Ss])
#
# The type Yes is used for variables that are checked using
# .if defined(VAR)
#
# Type type List is used for lists of things. There are two types of lists,
# InternalList and List, which are described in the pkgsrc guide, chapter
# "Makefiles".
#
# Some commonly used ACLs. For further documentation, see the chapter
# ``The pkglint type system'' in the pkglint developer documentation.
#
# A package-defined variable may be set in Makefile, Makefile.common or
# options.mk, since these are commonly used in pkgsrc. Due to the
# special nature of buildlink3.mk and builtin.mk files, these files may
# not define those variables. All other .mk files may, allowing for
# application.mk or similar helper files.
acl package = [m:su, c:dsu, b:, builtin.mk:, *.mk:dsu]
# A package_list may be appended to in all "normal" Makefile fragments.
# This excludes buildlink3.mk and builtin.mk, since they are very
# special-purpose. Because at the beginning, all lists are empty, in the
# primary Makefile a direct assignment may be used instead of appending.
# Since Makefile.common files are usually used by packages that know
# what they are doing, they may set variables directly, too. This rule
# can be removed to show a lot of possible problems in pkgsrc.
acl package_list = [m:asu, c:asu, b:, builtin.mk:, *.mk:au]
acl bl_list = [b:a, builtin.mk:a]
# A user-defined or system-defined variable must not be set by any
# package file. It also must not be used in buildlink3.mk and
# builtin.mk files or at load-time, since the system/user preferences
# may not have been loaded when these files are included.
acl user = [b:, builtin.mk:, *:u]
acl system = [b:, builtin.mk:u, *:u]
acl cmdline = [b:, builtin.mk:, *:pu]
# The following variables are taken from mk/defaults/mk.conf, 1.118
ALLOW_VULNERABLE_PACKAGES Yes [$user]
MANINSTALL List of { maninstall catinstall } [$user]
MANZ Yes [$user]
GZIP List of ShellWord [$user]
MKCRYPTO YesNo [$user]
OBJHOSTNAME Yes [$user]
OBJMACHINE Yes [$user]
PKG_SUFX Filename [$user]
PKGSRC_LOCKTYPE { none sleep once } [$user]
PKGSRC_SLEEPSECS Integer [$user]
USETBL Yes [$user]
ABI { 32 64 } [$user]
PKG_DEVELOPER Yes [$user]
USE_ABI_DEPENDS YesNo [$user]
PKG_REGISTER_SHELLS { YES NO } [$user]
PKGSRC_COMPILER List of { \
ccache ccc clang distcc f2c gcc hp icc \
ido gcc mipspro mipspro-ucode pcc \
sunpro xlc \
} [$user]
PKGSRC_MESSAGE_RECIPIENTS List of Mail_Address [$user]
PKGSRC_SHOW_BUILD_DEFS YesNo [$user]
PKGSRC_SHOW_PATCH_ERRORMSG YesNo [$user]
PKGSRC_RUN_TEST YesNo [$user]
PREFER_PKGSRC List of Identifier [$user]
PREFER_NATIVE List of Identifier [$user]
PREFER_NATIVE_PTHREADS YesNo [$user]
LOCALBASE Pathname [$user]
CROSSBASE Pathname [$user]
VARBASE Pathname [$user]
X11_TYPE { modular native } [$user]
X11BASE Pathname [$user]
MOTIFBASE Pathname [$user]
PKGINFODIR Pathname [$user]
PKGMANDIR Pathname [$user]
USE_XPKGWEDGE YesNo [$user]
BSDSRCDIR Pathname [$user]
BSDXSRCDIR Pathname [$user]
DISTDIR Pathname [$user]
DIST_PATH Pathlist [$user]
DEFAULT_VIEW Unchecked [$user]
FETCH_CMD ShellCommand [$user]
FETCH_RESUME_ARGS List of ShellWord [$user]
FETCH_OUTPUT_ARGS List of ShellWord [$user]
LIBTOOLIZE_PLIST YesNo [$user]
PKG_INSTALLATION_PREFS List of { overwrite pkgviews } [$user]
PKG_RESUME_TRANSFERS YesNo [$user]
PKG_SYSCONFBASE Pathname [$user]
RCD_SCRIPTS_DIR Pathname [$user]
PACKAGES Pathname [$user]
PKGVULNDIR Pathname [$user]
PASSIVE_FETCH Yes [$user]
PATCH_FUZZ_FACTOR { -F0 -F1 -F2 -F3 } [$user]
ACCEPTABLE_LICENSES List of Identifier [$user]
SPECIFIC_PKGS Yes [$user]
SITE_SPECIFIC_PKGS List of PkgPath [$user]
HOST_SPECIFIC_PKGS List of PkgPath [$user]
GROUP_SPECIFIC_PKGS List of PkgPath [$user]
USER_SPECIFIC_PKGS List of PkgPath [$user]
FAILOVER_FETCH Yes [$user]
MASTER_SORT List of Unchecked [$user]
MASTER_SORT_REGEX List of Unchecked [$user]
PATCH_DEBUG Yes [$user]
PKG_FC ShellCommand [$user]
IMAKE ShellCommand [$user]
IMAKEOPTS List of ShellWord [$user]
PRE_ROOT_CMD ShellCommand [$user]
SETGIDGAME YesNo [$user]
SU_CMD ShellCommand [$user]
SU_CMD_PATH_APPEND Pathlist [$user]
FATAL_OBJECT_FMT_SKEW YesNo [$user]
WARN_NO_OBJECT_FMT YesNo [$user]
SMART_MESSAGES Yes [$user]
BINPKG_SITES List of URL [$user]
BIN_INSTALL_FLAG List of ShellWord [$user]
LOCALPATCHES Pathname [$user]
# some other variables, sorted alphabetically
.CURDIR Pathname [$system]
.TARGET Pathname [$system]
ALL_ENV List of ShellWord
ALTERNATIVES_FILE Filename
ALTERNATIVES_SRC List of Pathname
APACHE_MODULE Yes [$package]
AR ShellCommand [$system]
AS ShellCommand [$system]
AUTOCONF_REQD List of Version [$package_list]
AUTOMAKE_OVERRIDE List of Pathmask
AUTOMAKE_REQD List of Version [$package_list]
AUTO_MKDIRS YesNo [$package]
BATCH Yes [$user]
BDB185_DEFAULT Unchecked []
BDBBASE Pathname [$system]
BDB_ACCEPTED List of { db1 db2 db3 db4 db5 } [$package]
BDB_DEFAULT { db1 db2 db3 db4 db5 } []
BDB_LIBS List of LdFlag [$system]
BDB_TYPE { db1 db2 db3 db4 db5 } [$system]
BINGRP UserGroupName [$system]
BINMODE FileMode [$system]
BINOWN UserGroupName [$system]
BOOTSTRAP_DEPENDS InternalList of DependencyWithPath [c:a,m:a,o:a,*.mk:a]
BROKEN Message []
BROKEN_GETTEXT_DETECTION YesNo [$package]
BSD_MAKE_ENV List of ShellWord [$system]
BUILDLINK_ABI_DEPENDS.* InternalList of Dependency [*:a]
BUILDLINK_API_DEPENDS.* InternalList of Dependency [*:a]
BUILDLINK_CONTENTS_FILTER List of ShellWord []
# ^^ ShellCommand
BUILDLINK_CFLAGS List of CFlag [$system]
BUILDLINK_CFLAGS.* List of CFlag [$bl_list]
BUILDLINK_CPPFLAGS List of CFlag [$system]
BUILDLINK_CPPFLAGS.* List of CFlag [$bl_list]
BUILDLINK_CONTENTS_FILTER.* ShellCommand [b:s]
BUILDLINK_DEPENDS InternalList of Identifier [b:a]
BUILDLINK_DEPMETHOD.* List of BuildlinkDepmethod [b:ad,m:as,c:a,*.mk:a]
# ^^ FIXME: b:d may lead to unexpected behavior.
BUILDLINK_DEPTH BuildlinkDepth [b:ps, builtin.mk:ps]
BUILDLINK_DIR Pathname [$system]
BUILDLINK_FILES.* List of Pathmask [$bl_list]
BUILDLINK_FILES_CMD.* List of ShellWord []
# ^^ ShellCommand
BUILDLINK_INCDIRS.* List of Pathname [b:ad] # b:d?
BUILDLINK_JAVA_PREFIX.* Pathname [b:s]
BUILDLINK_LDADD.* List of LdFlag [builtin.mk:adsu, b:, m:u, c:u, *.mk:u]
BUILDLINK_LDFLAGS List of LdFlag [$system]
BUILDLINK_LDFLAGS.* List of LdFlag [$bl_list]
BUILDLINK_LIBDIRS.* List of Pathname [$bl_list]
BUILDLINK_LIBS.* List of LdFlag [b:a]
BUILDLINK_PACKAGES BuildlinkPackages [b:aps]
BUILDLINK_PASSTHRU_DIRS List of Pathname [m:a,c:a,b:a,h:a]
BUILDLINK_PASSTHRU_RPATHDIRS List of Pathname [m:a,c:a,b:a,h:a]
BUILDLINK_PKGSRCDIR.* RelativePkgDir [b:dp]
BUILDLINK_PREFIX.* Pathname [builtin.mk:su, b:, m:u, c:u, *.mk:u]
BUILDLINK_RPATHDIRS.* List of Pathname [b:a]
BUILDLINK_TARGETS List of Identifier []
BUILDLINK_FNAME_TRANSFORM.* SedCommands [m:a,builtin.mk:a,h:a,b:a]
BUILDLINK_TRANSFORM List of WrapperTransform [*:a]
BUILDLINK_TREE List of Identifier [b:a]
BUILD_DEFS List of Varname [m:a,c:a,o:a]
BUILD_DEPENDS InternalList of DependencyWithPath [c:a,m:a,o:a,*.mk:a]
BUILD_DIRS List of WrksrcSubdirectory [$package_list]
BUILD_ENV List of ShellWord [$package_list]
BUILD_MAKE_CMD ShellCommand [$system]
BUILD_MAKE_FLAGS List of ShellWord [$package_list]
BUILD_TARGET List of Identifier [$package]
BUILD_USES_MSGFMT Yes [$package]
BUILTIN_PKG Identifier [builtin.mk:psu]
BUILTIN_PKG.* PkgName [builtin.mk:psu]
BUILTIN_FIND_FILES_VAR List of Varname [builtin.mk:s]
BUILTIN_FIND_FILES.* List of Pathname [builtin.mk:s]
BUILTIN_FIND_GREP.* String [builtin.mk:s]
BUILTIN_FIND_LIBS List of Pathname [builtin.mk:s]
BUILTIN_IMAKE_CHECK List of Unchecked [builtin.mk:s]
BUILTIN_IMAKE_CHECK.* YesNo []
BUILTIN_X11_TYPE Unchecked [$system]
BUILTIN_X11_VERSION Unchecked [$system]
CATEGORIES List of Category [m:as,c:ads]
CC_VERSION Message [$system]
CC ShellCommand [$system]
CFLAGS* List of CFlag [$package_list]
# ^^ may also be changed by the user
CHECK_BUILTIN YesNo [builtin.mk:d,m:s]
CHECK_FILES_SKIP List of Pathmask [m:a,c:a]
CHECK_FILES_SUPPORTED YesNo [$package]
CHECK_HEADERS YesNo [$user]
CHECK_HEADERS_SKIP List of Pathmask [$package_list]
CHECK_INTERPRETER YesNo [$user]
CHECK_INTERPRETER_SKIP List of Pathmask [$package_list]
CHECK_PERMS YesNo [$user]
CHECK_PERMS_SKIP List of Pathmask [$package_list]
#CHECK_PERMS_AUTOFIX YesNo [$package]
# ^^ experimental
CHECK_PORTABILITY YesNo [$user]
CHECK_PORTABILITY_SKIP List of Pathmask [$package_list]
CHECK_SHLIBS YesNo [m:s]
CHECK_SHLIBS_SUPPORTED YesNo [m:s]
CHECK_WRKREF_SKIP List of Pathmask [$package_list]
CMAKE_ARG_PATH Pathname [$package]
CMAKE_ARGS List of ShellWord [$package_list]
COMMENT Comment [m:as,c:as]
COMPILER_RPATH_FLAG { -Wl,-rpath } [$system]
CONFIGURE_ARGS List of ShellWord [$package_list]
CONFIGURE_DIRS List of WrksrcSubdirectory [$package_list]
CONFIGURE_ENV List of ShellWord [$package_list]
CONFIGURE_HAS_INFODIR YesNo [$package]
CONFIGURE_HAS_MANDIR YesNo [$package]
CONFIGURE_SCRIPT Pathname [$package]
CONFIG_GUESS_OVERRIDE List of Pathmask [m:as,c:as]
CONFIG_STATUS_OVERRIDE List of Pathmask [m:as,c:as]
CONFIG_SHELL Pathname [m:s,c:s]
CONFIG_SUB_OVERRIDE List of Pathmask [m:as,c:as]
CONFLICTS InternalList of Dependency [$package_list]
CONF_FILES List of ShellWord [$package_list]
CONF_FILES_MODE { 0644 0640 0600 0400 } [$package]
CONF_FILES_PERMS List of ShellWord [$package_list]
COPY { -c } [$system]
# ^^ the flag that tells ${INSTALL} to copy a file
CPP ShellCommand [$system]
CPPFLAGS* List of CFlag [$package_list]
CRYPTO Yes [m:s]
CXX ShellCommand [$system]
CXXFLAGS* List of CFlag [$package_list]
DEINSTALL_FILE Pathname [m:s]
DEINSTALL_SRC List of Pathname [m:s,c:ds]
DEINSTALL_TEMPLATES List of Pathname [m:as,c:ads]
DELAYED_ERROR_MSG ShellCommand [$system]
DELAYED_WARNING_MSG ShellCommand [$system]
DEPENDS InternalList of DependencyWithPath [$package_list]
DEPENDS_TARGET List of Identifier [$user]
DESCR_SRC List of Pathname [m:s,c:ds]
DESTDIR Pathname [$system]
DEVOSSAUDIO Pathname [$system]
DEVOSSSOUND Pathname [$system]
DISTFILES List of Filename [$package_list]
DISTINFO_FILE RelativePkgPath [$package]
DISTNAME Filename [$package]
DIST_SUBDIR Pathname [$package]
DJB_BUILD_ARGS List of ShellWord
DJB_BUILD_TARGETS List of Identifier
DJB_CONFIG_CMDS List of ShellWord [o:s]
# ^^ ShellCommand, terminated by a semicolon
DJB_CONFIG_DIRS List of WrksrcSubdirectory
DJB_CONFIG_HOME Filename
DJB_CONFIG_PREFIX Pathname
DJB_INSTALL_TARGETS List of Identifier
DJB_MAKE_TARGETS YesNo
DJB_RESTRICTED YesNo [m:s]
DJB_SLASHPACKAGE YesNo
DLOPEN_REQUIRE_PTHREADS YesNo
DL_AUTO_VARS Yes [m:s,c:s,o:s]
DL_LIBS List of LdFlag
DOCOWN UserGroupName [$system]
DOCGRP UserGroupName [$system]
DOCMODE FileMode [$system]
DOWNLOADED_DISTFILE Pathname [$system]
DO_NADA ShellCommand [$system]
DYNAMIC_SITES_CMD ShellCommand [$package]
DYNAMIC_SITES_SCRIPT Pathname [$package]
ECHO ShellCommand [$system]
ECHO_MSG ShellCommand [$system]
ECHO_N ShellCommand [$system]
EGDIR Pathname [$package]
# ^^ This variable is not defined by the system, but has been established
# as a convention.
EMACS_BIN Pathname [$system]
EMACS_ETCPREFIX Pathname [$system]
EMACS_FLAVOR { emacs xemacs } [$system]
EMACS_INFOPREFIX Pathname [$system]
EMACS_LISPPREFIX Pathname [$system]
EMACS_MODULES List of Identifier [m:as,c:as]
EMACS_PKGNAME_PREFIX Identifier [$system]
# ^^ or the empty string.
EMACS_TYPE { emacs xemacs } [$system]
EMACS_USE_LEIM Yes
EMACS_VERSIONS_ACCEPTED List of { emacs24 emacs23 emacs23nox emacs22 emacs22nox emacs21 emacs21nox emacs20 xemacs215 xemacs214 } [m:s]
EMACS_VERSION_MAJOR Integer [$system]
EMACS_VERSION_MINOR Integer [$system]
EMACS_VERSION_REQD List of { emacs24 emacs23 emacs23nox emacs22 emacs22nox emacs21 emacs21nox emacs20 xemacs215 xemacs214 } [m:as]
EMULDIR Pathname [$system]
EMULSUBDIR Pathname [$system]
OPSYS_EMULDIR Pathname [$system]
EMULSUBDIRSLASH Pathname [$system]
EMUL_ARCH { i386 none } [$system]
EMUL_DISTRO Identifier [$system]
EMUL_IS_NATIVE Yes [$system]
EMUL_MODULES.* List of Identifier [$package]
EMUL_OPSYS { linux } [$system]
EMUL_PKG_FMT { plain rpm } [$package]
EMUL_PLATFORM EmulPlatform [$user]
EMUL_PLATFORMS List of EmulPlatform [$package]
EMUL_PREFER List of EmulPlatform [$user]
EMUL_REQD InternalList of Dependency [$package]
EMUL_TYPE.* { native builtin suse suse-9.1 suse-9.x suse-10.0 suse-10.x } [$user]
ERROR_CAT ShellCommand [$system]
ERROR_MSG ShellCommand [$system]
EVAL_PREFIX InternalList of ShellWord [m:a,c:a]
# ^^ FIXME: Looks like a type mismatch.
EXPORT_SYMBOLS_LDFLAGS List of LdFlag [$system]
EXTRACT_CMD ShellCommand [$system]
EXTRACT_ELEMENTS List of Pathmask [$package_list]
EXTRACT_ONLY List of Pathname [$package_list]
EXTRACT_OPTS List of ShellWord [m:as,c:as]
EXTRACT_OPTS_BIN List of ShellWord [m:as,c:as]
EXTRACT_OPTS_LHA List of ShellWord [m:as,c:as]
EXTRACT_OPTS_PAX List of ShellWord [m:as,c:as]
EXTRACT_OPTS_RAR List of ShellWord [m:as,c:as]
EXTRACT_OPTS_TAR List of ShellWord [m:as,c:as]
EXTRACT_OPTS_ZIP List of ShellWord [m:as,c:as]
EXTRACT_OPTS_ZOO List of ShellWord [m:as,c:as]
EXTRACT_SUFX DistSuffix [$package]
EXTRACT_USING { bsdtar gtar nbtar pax } [$package]
FAIL_MSG ShellCommand [$system]
FAMBASE Pathname [$system]
FAM_ACCEPTED List of { fam gamin } [$package]
FAM_DEFAULT { fam gamin } [$user]
FAM_TYPE { fam gamin } [$system]
FETCH_BEFORE_ARGS List of ShellWord [m:as]
FETCH_MESSAGE List of ShellWord [$package_list]
FILESDIR RelativePkgPath [$package]
FILES_SUBST List of ShellWord [$package_list]
FILES_SUBST_SED List of ShellWord
FIX_RPATH List of Varname [$package_list]
FONTS_DIRS.* List of Pathname [m:as,c:a]
GAMEDATAMODE FileMode [$system]
GAMEGRP UserGroupName [$system]
GAMEMODE FileMode [$system]
GAMEOWN UserGroupName [$system]
GCC_REQD List of Version [$package_list]
GENERATE_PLIST List of ShellWord [$package_list]
# ^^ List of Shellcommand, terminated with a semicolon
GNU_ARCH { mips }
GNU_CONFIGURE Yes [c:s,m:s]
GNU_CONFIGURE_MANDIR Pathname [m:s,c:s]
GNU_CONFIGURE_PREFIX Pathname [m:s]
GNU_PROGRAM_PREFIX Identifier [$user]
HAS_CONFIGURE Yes [m:s,c:s]
HEADER_TEMPLATES List of Pathname [$package_list]
HOMEPAGE URL [$package]
INCOMPAT_CURSES InternalList of PlatformTriple [m:as]
INCOMPAT_ICONV InternalList of PlatformTriple
INFO_DIR Pathname
# ^^ relative to PREFIX
INFO_FILES Yes [$package]
INSTALL ShellCommand [$system]
INSTALLATION_DIRS List of PrefixPathname [$package_list]
INSTALLATION_DIRS_FROM_PLIST Yes [$package]
INSTALL_DATA ShellCommand [$system]
INSTALL_DATA_DIR ShellCommand [$system]
INSTALL_DIRS List of WrksrcSubdirectory [$package_list]
INSTALL_ENV List of ShellWord [$package_list]
INSTALL_FILE Pathname [m:s]
INSTALL_GAME ShellCommand [$system]
INSTALL_GAME_DATA ShellCommand [$system]
INSTALL_LIB ShellCommand [$system]
INSTALL_LIB_DIR ShellCommand [$system]
INSTALL_MAKE_FLAGS List of ShellWord [$package_list]
INSTALL_MAN ShellCommand [$system]
INSTALL_MAN_DIR ShellCommand [$system]
INSTALL_PROGRAM ShellCommand [$system]
INSTALL_PROGRAM_DIR ShellCommand [$system]
INSTALL_SCRIPT ShellCommand [$system]
INSTALL_SCRIPTS_ENV List of ShellWord
INSTALL_SCRIPT_DIR ShellCommand [$system]
INSTALL_SRC List of Pathname [m:s,c:ds]
INSTALL_TARGET List of Identifier [$package]
INSTALL_TEMPLATES List of Pathname [m:as,c:ads]
INSTALL_UNSTRIPPED YesNo [m:s,c:s]
INTERACTIVE_STAGE List of { fetch extract configure build install } [$package]
IS_BUILTIN.* YesNo_Indirectly [builtin.mk:psu]
JAVA_BINPREFIX Pathname [$system]
JAVA_CLASSPATH ShellWord [$package]
JAVA_HOME Pathname [$package]
JAVA_NAME Filename [$package]
JAVA_UNLIMIT List of { cmdsize datasize stacksize } [$package_list]
JAVA_WRAPPERS InternalList of Filename [$package_list]
JAVA_WRAPPER_BIN.* Pathname [$package]
KRB5BASE Pathname [$system]
KRB5_ACCEPTED List of { heimdal mit-krb5 }
KRB5_DEFAULT { heimdal mit-krb5 } [$user]
KRB5_TYPE Unchecked [$system]
LD ShellCommand [$system]
LDFLAGS* List of LdFlag [$package_list]
LIBGRP UserGroupName [$system]
LIBMODE FileMode [$system]
LIBOWN UserGroupName [$system]
LIBOSSAUDIO Pathname [$system]
LIBS* List of LdFlag [$package_list]
LIBTOOL ShellCommand [$system]
LIBTOOL_OVERRIDE List of Pathmask [m:as]
LICENCE License [m:s,c:s,o:s]
LICENSE License [m:s,c:s,o:s]
LICENSE_FILE Pathname [$package]
LINKER_RPATH_FLAG ShellWord [$system]
LOWER_OPSYS Identifier [$system]
LTCONFIG_OVERRIDE List of Pathmask [m:as,c:a]
MACHINE_ARCH Identifier [$system]
MACHINE_GNU_PLATFORM PlatformTriple [$system]
MAINTAINER Mail_Address [m:s,c:d]
MAKE ShellCommand [$system]
MAKEFLAGS List of ShellWord [$package_list]
MAKEVARS List of Varname [builtin.mk:a,b:a,h:a]
MAKE_DIRS List of Pathname [$package_list]
MAKE_DIRS_PERMS List of ShellWord [$package_list]
MAKE_ENV List of ShellWord [$package_list]
MAKE_FILE Pathname [$package]
MAKE_FLAGS List of ShellWord [$package_list]
MAKE_JOBS Integer [$user]
MAKE_JOBS_SAFE YesNo [$package]
MAKE_PROGRAM ShellCommand [$package]
MANCOMPRESSED YesNo [m:s,c:ds]
MANCOMPRESSED_IF_MANZ Yes [m:s,c:ds]
MANGRP UserGroupName [$system]
MANMODE FileMode [$system]
MANOWN UserGroupName [$system]
MASTER_SITES List of URL [$package_list]
MASTER_SITE_APACHE List of URL [$system]
MASTER_SITE_BACKUP List of URL [$system]
MASTER_SITE_CYGWIN List of URL [$system]
MASTER_SITE_DEBIAN List of URL [$system]
MASTER_SITE_FREEBSD List of URL [$system]
MASTER_SITE_FREEBSD_LOCAL List of URL [$system]
MASTER_SITE_GENTOO List of URL [$system]
MASTER_SITE_GNOME List of URL [$system]
MASTER_SITE_GNU List of URL [$system]
MASTER_SITE_GNUSTEP List of URL [$system]
MASTER_SITE_IFARCHIVE List of URL [$system]
MASTER_SITE_KDE List of URL [$system]
MASTER_SITE_LOCAL List of URL [$system]
MASTER_SITE_MOZILLA List of URL [$system]
MASTER_SITE_MYSQL List of URL [$system]
MASTER_SITE_OPENOFFICE List of URL [$system]
MASTER_SITE_PERL_CPAN List of URL [$system]
MASTER_SITE_R_CRAN List of URL [$system]
MASTER_SITE_SOURCEFORGE List of URL [$system]
MASTER_SITE_SOURCEFORGE_JP List of URL [$system]
MASTER_SITE_SUNSITE List of URL [$system]
MASTER_SITE_SUSE List of URL [$system]
MASTER_SITE_TEX_CTAN List of URL [$system]
MASTER_SITE_XCONTRIB List of URL [$system]
MASTER_SITE_XEMACS List of URL [$system]
MESSAGE_SRC List of Pathname [$package_list]
MESSAGE_SUBST List of ShellWord [c:a,m:a,o:a]
META_PACKAGE Yes [$package]
MISSING_FEATURES List of Identifier [$system]
MYSQL_VERSIONS_ACCEPTED List of { 40 41 50 } [m:s]
MYSQL_VERSION_DEFAULT Version [$user]
NM ShellCommand [$system]
NONBINMODE FileMode [$system]
NOT_FOR_COMPILER List of { ccc gcc icc ido mipspro mipspro-ucode sunpro xlc } [$package]
NOT_FOR_PLATFORM InternalList of PlatformTriple [$package_list]
NOT_FOR_UNPRIVILEGED YesNo [$package]
NO_BIN_ON_CDROM Restricted [m:s,c:s]
NO_BIN_ON_FTP Restricted [m:s,c:s]
NO_BUILD Yes [m:s,c:s,Makefile.*:ds]
NO_CHECKSUM Yes [$package]
NO_CONFIGURE Yes [$package]
NO_EXPORT_CPP Yes [m:s]
NO_EXTRACT Yes [$package]
NO_INSTALL_MANPAGES Yes [$package]
# ^^ only has an effect for Imake packages.
NO_PKGTOOLS_REQD_CHECK Yes [m:s]
NO_SRC_ON_CDROM Restricted [m:s,c:s]
NO_SRC_ON_FTP Restricted [m:s,c:s]
ONLY_FOR_COMPILER List of { ccc gcc icc ido mipspro mipspro-ucode sunpro xlc } [$package_list]
ONLY_FOR_PLATFORM InternalList of PlatformTriple [$package_list]
ONLY_FOR_UNPRIVILEGED YesNo [$package]
OPSYS Identifier [$system]
OPSYSVARS List of Varname [m:a,c:a]
OSVERSION_SPECIFIC Yes [m:s,c:s]
OS_VERSION Version [$system]
OVERRIDE_DIRDEPTH* Integer [$package]
OVERRIDE_GNU_CONFIG_SCRIPTS Yes [$package]
OWNER Mail_Address [m:s,c:d]
OWN_DIRS List of Pathname [$package_list]
OWN_DIRS_PERMS List of ShellWord [$package_list]
PAMBASE Pathname [$system]
PAM_ACCEPTED List of { linux-pam openpam solaris-pam }
PAM_DEFAULT { linux-pam openpam solaris-pam } [$user]
PAM_TYPE { linux-pam openpam solaris-pam } [$system]
PATCHDIR RelativePkgPath [m:s,c:ds]
PATCHFILES List of Filename [$package_list]
PATCH_ARGS List of ShellWord
PATCH_DIST_ARGS List of ShellWord [m:as]
PATCH_DIST_CAT ShellCommand
PATCH_DIST_STRIP* ShellWord [m:s, c:s, b:, builtin.mk:, *.mk:s]
PATCH_SITES List of URL [m:s,o:s,c:s]
PATCH_STRIP ShellWord
PERL5_USE_PACKLIST YesNo [$package]
PERL5_PACKLIST List of Perl5Packlist [m:s,o:sa]
PERL5_PACKLIST_DIR Pathname []
PGSQL_PREFIX Pathname [$system]
PGSQL_VERSIONS_ACCEPTED List of { 82 83 84 90 }
PGSQL_VERSION_DEFAULT Version [$user]
PG_LIB_EXT { dylib so } [$system]
PGSQL_TYPE { postgresql81-client postgresql80-client } [$system]
PGPKGSRCDIR Pathname [$system]
PHASE_MSG ShellCommand [$system]
PKGBASE Identifier [$system]
PKGCONFIG_OVERRIDE List of Pathmask [m:as,c:a]
PKGCONFIG_OVERRIDE_STAGE Stage [$package]
PKGDIR RelativePkgDir [$package]
PKGDIRMODE FileMode [$system]
PKGLOCALEDIR Pathname [$system]
PKGNAME PkgName [$package]
PKGNAME_NOREV PkgName [$system]
PKGPATH Pathname [$system]
PKGREPOSITORY Unchecked []
PKGREVISION PkgRevision [m:s]
PKGSRCDIR Pathname [$system]
PKGTOOLS_ENV List of ShellWord
PKGVERSION Version [$system]
PKGWILDCARD Filemask [$system]
PKG_ADMIN ShellCommand [$system]
PKG_APACHE { apache13 apache2 apache22 } [$system]
PKG_APACHE_ACCEPTED List of { apache13 apache2 apache22 } [$package]
PKG_APACHE_DEFAULT { apache13 apache2 apache22 } [$user]
PKG_CONFIG Yes [$user]
# ^^ No, this is not the popular command from GNOME, but the setting
# whether the pkgsrc user wants configuration files automatically
# installed or not.
PKG_CREATE ShellCommand [$system]
PKG_DBDIR Pathname [$system]
PKG_DEBUG_LEVEL Integer [$cmdline]
PKG_DEFAULT_OPTIONS List of Option [$user]
PKG_DELETE ShellCommand [$system]
PKG_DESTDIR_SUPPORT List of { destdir user-destdir } [m:s,c:s]
PKG_FAIL_REASON List of ShellWord [$package_list]
PKG_GECOS.* Message [m:s]
PKG_GID.* Integer [m:s]
PKG_GROUPS List of ShellWord [m:as]
PKG_GROUPS_VARS List of Varname [$package_list]
PKG_HOME.* Pathname [m:s]
PKG_HACKS List of Identifier [h:a]
PKG_INFO ShellCommand [$system]
PKG_INSTALLATION_TYPES List of { overwrite pkgviews } [m:s,c:s]
PKG_JAVA_HOME Pathname [$system]
PKG_JVM { \
blackdown-jdk13 \
jdk jdk14 \
kaffe \
sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6 \
} [$system]
PKG_JVMS_ACCEPTED List of { \
blackdown-jdk13 \
jdk jdk14 \
kaffe \
sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6 \
} [m:s,c:ds]
PKG_JVM_DEFAULT { \
blackdown-jdk13 \
jdk jdk14 \
kaffe \
sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6 \
} [$user]
PKG_LEGACY_OPTIONS List of Option
PKG_LIBTOOL Pathname [m:s]
PKG_OPTIONS InternalList of Option [bsd.options.mk:s,*:pu]
PKG_OPTIONS.* InternalList of Option [$user]
PKG_OPTIONS_DEPRECATED_WARNINGS List of ShellWord
PKG_OPTIONS_GROUP.* InternalList of Option [o:s,m:s]
PKG_OPTIONS_LEGACY_OPTS InternalList of Unchecked [m:a,c:a,o:a]
PKG_OPTIONS_LEGACY_VARS InternalList of Unchecked [m:a,c:a,o:a]
PKG_OPTIONS_NONEMPTY_SETS InternalList of Identifier
PKG_OPTIONS_OPTIONAL_GROUPS InternalList of Identifier [o:as]
PKG_OPTIONS_REQUIRED_GROUPS InternalList of Identifier [o:s,m:s]
PKG_OPTIONS_SET.* InternalList of Option
PKG_OPTIONS_VAR PkgOptionsVar [o:s,m:s,c:s, bsd.options.mk:p]
PKG_PRESERVE Yes [m:s]
PKG_SHELL Pathname [m:s,c:s]
PKG_SHELL.* Pathname [m:s,c:s]
PKG_SHLIBTOOL Pathname
PKG_SKIP_REASON List of ShellWord [$package_list]
PKG_SUGGESTED_OPTIONS List of Option [o:as,m:as,c:s]
PKG_SUPPORTED_OPTIONS List of Option [o:as,m:as,c:s]
PKG_SYSCONFDIR* Pathname [$package]
PKG_SYSCONFDIR_PERMS List of ShellWord [$package_list]
PKG_SYSCONFBASEDIR Pathname [$system]
PKG_SYSCONFSUBDIR Pathname [$package]
PKG_SYSCONFVAR Identifier
# ^^ FIXME: name/type mismatch.
PKG_UID Integer [m:s]
PKG_USERS List of ShellWord [m:as]
PKG_USERS_VARS List of Varname [$package]
PKG_USE_KERBEROS Yes [m:s,c:s]
#PLIST.* # has special handling code
PLIST_VARS List of Identifier [$package_list]
PLIST_SRC List of RelativePkgPath [$package_list]
PLIST_SUBST List of ShellWord [$package_list]
PLIST_TYPE { dynamic static }
PREPEND_PATH List of Pathname
PREFIX Pathname [*:u] # ???
PREV_PKGPATH Pathname [*:u] # doesn't exist any longer
PRINT_PLIST_AWK AwkCommand [*:a]
PRIVILEGED_STAGES List of { install package clean }
PTHREAD_AUTO_VARS YesNo [m:s]
PTHREAD_CFLAGS List of CFlag [$system]
PTHREAD_LDFLAGS List of LdFlag [$system]
PTHREAD_LIBS List of LdFlag [$system]
PTHREAD_OPTS List of { native optional require } [m:as,c:a,b:a]
PTHREAD_TYPE Identifier [$system]
# ^^ or "native" or "none".
PY_PATCHLIST Yes [$package]
PYPKGPREFIX { py24 py25 py26 py27 py31 } [*:pu, pyversion.mk:s, *:]
PYTHON_FOR_BUILD_ONLY Yes [$package]
PYTHON_PATCH_SCRIPTS List of Pathmask [$package_list]
PYTHON_VERSIONS_ACCEPTED List of Version [$package]
PYTHON_VERSIONS_INCOMPATIBLE List of Version [$package]
PYTHON_VERSION_DEFAULT Version [$user]
RANLIB ShellCommand [$system]
RCD_SCRIPTS List of Filename [$package_list]
RCD_SCRIPT_SRC.* List of Pathname [m:s]
REPLACE.* String [m:s]
REPLACE_AWK List of Pathmask [$package_list]
REPLACE_BASH List of Pathmask [$package_list]
REPLACE_EMACS List of Pathmask
REPLACE_FILES.* List of Pathmask [m:as,c:as]
REPLACE_INTERPRETER List of Identifier [m:a,c:a]
REPLACE_KSH List of Pathmask [$package_list]
REPLACE_LOCALEDIR_PATTERNS List of Filemask [$package_list]
REPLACE_PERL List of Pathmask [$package_list]
REPLACE_PYTHON List of Pathmask [$package_list]
REPLACE_SH List of Pathmask [$package_list]
REQD_DIRS List of Pathname [$package_list]
REQD_DIRS_PERMS List of ShellWord [$package_list]
REQD_FILES List of Pathname [$package_list]
REQD_FILES_MODE { 0644 0640 0600 0400 } [$package]
REQD_FILES_PERMS List of ShellWord [$package_list]
RESTRICTED Message [$package]
ROOT_USER UserGroupName [$user]
ROOT_GROUP UserGroupName [$user]
RUN ShellCommand [$system]
SCRIPTS_ENV List of ShellWord [m:a,c:a]
SETUID_ROOT_PERMS List of ShellWord [$user]
SHAREGRP UserGroupName [$system]
SHAREMODE FileMode [$system]
SHAREOWN UserGroupName [$system]
SHCOMMENT ShellCommand [$system]
SHLIB_HANDLING { YES NO no }
SHLIBTOOL ShellCommand []
SHLIBTOOL_OVERRIDE List of Pathmask [m:as,c:a]
SITES.* List of URL [m:asu,c:asu,o:asu]
SPECIAL_PERMS List of ShellWord [$package_list]
STEP_MSG ShellCommand [$system]
SUBDIR List of Filename [Makefile:a,*:]
SUBST_CLASSES List of Identifier [m:a,c:a,h:a,Makefile.*:a]
SUBST_FILES.* List of Pathmask [m:as,c:as,h:as,o:as,Makefile.*:as]
SUBST_FILTER_CMD.* ShellCommand [m:s,c:s,h:s,o:s,Makefile.*:s]
SUBST_MESSAGE.* Message [m:s,c:s,h:s,o:s,Makefile.*:s]
SUBST_SED.* SedCommands [m:as,c:as,h:as,o:as,Makefile.*:as]
SUBST_STAGE.* Stage [$package]
SUBST_VARS.* List of Varname [$package_list]
SUPERSEDES InternalList of Dependency [$package_list]
SVR4_PKGNAME SVR4PkgName [$package]
TEST_DIRS List of WrksrcSubdirectory [$package_list]
TEST_ENV List of ShellWord [$package_list]
TEST_TARGET List of Identifier [m:s,c:ds]
TEX_ACCEPTED List of { teTeX1 teTeX2 teTeX3 } [m:s,c:s]
TEX_DEPMETHOD { build run } [m:s,c:s]
TEXINFO_REQD List of Version [$package_list]
TOOLS_ALIASES List of Filename [$system]
TOOLS_BROKEN List of Tool [$system]
TOOLS_CREATE List of Tool [$system]
TOOLS_DEPENDS.* InternalList of DependencyWithPath [$system]
TOOLS_GNU_MISSING List of Tool [$system]
TOOLS_NOOP List of Tool [$system]
TOOLS_PATH.* Pathname [$system]
TOOLS_PLATFORM.* ShellCommand [$system]
TOUCH_FLAGS List of ShellWord [$system]
UNLIMIT_RESOURCES List of { datasize stacksize memorysize } [m:as,c:a]
UNPRIVILEGED_USER UserGroupName [$user]
UNPRIVILEGED_GROUP UserGroupName [$user]
UNWRAP_FILES List of Pathmask [$package_list]
UPDATE_TARGET List of Identifier [$user]
USE_BSD_MAKEFILE Yes [$package]
USE_BUILTIN.* YesNo_Indirectly [builtin.mk:s]
USE_CMAKE Yes [$package]
USE_CROSSBASE Yes [m:s]
USE_FEATURES List of Identifier [$package]
USE_GNU_CONFIGURE_HOST YesNo [$package]
USE_GNU_ICONV Yes [m:s,c:s,o:s]
USE_GNU_READLINE Yes [m:s,c:s,o:s]
USE_IMAKE Yes [m:s]
USE_JAVA { run yes build } [$package]
USE_JAVA2 { YES yes no 1.4 1.5 } [$package]
USE_LANGUAGES List of { c c99 c++ fortran fortran77 java objc } [m:s,c:s,o:s]
USE_LIBTOOL Yes [$package]
USE_MAKEINFO Yes [$package]
USE_MSGFMT_PLURALS Yes [$package]
USE_NCURSES Yes [$package]
USE_OLD_DES_API YesNo [$package]
USE_PKGINSTALL Yes [$package]
USE_PKGLOCALEDIR YesNo [$package]
USE_PKGSRC_GCC Yes [$user]
USE_TOOLS List of Tool [*:a]
USE_X11 Yes [$package]
USE_X11BASE Yes [$package]
WARNING_MSG ShellCommand [$system]
WARNING_CAT ShellCommand [$system]
WRAPPER_REORDER_CMDS List of WrapperReorder [b:a,c:a,m:a]
WRAPPER_TRANSFORM_CMDS List of WrapperTransform [b:a,c:a,m:a]
WRKDIR Pathname [$system]
WRKSRC WrkdirSubdirectory [$package]
X11_PKGSRCDIR.* Pathname [$system]
X11PREFIX Pathname [$system]
XAW_TYPE { 3d neXtaw standard xpm } [$user]
XMKMF_FLAGS List of ShellWord
|