Commit graph

585 commits

Author SHA1 Message Date
Mathieu Arnold
d5e588bc6e Make all the targets in USES use the _USES_* helpers.
It is left as an exercise to the reader to reorder some of those targets
to fix some small problems, and to add a comment about why each target
is ran when it is ran.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5717
2016-04-22 09:24:34 +00:00
Pietro Cerutti
812894cb15 Support Tk in USES=tk:tea. Convert more ports + minor fixes and modernization. 2016-04-21 11:33:16 +00:00
Jan Beich
4dfb37ee97 www/firefox{,-esr}: update to 46.0 (rc4) / 45.1esr
Changes:	https://www.mozilla.org/firefox/46.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/45.1.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-21 11:18:13 +00:00
Pietro Cerutti
4d519d4deb Use correct include dir switch in USES=tcl:tea. Adjust devel/tclreadline. 2016-04-21 09:47:29 +00:00
Pietro Cerutti
4e23c21fc1 Add "tea" argument to USES=tcl to facilitate porting of TEA-based extensions.
Quoting https://tcl.tk/doc/tea:

"The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a
set of guidelines and techniques for the distribution, configuration,
compilation, and installation of Tcl extensions. TEA also provides a set of
utilities that operate accordingly. Many Tcl extensions leverage the TEA
utilities, which are designed to be easily customizable."

To facilitate the porting of TEA-based extensions, I have added the new "tea"
argument to USES=tcl. This argument prepares the autoconf environment by
setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it
tries to figure out the correct extension name, sets TCL_PKG accordingly, and
adds it to PLIST_SUB.

I have modified a few ports to take advantage of this. More will come.
2016-04-19 14:20:01 +00:00
Mathieu Arnold
9097255acf Try to be more helpful to our users, and keep all the possible versions
close to their default value in Mk/bsd.default-versions.mk.

Sponsored by:	Absolight
2016-04-14 13:34:25 +00:00
Mikhail Teterin
e3d9c3895a Set the user:group for the include-files as well.
PR:		206126
Approved by:	bapt
2016-04-13 12:20:40 +00:00
Jan Beich
7c2082609b Change default directory used by USES=autoreconf to WRKSRC
PR:		208294
Exp-run by:	antoine
Reviewed by:	tijl
Approved by:	portmgr (mat via D4157)
Differential Revision:	https://reviews.freebsd.org/D4169
2016-04-13 10:36:54 +00:00
Jan Beich
88360e4c12 Consistently prefer ${CONFIGURE_CMD} over ./${CONFIGURE_SCRIPT}
This also fixes SET_LATE_CONFIGURE_ARGS with custom CONFIGURE_CMD.

PR:		208294
Exp-run by:	antoine
Approved by:	portmgr (antoine), perl (mat)
Differential Revision:	https://reviews.freebsd.org/D4158
2016-04-13 10:36:15 +00:00
Jan Beich
79fd5d2214 mail/thunderbird: update to 45.0 (rc1)
Changes:	https://www.mozilla.org/thunderbird/45.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-12 19:18:55 +00:00
John Marino
07c47a31ca Restrict dns/ironsides to gcc5-aux only
Right now, ironsides emits a STORAGE ERROR during building with
lang/gcc6-aux.  It's unclear if the problem lies with compiler or with
ironsides.  For now, limit building it with gcc5-aux (the default).

The USES=ada:5 setting wasn't supported, but it should have been.  This
has also been fixed.
2016-04-11 13:54:22 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
John Marino
49aa2bf7eb Mk/Iconv.mk: Remove DragonFly exception
This file has been locally patched in dports for over a year.  The
exception hasn't been valid since DragonFly 4.0.

