summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-01-19Move more "patch"-related variables and targets out of bsd.pkg.mk and intojlam2-27/+68
bsd.pkg.patch.mk.
2006-01-19Move more of the "extract"-related variables and targets out of bsd.pkg.mkjlam2-36/+77
and into bsd.pkg.extract.mk.
2006-01-19Fix a typo in the comment.jlam1-2/+2
2006-01-19Add a catman page to the script comments to clarify how this scriptjlam1-5/+41
should be used. Also, do a minor reordering of lines so that the logic is more clear.
2006-01-19Fix antoher cut and paste (tabs-to-whitespace) bug.jlam1-2/+2
2006-01-19Change leading spaces into a tab to fix clean if WRKOBJDIR is defined.jlam1-2/+2
2006-01-19* Split out the "clean" targets and variables and put them into a separatejlam2-50/+89
file pkgsrc/mk/bsd.pkg.clean.mk. * Reimplement the clean target so that we don't need to invoke a separate make process just to do clean-depends. * Reimplement clean-depends using a pipe to avoid command-line length issues.
2006-01-19Made the program name in the DIAGNOSTICS section not appear emphasized.rillig1-2/+2
2006-01-19Remove some unnecessary parens... we don't need to invoke a new shelljlam1-3/+3
just to run the depends-walk command.
2006-01-18Move the following targets from bsd.pkg.mk to bsd.utils.mk:jlam2-86/+18
show-depends-dirs show-all-depends-dirs show-all-depends-dirs-excl While we're here, reimplement them using the new pkg_paths and depends-depth-first.awk scripts. As a side effect, this speeds up the execution of these targets by around 5-15% depending on the complexity of the dependency graph. NOTE: This *does* change the behavior of these targets slightly because the output is now newline-separated instead of space-separated, and the order of the output lines doesn't match the original targets because the dependency graph is now walked depth-first instead of breadth first.
2006-01-18Remove unused "show-root-only" target.jlam1-9/+3
2006-01-18Add a "-s pkgsrcdir" option that allows specifying the path to the pkgsrcjlam1-6/+32
directory tree on the command line more easily.
2006-01-18Modify the show-depends-pkgpaths implementation so that we don't assumejlam2-8/+98
package directories specified in DEPENDS lines begin with "../..". The new standalone script pkgsrc/mk/scripts/pkg_path will canonicalize them into package paths relative to ${PKGSRCDIR}.
2006-01-18whitespace nit.jlam1-2/+1
2006-01-18Pass MAKEFLAGs to the depends-depth-first.awk script, which will bejlam2-5/+12
used by the "make show-depends-pkgpaths" process to short-circuit some of the rather lengthy computations that are spread throughout bsd.pkg.mk and files included by bsd.pkg.mk. This causes the script to speed up noticeably. Also, rename the _DEPENDS_DEPTH_FIRST_CMD variable to _DEPENDS_WALK_CMD for brevity and to allow for other implementations in the future.
2006-01-18Create a standalone awk script, depends-depth-first.awk, that encapsulatesjlam3-1/+310
the code that performs the dependency graph traversal (in depth-first fashion). This script has a hook that allows executing a shell command line upon visiting a dependency's package directory in either prefix or postfix order, and may be used to simplify the code in bsd.pkg.mk that iterates over dependencies. This awk script requires the target "show-depends-pkgpaths", which is defined in a new Makefile pkgsrc/mk/bsd.utils.mk. This file should accumulate "utility" targets that current exist in bsd.pkg.mk, i.e., "helper" targets for various actions.
2006-01-17Rework the way the vulnerabilities list is displayed a bit todmcmahill1-6/+22
remove the vulnerability ID from the pkg-vulnerabilities file which managed to creep into the README.html output.
2006-01-17`tsort` creates temporary files in the current directory, so change to thejdc1-2/+2
BULKFILESDIR directory before running it. We can now bulk build with a read-only pkgsrc.
2006-01-16Remove superfluous quotes around SUBST_MESSAGE.wiz1-2/+2
2006-01-16(At least) Mac OS X Tiger comes with a fine working "tbl" command.tron1-1/+4
2006-01-15Allow "=" characters to appear in a line that comments out a package in arillig1-2/+2
category Makefile. Adjusted the other regular expressions to express more clearly what is meant.
2006-01-14Signature police.seb1-1/+1
2006-01-13Make use of ${.TARGET} within a target instead of re-specifying thejlam1-2/+2
file again.
2006-01-13Remove the show-shlib-type target since it's no longer needed ... thejlam2-8/+2
same value is returned by querying for SHLIB_TYPE via show-var, so convert the only remaining use of show-shlib-type to just use SHLIB_TYPE.
2006-01-13Force compression and decompression to avoid the default behavior ofjlam1-3/+3
gzip/gunzip where hard-linked files aren't compressed/decompressed.
2006-01-12Initial commit of a new module that encapsulates all of the codejlam30-19/+1721
for manipulating PLISTs. This module is not used by default pending more widespread testing -- currently the variable _USE_PLIST_MODULE must be defined in /etc/mk.conf to enable its use. The main features of the new PLIST module are: (1) Splits out the PLIST-handling code from bsd.pkg.mk into a separate "plist" module. (2) Splits out giant, multi-line awk scripts stored in make variables into separate awk scripts that may be joined together to post-process PLISTs. Each of these awk scripts consolidates the processing for one set of files, e.g., man pages, info pages, etc., and is more easily commented than a make variable. (3) Splits out the print-PLIST code from the regular PLIST code since they have no common pieces (print-plist.mk vs. plist.mk). (4) Completely re-implements the shared-library handling to be more efficient. Along the way, this also fixes a problem for Mac OS X users where the PLISTs incorrectly contained absolute paths. (5) Completely re-implements the info-file handling so that we can migrate from INFO_FILES definitions to just adding info/foo.info entries in the static PLISTs. (6) Adds commented-out support for automatically compressed or decompressed info page entries based on the value of MANZ. These changes will be activated after texinfo.mk has been replaced by something that is built using the more modern primitives now available in pkgsrc. (7) Move the file compression logic into a separate script "doc-compress" that compresses or decompresses files while minding symlinks. This script is now called by bsd.pkg.mk to do the "autmoatic man page handling". In the future, it will also handle the "automatic info page handling" and possible others. In general, the idea is to move stuff out of the Makefiles and into separate files where we don't need to worry about quoting rules and where each file can have a separate history of commits. This simplifies the makefile logic (especially in terms of readability) and also simplifies maintenance of the code.
2006-01-12Set INFO_DIR, the location for info files, to its default value ofjlam1-1/+8
"info" here instead of in pkgsrc/mk/texinfo.mk. This allows its value to be used even when texinfo.mk isn't included.
2006-01-12Fix a typo that was causing imake, mkdirhier and xmkmf to not be createdjlam1-2/+2
as tools in the tools directory.
2006-01-12Require xpkgwedge 1.15.joerg1-2/+2
2006-01-12Don't ever depend on xpkgwedge if we're building xpkgwedge.jlam1-1/+2
2006-01-12Re-implement some code that was lost in revision 1.144 so that IMAKE mayjlam1-1/+7
be overridden to point to the path of the imake binary to use.
2006-01-12Remove branch tag from DragonFly version, so that OS_VERSION matchesjoerg1-1/+2
autoconf's normalisation.
2006-01-12Documented CHECK_INTERPRETER in the header comment.rillig1-1/+4
2006-01-12Added the target check-interpreter to bsd.pkg.check.mk, which checksrillig2-2/+50
that the interpreter of "#!"-style scripts exists. It is disabled by default, and can be enabled by setting CHECK_INTERPRETER=yes. As for the other check-* targets, CHECK_INTERPRETER_SKIP is a list of shell globs that can be used to to skip certain files. Ok'ed by jlam.
2006-01-11Introduce DJB_SLASHPACKAGE, defaulting to NO. /package is DJB'sschmonz1-2/+13
scheme for the installation and maintenance of software. Over time, more software will follow /package. For now, setting DJB_SLASHPACKAGE to YES has two effects: * DJB_CONFIG_DIR is set to ${WRKSRC}/src * A do-build target is defined to call package/compile.
2006-01-11Since qmail and related packages install into ${PREFIX} (and haveschmonz1-4/+2
for a while now), we no longer need to add ${QMAILDIR} in PLIST_SUBST or MESSAGE_SUBST. Noticed by jlam.
2006-01-11Add back USE_PKGINSTALL as a knob to force the pkginstall frameworkjlam1-5/+15
to be used so that +INSTALL and +DEINSTALL scripts are generated. This can be used in cases where it's not possible or not desirable to use the auto-detection mechanism to decide whether the pkginstall framework is needed.
2006-01-10Add missing ircd-hybrid zilinks optionadrianp1-0/+1
2006-01-10Also set ABI like SGI does; from Benjamin Shi.christos1-1/+2
2006-01-10Don't be silly! A copyright ? On this ? I must have been stoned.seb1-36/+1
2006-01-09Teach the tools framework about the ``ksh'' tool, provided by thejlam4-4/+20
shells/pdksh package if it doesn't exist on the base system.
2006-01-09Add a missing trailing backslash to continuatificate a shell snippetschmonz1-2/+2
to the following line.
2006-01-08Teach the tools framework about "gsoelim", which is the soelim tool fromjlam4-4/+33
a groff distribution.
2006-01-08Consolidate groff-supplied tools into one section.jlam1-34/+21
2006-01-08Make teTeX3 the default TEX_DEFAULTtonio2-24/+16
bump PKGREVISION where necessary Move PKG_TEXMFPREFIX and PKG_LOCALTEXMFPREFIX definitions to teTeX?/buidlink3.mk, so that packages may include print/teTeX1-bin/buildlink3.mk directly (however, using teTeX/module.mk do not allow that)
2006-01-08permit postgresl81abs1-3/+9
2006-01-08Reverted the change from 1.29 to 1.30, as it had led to build failures inrillig1-2/+11
the "unwrap" class.
2006-01-07Added two missing :Q operators. One of them affects how therillig1-3/+3
SUBST_MESSAGE is printed. The ones that have been defined with "quotes" in their Makefiles are printed with quotes (of course). This is the consequence of the design pattern "quote-exactly-where-necessary", which in fact should be have been applied to pkgsrc as a whole, but still isn't.
2006-01-07- Added pbc_checkpathname, pbc_checkbasename, pbc_checkurl.rillig1-8/+34
- Modified pbc_checkexisting{dir,file} to use pbc_checkpathname.
2006-01-07Add R's index files, that are regenerated when a local modulemarkd1-1/+7
is added, to CHECK_FILES_SKIP.