aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords
Commit message (Collapse)AuthorAgeFilesLines
* - Add a @sample plist keywordbdrewery2014-04-122-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It accepts a file (must end in .sample, this is not configurable): @sample file.conf.sample This will install file.conf.sample and copy it to file.conf. The file.conf will be removed if it matches file.conf.sample on deinstall. This replaces older patterns of: @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi etc/pkgtools.conf.sample @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf [1] This somewhat obsoletes work in ports/157168 which added CONF_FILES, but we have been moving towards more logic in pkg-plist where possible and less magical macros. Though this thinking does clash with autoplist ideas. We may still want CONF_FILES, which just drops a list of @sample entries into the plist anyway. - Add a Keywords/pkg_install.awk and hook it into generate-plist. This is for pkg_install compatibility since it does not know how to read Keywords/sample.yaml. This file gives us a strategy to implement more keywords before pkg_install is EOL. Keywords are documented here: https://github.com/freebsd/pkg/commit/bffc31420b1fd6146a43c9abcd45109dd901198a - This needs to be documented in PH and portlint support added still. PR: ports/157168 [1] Discussed with: bapt Reviewed by: bapt Requested by: many With hat: portmgr
* Fix fontdir handling to work properly.zeising2013-12-211-4/+4
| | | | Fix the name of mkfontdir and use correct paths.
* Try to fix font handling for xorg fonts when using staging and pkgng.zeising2013-12-193-0/+45
| | | | | | | | This should silence all QAT messages about leftover font files. Bump portrevision for all affected ports. Original idea: bapt
* Fix handling of info files with pkgng, when dealing with .info-X files and ↵bapt2013-11-231-2/+2
| | | | | | | | | | also what INFO_SUBDIR. The .info-X handling was wrong since the beginning of pkgng, the INFO_SUBDIR regression was introduced with stage PR: ports/184178 Reported by: gerald Tested by: gerald
* Fix leftovers with INFO_SUBDIRbapt2013-11-181-0/+3
|
* Fix info files with pkgng.bapt2013-03-141-0/+14
This bring the first Keyword into the ports tree. Keywords are pkgng custom plist keyword definition. info.yaml defines a new @info keyword usable only with pkgng which will: - add the info agument to the file list - set a post-installation execution script - set a post-deinstallation execution script in keyword definition the script uses the same format (%f, %F, %D, ...) as @exec/@unexec does it just add a new one: %@ which correspond the the keyword argument line. Exp-run: miwi