Approved by:	erwin@ (portmgr)
2016-03-28 20:53:56 +00:00
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Jan Beich
f9e0eb4ec8 Add USES=7z support: common way to extract 7-Zip archives
By default, it tries to take advantage of libarchive and falls back to p7zip.
Extracting only selected few DISTFILES is also supported via :partial argument.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D4190
2016-03-25 15:38:56 +00:00
Tijl Coosemans
77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00
Max Khon
2c5ceb0c7d Fix installed version check on FreeBSD 9.
PR:		200569
2016-03-17 12:09:39 +00:00
Jan Beich
cf3c9b550c Allow overriding WRKSRC for USES=dos2unix
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D5607
2016-03-11 10:39:04 +00:00
Dmitry Marakasov
acebdf624e - Add support for USES=tar:tbz2
Approved by:	portmgr (mat)
Differential Revision:	D5564
2016-03-06 12:29:51 +00:00
Jan Beich
3f0536234a www/firefox{,-esr}: update to 45.0 (rc2) / 38.7.0
Prepare www/firefox a bit for ESR45:
- [e10s] Make layers.progressive-paint;true work at least on 11.0-CURRENT
- Chase bundled versions for system dependencies
- Drop unused/broken system opus and speex support

Changes:	https://www.mozilla.org/firefox/45.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.7.0/releasenotes/
Security:	2225c5b4-1e5a-44fc-9920-b3201c384a15
MFH:		2016Q1 (release candidate)
2016-03-05 12:46:59 +00:00
Bryan Drewery
54e86d8d01 For PYTHON_NO_DEPENDS don't pass PYTHON_VERSION to dependencies.
The PYTHON_NO_DEPENDS only really makes sense in meta ports, where passing
the PYTHON_VERSION doesn't make sense.  The ports listed will pick up
USES+=python and the default version as needed.

This fixes depending on both lang/python2 and lang/python3 in a meta package.
2016-02-19 20:44:52 +00:00
Martin Wilke
a8f21afa94 - Update to 1.10.1
Changelog:
        http://pear.php.net/package/PEAR/download/1.10.0
        http://pear.php.net/package/PEAR/download/1.10.1
2016-02-14 14:58:17 +00:00
David Naylor
2632efe9e5 Mk/Uses/cran.mk: fix test target.
R no longer accepts the --no-rebuild-vignettes argument, instead requiring
the --no-build-vignettes (only used if pdflatex is not installed).

PR:		207154
Approved by:	wen (maintainer)
MFH:		2016Q1
2016-02-13 14:41:46 +00:00
Max Khon
049382fc14 Prefer installed version instead of insisting on using default version.
PR:		200569
2016-02-10 12:18:20 +00:00
Mathieu Arnold
ad704be0e3 Don't say makeinfo take args, it's a lie.
PR:		207028
With hat:	portmgr
Sponsored by:	Absolight
2016-02-09 15:17:01 +00:00
Koop Mast
f281bfd280 Reapply https://svnweb.freebsd.org/changeset/ports/406559 which
got lost in https://svnweb.freebsd.org/changeset/ports/408449.

Noticed by:	rakuco@
2016-02-07 21:04:42 +00:00
Koop Mast
71d5deb1f4 Move Mk/bsd.gnome.mk and Mk/bsd.mate.mk to Mk/Uses/.
To use the GNOME or MATE components activate it by adding gnome
or mate to USES. The usage of USE_GNOME/INSTALL_ICONS and for
example GLIB_SCHEMAS has stayed the same.

Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
is now forbidden. And adapt ports that where still doing that.

Exp-runs done by:	antoine@

