1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Baptiste Daroussin
4a57b32379 Now that all LIB_DEPENDS has been switched to modern version, remove support
for ancient version.

Phabric:	D415
Reviewed by:	swills
2014-07-16 05:55:14 +00:00
Marcus von Appen
9ec0761d6a Support for installations based on the easy_install setup.py target has
been removed from the Ports framework for Python software. The
PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have
been removed.

Phabric:	D299
With hat:	python@
2014-07-08 16:14:33 +00:00
Baptiste Daroussin
a5fe4d9993 Register USE_DRUPAL as unsupported 2014-06-18 12:23:22 +00:00
Rene Ladan
3ad8854905 USE_GMAKE is marked as deprecated in bsd.sanity.mk, but it is
unsupported since r355709

Phabric:	D110
Approved by:	portmgr (bdrewery)
2014-05-30 21:32:38 +00:00
Baptiste Daroussin
fc5c95cd6c Drop support for USE_SCONS please use USES=scons instead 2014-05-27 14:58:58 +00:00
Baptiste Daroussin
a1ed68057d Drop compatibility code for USE_DOS2UNIX 2014-05-26 09:29:50 +00:00
Bryan Drewery
a9854d21e1 - Fix with fmake:
/usr/ports/Mk/bsd.sanity.mk", line 111: Malformed conditional (defined(USE_AUTOTOOLS) && (${USE_AUTOTOOLS:Mlibtool} || ${USE_AUTOTOOLS:Mlibtool\:env}))

With hat:	portmgr
2014-05-02 19:51:04 +00:00
Tijl Coosemans
f864fc4bfb Mark USE_AUTOTOOLS=libtool and USE_GNOME=ltverhack deprecated.
PR:		ports/189244
Approved by:	portmgr (antoine)
2014-05-02 19:05:02 +00:00
Baptiste Daroussin
2963832cdf Fix typo 2014-03-13 13:54:30 +00:00
Baptiste Daroussin
b78025f085 Fix collision with DEPRECATED
Pointyhat to:	bapt
2014-03-12 11:36:05 +00:00
Baptiste Daroussin
60b82dc5cb Remove cruft 2014-03-12 11:15:25 +00:00
Baptiste Daroussin
21ca628439 Simplify bsd.sanity.mk a bit
Reviewed by:	mat
2014-03-12 11:07:55 +00:00
Baptiste Daroussin
ed17a6ccac USE_LHA is unsupported not deprecated
Reported by:	mat
2014-03-12 10:33:20 +00:00
Baptiste Daroussin
5512e4aa7d USE_LHA is not used anymore in the ports tree 2014-03-12 10:24:51 +00:00
Baptiste Daroussin
23f6a67993 Fix bad copy/paste 2014-03-12 10:20:58 +00:00
Baptiste Daroussin
d17874dc5d Two new USES added to finish handling distfiles formats a consistent way:
USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
- plain tar
- tar.xz
- tar.bz2
- tar.Z
- tgz

USES=lha handles distributions files info LHA format
2014-03-12 09:17:06 +00:00
Baptiste Daroussin
42951b2446 Remove the now unused USE_ZIP=yes, everyone should now use USES=zip 2014-03-11 07:02:30 +00:00
Baptiste Daroussin
9fc416d031 Add USES=zip and USES=zip:infozip
To handle the zip archives from distfiles

Reviewed by:	mat, antoine
2014-03-07 15:25:02 +00:00
Baptiste Daroussin
d9dce0d24d Add USE_MAKESELF to the sanity check 2014-03-07 14:38:14 +00:00
Pietro Cerutti
bd6a0a40a6 - Get rid of bsd.tcl.mk. See my CHANGES entry from 20130919.
Approved by:	portmgr (antoine)
2014-02-27 15:00:24 +00:00
Baptiste Daroussin
1fce2b0440 Remove Useless test on the value of NO_STAGE 2014-01-27 07:23:07 +00:00
Alex Kozlov
6d9c0ebc96 - Use proper url
Submitted by:	mat
Approved by:	portmgr (mat)
2014-01-27 06:21:51 +00:00
Alex Kozlov
b3ca7e5ae0 - Add a developer warning if NO_STAGE is set
Approved by:	portmgr (mat)
2014-01-26 20:48:58 +00:00
Antoine Brodin
3e57d15fbe - Remove USE_FAM, it has been replaced by USES=fam
- Add a developer error if it is set

Approved by:	portmgr (bapt)
2014-01-05 13:33:37 +00:00
Baptiste Daroussin
a808a813e8 Improve the warning message about the deprecation of WITHOUT_NLS
Suggested by:	imp
2013-12-26 16:25:52 +00:00
Antoine Brodin
9ff26af3d4 - Remove USE_OPENAL code
- Add a developer error to bsd.sanity.mk if it is used

