aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sanity.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fix showing warnings about usage of MAN* and MLINKS in bsd.sanity.mkBaptiste Daroussin2013-09-271-4/+8
| | | | | | | Reported by: matthew (at EuroBSDCon's devsummit) Notes: svn path=/head/; revision=328466
* - add new USES target: zope, and convert the tree to itRuslan Makhmatkhanov2013-09-231-0/+4
| | | | | | | | | | | | | - old USE_ZOPE knob support was removed from bsd.python.mk - update CHANGES and bsd.sanity.mk accordingly - add ZOPE options knob and use it in lang/py-mx-base The work is done by Marcus von Appen, but any problems are mine. Submitted by: mva (python ML) Notes: svn path=/head/; revision=328002
* Add support for staging area in the ports treeBaptiste Daroussin2013-09-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ports tree is now staged by default. With pkgng the sequence hasn't changed, the main difference is that creating package is now independent from installing it. With pkg_install, the package is now created first and make install, do install the package. New macros: - STAGEDIR: PATH to the directory where the port will be staged. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area) Unsupported macro if NO_STAGE is not set: - MAN* with staging man page compression and handling of hardlinks and symlinks is automatically done in the stage. the manpages becomes then a "normal" plist files and should be tracked in pkg-plist. - MANCOMPRESSED the compress-man target is able to only compress when it needed. New target: - stage: this installs everything into the stage directory - makeplist: this will create a pkg-plist and print it to stdout. This is a sample plist and it should always be _reviewed_ not directly used. NOTE: with staging only what is in the plist will be installed, nothing more, meaning a port staged cannot have leftovers exect directories left. It is really important to double check the pkg-plist to make sure all the files the maintainer want to package are in! make makeplist can help in that area. The goal is to handle as quickly as possible a full removal of the NO_STAGE support. More features can be added once the full ports tree is converted to using the staging area Conversion notes: - Remove NO_STAGE - in {pre,do,post}-install * Before any usage of ${PREFIX}, ${ETCDIR}, ${PORTSDIR}, ${PORTEXAMPLES} prepend ${STAGEDIR} * Remove any thing that is done by @exec or +INSTALL script it will be done automatically when syncing packages * Remove any code to show PKG-MESSAGE it will be done automatically when syncing packages * Directory creation should remain in post-install (in particular because pkgng doesn't work like pkg_install in that area and pkgng ignores the @exec mkdir but directly pack the directory even if empty) - PORTDOCS/PORTEXAMPELS To support PORTDOCS, PORTEXAMPLES most of the time there is no more need for hacks. just add the right %%PORTDOCS%% or %%PORTEXAMPLES%% in your plist then the given files from the stagedir will or will not sync according to NOPORTDOCS and NOPORTEXAMPLES. With hat: portmgr Reviewed by: bdrewery Notes: svn path=/head/; revision=327910
* - Implement USES+=tcl and USES+=tkPietro Cerutti2013-09-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | - Use bsd.default-versions.mk to specify the default Tcl/Tk version (8.6) - Add warnings about the now deprecated use of USE_TCL, USE_TK, ... Notes: * USES+=tcl and USES+=tk take the following optional arguments - either a version in the form of XY or XY+, or 'wrapper' to depend on lang/tcl-wrapper or x11-toolkits/tk-wrapper - either 'build' (bring in build depend) or 'run' (bring in run depend) * it is an error to specify both 'tcl' and 'tk' in USES. * The functionality currently implemented via INVALID_TCL_VER and INVALID_TK_VER is not yet available. Approved by: bapt (portmgr) Notes: svn path=/head/; revision=327607
* Do not recommand to drop ltverhack because it needs to be done with cautious,Baptiste Daroussin2013-09-191-3/+3
| | | | | | | | | | | to avoid users having to rebuild the whole dependency chain for "free". Maintainer should drop ltverhak on major upgrades only. Requested by: kwm Notes: svn path=/head/; revision=327606
* Move the target for sanity checking to the end of bsd.port.mk so thatBaptiste Daroussin2013-09-191-35/+0
| | | | | | | | | | WARNING and DEV_* can be defined anywhere While here, change sleep time from 5 to 10 so that users have time to read it [1] Suggested by: many [1] Notes: svn path=/head/; revision=327601
* Add comas, to improve grammarBaptiste Daroussin2013-09-181-14/+14
| | | | | | | Suggested by: sunpoet Notes: svn path=/head/; revision=327586
* Do not issue warnings yet about WITHOUT_NLS and WITHOUT_X11 for the users ↵Baptiste Daroussin2013-09-181-8/+8
| | | | | | | | | has the switch has yes been fully performed While here fix printing of warnings Notes: svn path=/head/; revision=327582
* Comment LICENSE warning for now, license framework needs more love before ↵Baptiste Daroussin2013-09-181-3/+3
| | | | | | | advertising everyone to add one Notes: svn path=/head/; revision=327579
* Print one message per lineBaptiste Daroussin2013-09-181-21/+43
| | | | | | | Add a couple of new warnings Notes: svn path=/head/; revision=327578
* Add a new bsd.sanity.mk.Baptiste Daroussin2013-09-181-0/+109
This file is responsible to do some sanity checking on port, as well as doing some sanity checking on users configuration New macro for developer: WARNING (this will issue a warning to the normal users can be used to warn the user about deprecating feature that will be unsupported soon. New macro to put in your make.conf for Maintainers: DEVELOPER=yes this macro will activate warning on usage of deprecated features and errors on now unspported usage of macros. Reviewed by: bdrewery Notes: svn path=/head/; revision=327576