PR:		205432
Reviewed by:	antoine@, mat@
Approved by:	portmgr (antoine@)
Differential Revision:	https://reviews.freebsd.org/D3653
2016-02-07 19:43:56 +00:00
Martin Matuska
817ca149ff Horde package update:
comms/pear-Horde_ActiveSync 2.30.2 -> 2.30.6
devel/pear-Horde_Alarm 2.2.5 -> 2.2.6
devel/pear-Horde_Argv 2.0.11 -> 2.0.12
security/pear-Horde_Auth 2.1.10 -> 2.1.11
devel/pear-Horde_Autoloader 2.1.1 -> 2.1.2
www/pear-Horde_Browser 2.0.10 -> 2.0.11
devel/pear-Horde_Cache 2.5.0 -> 2.5.2
archivers/pear-Horde_Compress 2.1.3 -> 2.1.4
archivers/pear-Horde_Compress_Fast 1.1.0 -> 1.1.1
devel/pear-Horde_Constraint 2.0.2 -> 2.0.3
devel/pear-Horde_Controller 2.0.3 -> 2.0.4
devel/pear-Horde_Core 2.22.3 -> 2.22.5
security/pear-Horde_Crypt 2.6.1 -> 2.7.0
security/pear-Horde_Crypt_Blowfish 1.1.0 -> 1.1.1
www/pear-Horde_Css_Parser 1.0.7 -> 1.0.8
devel/pear-Horde_Data 2.1.3 -> 2.1.4
devel/pear-Horde_Date 2.1.1 -> 2.2.0
devel/pear-Horde_Date_Parser 2.0.4 -> 2.0.5
databases/pear-Horde_Db 2.3.0 -> 2.3.1
devel/pear-Horde_Exception 2.0.6 -> 2.0.7
www/pear-Horde_Feed 2.0.3 -> 2.0.4
www/pear-Horde_Form 2.0.11 -> 2.0.12
security/pear-Horde_Group 2.0.5 -> 2.1.0
databases/pear-Horde_HashTable 1.2.3 -> 1.2.4
devel/pear-Horde_History 2.3.5 -> 2.3.6
www/pear-Horde_Http 2.1.5 -> 2.1.6
devel/pear-Horde_Icalendar 2.1.2 -> 2.1.3
dns/pear-Horde_Idna 1.0.3 -> 1.0.4
graphics/pear-Horde_Image 2.3.3 -> 2.3.4
mail/pear-Horde_Imap_Client 2.29.4 -> 2.29.5
devel/pear-Horde_Injector 2.0.4 -> 2.0.5
devel/pear-Horde_Itip 2.1.0 -> 2.1.1
mail/pear-Horde_ListHeaders 1.2.2 -> 1.2.3
devel/pear-Horde_Lock 2.1.1 -> 2.1.2
sysutils/pear-Horde_Log 2.1.2 -> 2.1.3
devel/pear-Horde_LoginTasks 2.0.5 -> 2.0.6
mail/pear-Horde_Mail 2.6.2 -> 2.6.3
mail/pear-Horde_Mapi 1.0.5 -> 1.0.6
mail/pear-Horde_Mime 2.9.2 -> 2.9.3
mail/pear-Horde_Mime_Viewer 2.1.1 -> 2.1.2
devel/pear-Horde_Notification 2.0.3 -> 2.0.4
archivers/pear-Horde_Pack 1.0.5 -> 1.0.6
textproc/pear-Horde_Pdf 2.0.6 -> 2.0.7
devel/pear-Horde_Prefs 2.7.4 -> 2.7.5
devel/pear-Horde_Rdo 2.0.4 -> 2.0.5
www/pear-Horde_Routes 2.0.4 -> 2.0.5
net/pear-Horde_Rpc 2.1.5 -> 2.1.6
security/pear-Horde_Secret 2.0.5 -> 2.0.6
devel/pear-Horde_Serialize 2.0.4 -> 2.0.5
www/pear-Horde_SessionHandler 2.2.5 -> 2.2.7
security/pear-Horde_Share 2.0.7 -> 2.0.8
mail/pear-Horde_Smtp 1.9.1 -> 1.9.2
net/pear-Horde_Socket_Client 2.0.0 -> 2.1.0
textproc/pear-Horde_SpellChecker 2.1.2 -> 2.1.3
devel/pear-Horde_Stream 1.6.2 -> 1.6.3
devel/pear-Horde_Stream_Filter 2.0.3 -> 2.0.4
devel/pear-Horde_Stream_Wrapper 2.1.2 -> 2.1.3
devel/pear-Horde_Support 2.1.4 -> 2.1.5
comms/pear-Horde_SyncMl 2.0.5 -> 2.0.6
www/pear-Horde_Template 2.0.2 -> 2.0.3
textproc/pear-Horde_Text_Diff 2.1.1 -> 2.1.2
textproc/pear-Horde_Text_Filter 2.3.2 -> 2.3.3
textproc/pear-Horde_Text_Flowed 2.0.2 -> 2.0.3
devel/pear-Horde_Timezone 1.0.9 -> 1.0.10
devel/pear-Horde_Token 2.0.7 -> 2.0.8
devel/pear-Horde_Translation 2.2.0 -> 2.2.1
net/pear-Horde_Url 2.2.4 -> 2.2.5
devel/pear-Horde_Util 2.5.6 -> 2.5.7
sysutils/pear-Horde_Vfs 2.3.0 -> 2.3.1
devel/pear-Horde_View 2.0.5 -> 2.0.6
textproc/pear-Horde_Xml_Element 2.0.3 -> 2.0.4
textproc/pear-Horde_Xml_Wbxml 2.0.2 -> 2.0.3
ftp/horde-gollem 3.0.6 -> 3.0.7
www/horde-base 5.2.8 -> 5.2.9
mail/horde-imp 6.2.11 -> 6.2.12
mail/horde-ingo 3.2.7 -> 3.2.8
deskutils/horde-kronolith 4.2.11 -> 4.2.12
deskutils/horde-mnemo 4.2.8 -> 4.2.9
deskutils/horde-nag 4.2.6 -> 4.2.7
devel/horde-timeobjects 2.1.0 -> 2.1.1
www/horde-trean 1.1.3 -> 1.1.4
mail/horde-turba 4.2.11 -> 4.2.12
mail/horde-webmail 5.2.11 -> 5.2.12
devel/horde-whups 3.0.5 -> 3.0.6
2016-02-02 22:56:26 +00:00
Ruslan Makhmatkhanov
a5fd273ab4 Update examples to exclude version 3.2
With hat:		python
2016-02-02 20:21:47 +00:00
Ruslan Makhmatkhanov
ed63d28c08 Remove expired lang/python32
Python 3.2 has reached it's EOL. Please update to Python 3.5