Approved by:	portmgr (bapt)
2013-12-26 06:51:03 +00:00
William Grzybowski
0710975429 Mk/bsd.sanity.mk: note about python auto plist and pkgname
PYDISTUTILS_PKGNAME is useless when used with USE_PYDISTUTILS=yes and
PYDISTUTILS_AUTOPLIST as its only function is to determine egg info name.

Approved by:	portmgr (bapt)
2013-12-16 12:52:18 +00:00
William Grzybowski
88488ebd59 Mk/bsd.sanity.mk: note USE_PYDISTUTILS=easy_install deprecation
Now that all python packages use setuptools and eggs are undesired for system
wide packages the ports should use USE_PYDISTUTILS=yes instead.

Approved by:	portmgr (bapt)
2013-12-15 21:56:41 +00:00
Eitan Adler
8f169764d6 bsd.sanity.mk: add a warning not to use the BSD license
The 'BSD' license covered 3+ different licenses some of which were not OSI
approved.  Instead we now have 3 separate licenses.

Approved by:	portmgr (tabthorpe)
2013-12-14 06:04:59 +00:00
Baptiste Daroussin
d17a45a117 Warn users about WITHOUT_NLS deprecation 2013-12-13 11:30:02 +00:00
David Naylor
3991d151ab Add sanity check for LIB_DEPENDS and RUN_DEPENDS.
Ports does not support relative paths in ${TYPE}_DEPENDS and actually breaks
the dependency registration with pkgng.  This occurs in ACTUAL_PACKAGE_DEPENDS
where ${PORTSDIR} is stripped from the dependencies' directory and uses the
rest of the string as the package origin.  pkg(8) then fails to detect package
origins with relative paths.

Approved by:	portmgr (bapt)
2013-12-02 16:56:42 +00:00
Baptiste Daroussin
93604d0583 Mark USE_DOS2UNIX as deprecated 2013-11-18 15:45:08 +00:00
Marcus von Appen
d013540424 - Add a warning about PYTHON_PY3K_PLIST_HACK not being required, if
PYDISTUTILS_AUTOPLIST is used
2013-10-26 09:29:18 +00:00
Koop Mast
ac2ffd1831 Add deprecation warning for USE_GNOME=desktopfileutils.
Approved by:	portmgr (bapt@)
2013-10-04 14:35:20 +00:00
Baptiste Daroussin
d7f9cdb38e Introduce the new "scons" USES. The goal is to replace the old bsd.scons.mk
Instead of redifining the building target, let's just reuse the existing ones.
Bonus, MAKE_JOBS is now respected
2013-10-03 06:25:13 +00:00
Baptiste Daroussin
06168313aa Fix showing warnings about usage of MAN* and MLINKS in bsd.sanity.mk
Reported by:	matthew (at EuroBSDCon's devsummit)
2013-09-27 13:23:57 +00:00
Ruslan Makhmatkhanov
dc659a215b - add new USES target: zope, and convert the tree to it
- 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)
2013-09-23 13:42:48 +00:00
Baptiste Daroussin
cf099c77fa Add support for staging area in the ports tree
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
2013-09-23 05:56:35 +00:00
Pietro Cerutti
c8209f84b4 - Implement USES+=tcl and USES+=tk
- 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)
2013-09-19 09:49:52 +00:00
Baptiste Daroussin
16026f1d0d Do not recommand to drop ltverhack because it needs to be done with cautious,
to avoid users having to rebuild the whole dependency chain for "free".

Maintainer should drop ltverhak on major upgrades only.

Requested by:	kwm
2013-09-19 09:49:06 +00:00
Baptiste Daroussin
cb471dbbdc Move the target for sanity checking to the end of bsd.port.mk so that
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]
2013-09-19 08:05:05 +00:00
Baptiste Daroussin
d01b11f6fc Add comas, to improve grammar
Suggested by:	sunpoet
2013-09-18 22:13:34 +00:00
Baptiste Daroussin
631c8f28d0 Do not issue warnings yet about WITHOUT_NLS and WITHOUT_X11 for the users has the switch has yes been fully performed
While here fix printing of warnings
2013-09-18 21:52:47 +00:00
Baptiste Daroussin
15cd7b3ca7 Comment LICENSE warning for now, license framework needs more love before advertising everyone to add one 2013-09-18 21:39:17 +00:00
Baptiste Daroussin
9a7ea90678 Print one message per line
Add a couple of new warnings
2013-09-18 21:30:53 +00:00
Baptiste Daroussin
38ec65ad7e Add a new bsd.sanity.mk.
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
2013-09-18 21:16:25 +00:00