Commit graph

6 commits

Author SHA1 Message Date
Tijl Coosemans
fe837ee6c6 Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-28 16:36:31 +00:00
Gerald Pfeifer
5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00
Mathieu Arnold
0d8977cba1 It doesn't require any args.
Sponsored by:	Absolight
2014-01-29 20:42:44 +00:00
Matthias Andree
8f55879b99 Fix typo (valide -> valid).
Approved by:	portmgr (mat)
2014-01-29 20:39:35 +00:00
Baptiste Daroussin
7c89ef9773 Do not pass DESTDIR to build target (with a syntax compatible with both fmake and bmake)
That fixes a couple of STAGEDIR references in the install files
2014-01-27 08:14:30 +00:00
Baptiste Daroussin
5d68e6a30c Add USES=desthack
This allow to pass DESTDIR through configure --prefix to ports that are
not destdir aware

Obtained from:	OpenBSD ports tree (discussed in Malta with Marc Espie)
2014-01-27 07:29:32 +00:00