With hat:	python
2016-02-02 20:16:34 +00:00
Sunpoet Po-Chuan Hsieh
0c1880c20b - Fix typo 2016-02-01 19:47:26 +00:00
Jan Beich
19e90836a2 www/firefox{,-esr}: update to 44.0/38.6.0
- Raise required NSS version [1]

Changes:	https://www.mozilla.org/firefox/44.0/releasenotes/
PR:		206637
Reported by:	Toomas Aas <toomas.aas@suhtlus.ee> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Security:	4f00dac0-1e18-4481-95af-7aaad63fd303
MFH:		2016Q1
2016-02-01 11:29:16 +00:00
Jimmy Olgeni
c9d55fb214 Do not try to depend on Erlang libraries (if any) in
ELIXIR_LIB_ROOT, because they do not exist there.

This fixes r406955 for fmake compatibility (on 9.3).
2016-01-23 16:46:11 +00:00
Antoine Brodin
2c3e43278e Revert r406955, it break INDEX with fmake
With hat:	portmgr
Reported by:	beefy1, beefy2
2016-01-23 06:42:45 +00:00
Jimmy Olgeni
5c0857d7b1 Do not try to depend on Erlang libraries (if any) in
ELIXIR_LIB_ROOT, because they do not exist there.
2016-01-22 23:27:40 +00:00
Sunpoet Po-Chuan Hsieh
929b0596d0 - Remove _PYTHON_CMD
PR:		206380
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
2016-01-22 11:33:58 +00:00
Palle Girgensohn
601d5d87cc pgbench has moved from contrib to base in 9.5
so we need something else to depend on for -contrib
2016-01-22 00:18:09 +00:00
Raphael Kubo da Costa
f5876c4a59 Uses/cmake.mk: Make it possible to override {BUILD,INSTALL}_WRKSRC with :outsource.
This is particularly useful if a port only needs to build a subdirectory of
the source tree (in which case they can set BUILD_WRKSRC to
"${CONFIGURE_WRKSRC}/foo/bar").
2016-01-18 18:27:47 +00:00
Antoine Brodin
e63e9d9f15 Extend r405599 to make COMPILER_VERSION and ALT_COMPILER_VERSION more
compatible with clang 3.8 trunk

PR:		206074
With hat:	portmgr
2016-01-14 18:54:29 +00:00
Baptiste Daroussin
4cfa5bd3c7 Fix USES=firebird comments (bad copy/paste) 2016-01-11 19:06:19 +00:00
John Marino
c7aba825f0 Remove OPTIONS_DEFINE out of Mk/Uses/drupal.mk (affects many drupal ports)
The USES= fragments are not supposed to modify OPTIONS_* because they are
loaded after bsd.options.mk.

In the particular case of drupal, this resulted in SELECTED_OPTIONS and
DESELECTED_OPTIONS being incorrect.  A second problem was that the "="
was used for assignment rather than "?=", meaning that any port with
USES=drupal got their options overwritten at some point (this included
the main www/drupal6 and www/drupal7 ports).

This commit adds OPTIONS_DEFINE=DOCS to almost every port that had set
USES=drupal to correct the mistake of setting options in Mk/Uses.

PR:	206060
2016-01-11 08:51:49 +00:00
Baptiste Daroussin
bf548998cb Introduce 2 new USES: sqlite and firebird
sqlite and firebird handling code has been extracted from bsd.databases.mk
add an entry in bsd.sanity.mk to mark USE_SQLITE and USE_FIREBIRD as deprecated
2016-01-10 16:15:29 +00:00
Martin Wilke
7cea40667a - Release maintainership 2016-01-09 08:07:02 +00:00
Bryan Drewery
bbeb4f68d0 Make COMPILER_VERSION more compatible with clang 3.8 trunk.
"clang version 3.8.0 (trunk 256945) (based on LLVM 3.8.0svn)" was giving
"38 38" was a result.  Now duplicates for fmake are trimmed and only the first
version found is used for bmake using its :tW.

With hat:	portmgr
In collaboration with:	dim
2016-01-08 23:41:25 +00:00
Palle Girgensohn
4330610436 The PostgreSQL Global Development Group announces the
release of PostgreSQL 9.5.

This release adds UPSERT capability, Row Level Security,
and multiple Big Data features, which will broaden the
user base for the world's most advanced database.
With these new capabilities, PostgreSQL will be
the best choice for even more applications for startups,
large corporations, and government agencies.

Release Notes:
http://www.postgresql.org/docs/current/static/release-9-5.html

What's New in 9.5:
https://wiki.postgresql.org/wiki/What%27s_new_in_PostgreSQL_9.5
2016-01-07 19:58:47 +00:00
Jason E. Hale
42b0bae34f Add USES=pathfix support for CMake. Some ports that use CMake to build
already had USES=pathfix, although it did nothing.  For those ports, I
either removed it as they were handling the pkgconfig files differently
or I removed patches and substitutions that accomplished the same thing
as pathfix.

Differential Revision:	https://reviews.freebsd.org/D850
Reviewed by:	antoine, bapt, tijl
Approved by:	portmgr (bapt)
2016-01-07 14:54:03 +00:00
Sunpoet Po-Chuan Hsieh
fc996dfe53 - Sort PYTHON_* knobs 2016-01-02 17:30:28 +00:00
Kubilay Kocak
30e7a4173b Mk/Uses/python.mk: Add support for optional 'test' argument
Some ports may need to use Python for their testing suite but otherwise
do not need it at all (ie, not for build or run). This patch adds
support for the test argument to be used in the USES clause, such as
python:3.2+,test. This enables the relevant Python environment and
modifies TEST_DEPENDS as necessary.

For non-Python ports that use Python as their testing suite, add
python:<ver>,test as required to the USES clause.

PR:			205616
Submitted by:		Brendan Molloy <brendan+freebsd bbqsrc net>
Reviewed by:		mat, miwi, koobs, antoine
Approved by:		koobs (python)
Differential Revision:	https://reviews.freebsd.org/D4711
2016-01-02 15:24:37 +00:00
Rene Ladan
e603983d54 Remove lang/perl5.16 and the support bits in perl5.mk, it is no longer
supported and expired today.

Approved by:	portmgr (mat), perl (sunpoet)
Differential Revision:	https://reviews.freebsd.org/D4745
2015-12-31 21:06:14 +00:00
John Marino
6256117d69 lang/python27(3*), Mk/Uses/python.mk: remove make spawn
There are some inefficiencies in python.mk that significantly slow down
full tree scanning.  The use of bmake to obtain the current version of
a specific python is responsible for the majority of the slow done.

This commit splits out the PYTHON_PORTVERSION definition (which is the
same as the lang/python* PORTVERSION) into separate files.  With this
change, python.mk can simple include the makefile fragment instead of
spawning a new instance of make.

Different Revision:	https://reviews.freebsd.org/D4660
Approved by:		antoine (python), mva (python)
2015-12-29 12:03:09 +00:00