Commit graph

5630 commits

Author SHA1 Message Date
Mathieu Arnold
a8409dba34 Add GH_SUBDIR, automatically moves a secondary distfile to the right
place inside ${WRKSRC}.

Before:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js
post-extract:
	@${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
	@${MV} ${WRKSRC_database} ${WRKSRC}/database
	@${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js

After:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7583
2016-08-24 14:50:04 +00:00
Mathieu Arnold
5ab3a2ed29 Can't use GSSAPI from base when using OpenSSL from ports.
It kinda works when both OpenSSL have the same options, but fails in
strange ways if they do not.

Sponsored by:	Absolight
2016-08-24 13:03:30 +00:00
Tobias C. Berner
e225b301e9 Fix usage description of kde.mk
kde.mk needs to have an argument. So USES=kde is not
valid.

Approved by:	mat (mentor)
2016-08-24 09:26:50 +00:00
Tobias C. Berner
0f583d8700 Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks and
Plasma5 ports

At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.

The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].

Changes to the KDE Ports needed by this:

Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
    handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
    Ports -- I chose to leave this out for now, as the diff is already large
    enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
    want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5

PR:             210667
Approved by:    portmgr, mat (mentor), rakuco (mentor)
Reviewed by:    mat, rakuco
Differential Revision:   https://reviews.freebsd.org/D6961
2016-08-24 08:20:31 +00:00
John Marino
afe48a5ce9 Mk/Uses/alias.mk: Fix typo, remove "8" option
The "8" refers to FreeBSD 8.x which is no longer supported by the
ports tree.  It's never been used (to my knowledge) so just remove the
option altogether.
2016-08-23 12:33:13 +00:00
Jimmy Olgeni
4d82f4dd69 Pass MAKE_ENV to the ERLANG_COMPILE command, so that CFLAGS and
LDFLAGS actually reach the C compiler when invoked by rebar.
2016-08-23 11:00:57 +00:00
Dmitry Marakasov
63dc8aecfe - Add enchant php55/php56/php70 extension
PR:		208828
Submitted by:	daniel@blodan.se
Approved by:	maintainer timeout (ale, 4 months)
2016-08-23 10:54:49 +00:00
Koop Mast
a9ac7de46b Add new session component (mate-session-manager) for USE_MATE. 2016-08-22 12:12:23 +00:00
Raphael Kubo da Costa
91a0042321 bsd.kde4.mk: Remove extra empty line. 2016-08-21 10:20:55 +00:00
Mathieu Arnold
61358292e2 Fixup the PLIST_SUB_SED creation.
PR:		211995
Reported by:	koobs
Sponsored by:	Absolight
2016-08-19 13:09:28 +00:00
Mathieu Arnold
ca7355c38b Put back PLIST_DIRS handling.
My eyes were playing tricks on me.

PR:		211953
Reported by:	dim
Pointy hat:	mat
Sponsored by:	Absolight
2016-08-17 21:07:22 +00:00
David Naylor
c13104b64f Mk/Uses/cran.mk: fix 'compiles' argument.
Due to the change in r419666 USE_GCC is not conditionally set, however it
was bringing in the dependencies for fortran (silently).  Explicitly bring
in the dependencies for fortran.

Also, add a target to strip the compiled shared library.

PR:		211891
Reviewed by:	mat
Approved by:	wen
2016-08-17 15:42:23 +00:00
Mathieu Arnold
2f53697702 Move USE_BDB and PLIST_DIRSTRY to the unsupported section, all the ports
have been converted.

Sponsored by:	Absolight
2016-08-17 12:16:24 +00:00
Mathieu Arnold
642bf72f27 Add regexps capacity to PLIST_SUB.
This adds the possibility to use regular expressions for the makeplist
stage of the PLIST_SUB life.

From time to time, the values are too generic, and they get in the way of other
stuff.

This adds the possibility to have a `VAR_regex=regex` that will be used instead
of the `VAR=string` to search for possible replacements.

For example, in lang/perl5*, there is PERL_ARCH=mach, which will get
replaced in paths if a file is called, say "machine", will end up being
"%%PERL_ARCH%%ine".  Adding PERL_ARCH_regex="\bmach\b" will ensure only
full words are replaced, so machine will stay machine, but "lib/mach/foo
"will still be replaced by "lib/%%PERL_ARCH%%/foo".

Reviewed by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7335
2016-08-17 09:11:08 +00:00
Mathieu Arnold
ebdae4c240 Split the PLIST_SUB_SED variable in smaller logical groups.
This will allow expanding it more easily.

Sponsored by:	Absolight
2016-08-17 09:11:00 +00:00
Mathieu Arnold
d131b524b1 typo.
Submitted by:	wblock
Sponsored by:	Absolight
2016-08-17 08:55:35 +00:00
Mathieu Arnold
38efae9d84 Unbreak make missing.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7504
2016-08-17 08:54:43 +00:00
Tobias C. Berner
8bd38ffae8 New port: devel/grantlee5 and Uses/grantlee.mk
The upcoming KDE Frameworks ports need grantlee5

*  Add devel/grantlee5 and move installed headers into a subdirectory include/grantlee5
*  Move header files from devel/grantlee into a subdirectory
       include/grantlee4
   to make sure ports do not pick up the wrong headers
*  Add Uses/grantlee.mk to handle the PLIST_SUB and LIB_DEEPENDS needed
   by ports using grantlee (before we set the PLIST_SUB manual in very
   of the depending ports, which now should not be needed anymore).
*  The ports depending on devel/grantlee have been modified from
      LIB_DEPENDS=libgrantlee_gui.so:devel/grantlee
   to
      USES=grantlee:4
   as this does not affect the package no version bumped was made.

Reviewed by:    mat, rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7434
2016-08-15 15:36:19 +00:00
Mathieu Arnold
2d4f2b9c75 Remove www/pecl-APC, it doesn't work with PHP 5.5+.
PR:		211344
Submitted by:	rene
Sponsored by:	Absolight
2016-08-15 15:28:03 +00:00
Christian Weisgerber
99dba32033 Add SNDIO default description.
PR:		211554
Submitted by:	Tobias Kortkamp <t@tobik.me>
2016-08-09 14:52:55 +00:00
Mathieu Arnold
7334d0b764 Don't overquote the DEPRECATED message, it ended up looking silly.
Something like:

-----------
This port is deprecated; you may wish to reconsider installing it:

EOL\ upstream\ since\ 10\ Jul\ 2016.

It is scheduled to be removed on or after 2016-08-20.
-----------

PR:		211421
Reported by:	Miroslav Lachman
Sponsored by:	Absolight
2016-08-09 14:29:04 +00:00
Mathieu Arnold
74109de537 Only try to create DISTDIR if it does not exist already.
It turns out, some people, instead of setting DISTDIR, replace it with a
symlink pointing to where DISTDIR should be pointing.

And mkdir -p <symlink> fails.

PR:		211623
Reported by:	Harald Schmalzbauer
Sponsored by:	Absolight
2016-08-08 12:57:34 +00:00
Rene Ladan
f9c8dbe476 Unregister net/qt5-enginio from Mk/bsd.qt.mk which has expired.
PR:		211581
Submitted by:	myself
Approved by:	kde (tcberner), portmgr (mat)
2016-08-06 22:00:20 +00:00
Mathieu Arnold
a09e3f68ab Tell people to add USES=gettext-runtime, not USES=gettext.
This is done after the port has been built, so it is already building,
so it does not need to be added a BUILD_DEPENDS on gettext-tools.

Discussed with:	dumbbell
Sponsored by:	Absolight
2016-08-05 18:29:10 +00:00
Tijl Coosemans
5fa40fe75d Add x11/linux-c6-pixman, required by graphics/linux-c6-cairo.
Submitted by:	jkim
2016-08-04 20:29:13 +00:00
Tijl Coosemans
0af083619f Add graphics/linux-c6-jasper, required by graphics/linux-c6-gdk-pixbuf2. 2016-08-04 17:30:18 +00:00
Mathieu Arnold
b21d580983 Prefix the PKGMESSAGES variable with an _ to show it is private.
Sponsored by:	Absolight
2016-08-03 12:48:59 +00:00
Mathieu Arnold
aef5a66670 Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
2016-08-03 12:47:05 +00:00
Mathieu Arnold
b79eed7e66 Add a PKGMESSAGES variable that allows the framework to have more than
one PKGMESSAGE file.

This allows the framework to add messages to ports, without touching
their PKGMESSAGE file.

Sponsored by:	Absolight
2016-08-03 12:45:30 +00:00
Mathieu Arnold
0761532ec5 Always include bsd.default-versions.mk in bsd.port.mk.
The variable defined in it are now always available after including
bsd.port.pre.mk.

PR:		210666
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6933
2016-08-03 12:09:37 +00:00
Tijl Coosemans
1d27031c27 Add devel/linux-c6-libthai, required by x11-toolkits/linux-c6-pango. 2016-08-02 12:26:36 +00:00
Tijl Coosemans
21653fcc78 Use LINUX_REPO_ARCH instead of LINUX_RPM_ARCH when setting DISTINFO_FILE
and PLIST for Linux ports.  LINUX_RPM_ARCH is the CPU targetted by a
package and LINUX_REPO_ARCH is like our ARCH which is more suitable.  This
only affects Centos 6 ports because they are the only ones where
LINUX_REPO_ARCH != LINUX_RPM_ARCH.
2016-08-01 13:07:14 +00:00
Ashish SHUKLA
0a2c26daa2 editors/emacs-devel:
- Update to 25.1-rc1[1]
 - Add IMPLIES condition for XWIDGETS option[1]

Mk/bsd.emacs.mk:
 - Add block for emacs-nox11[2]
 - Update emacs-devel block with new EMACS_VER

PR:		211356 [1]
Submitted by:	Joseph Mingrone <jrm@ftfl.ca> [1],
		matthew (via private email) [2]
2016-07-27 07:12:24 +00:00
David Naylor
5b1919fe3f Mk/Uses/tcl.mk: fix stage-qa linking error.
- If a port links to libtk then it will always also link to libtcl.  Include
   libtcl in the LIB_DEPENDS when linking to libtk.
 - Fix indentation of '.if' statements

PR:		211261
Approved by:	gahr
MFH:		2016Q3
2016-07-24 08:45:30 +00:00
Mathieu Arnold
507c83b05b Stop people putting arguments to USES=ssl.
Sponsored by:	Absolight
2016-07-22 08:07:05 +00:00
Ashish SHUKLA
d3c3ceafb5 - Update EMACS_PORTSDIR to match new convention of specifying dependency
ports, and rename it to EMACS_PORTDIR

PR:		210960
Submitted by:	rakuco
2016-07-22 03:29:47 +00:00
Bryan Drewery
5f4c47a499 Fix display of 7.0 for IGNORE 2016-07-20 20:29:07 +00:00
Jan Beich
ef220c70b1 gecko: axe poorly maintained QT5 support
https://bugzilla.mozilla.org/show_bug.cgi?id=1282866
2016-07-13 16:24:33 +00:00
Raphael Kubo da Costa
581d68fbb3 bsd.emacs.mk: Fix EMACS_VER for emacs-devel after r416838.
The value did not match the one in editors/emacs-devel, so ports such as
textproc/markdown-mode.el would fail `make build/run-depends` since the wrong
binary name would be looked for.

MFH:		2016Q3
2016-07-10 11:20:33 +00:00
Christoph Moench-Tegeder
f0cc5e1c85 update thunderbird to 45.2.0
PR:		210749
Approved by:	jbeich (maintainer), rene (mentor)
MFH:		2016Q3
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
2016-07-09 13:21:06 +00:00
Tijl Coosemans
a0a3b1dad0 Remove a patch from devel/gmake so the port no longer depends on
print/texinfo which requires gmake.  To break this circular dependency
gmake-lite was introduced.  This can be removed now as well.

PR:		210623
Reviewed by:	bapt
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-07-08 11:24:18 +00:00
Baptiste Daroussin
760a89b9c5 Do not try to register '/' as a directory when PREFIX is set to '/' 2016-07-05 17:57:42 +00:00
Adam Weinberger
5fc4d6d4d4 Extend the USES=php match so that it recognizes php:web as well, to prevent
an erroneous deprecation warning.

PR:		210822
Approved by:	portmgr (mat)
2016-07-04 19:12:55 +00:00
Alexey Dokuchaev
aa94a4ac33 Add another http:// GENTOO mirror and kill stray EOL whitespace while here. 2016-07-02 10:39:52 +00:00
Matthew Seaman
7e35b9708a Delete the now expired postgresql90 ports. Upstream support for
postgresql-9.0.x was declared EoL in September 2015.

Summary:
Remove 9.0 from the list of postgresql versions available in ports

Disconnect postgresql90 ports from the build

Remove postgresql90-pgtcl port

Remove postgresql90-client port

Move the master postgreslXY-plperl makefile to postgresql95-plperl/Makefile.

Adjust include lines in other postgresqlXY-plperl ports

Delete postgresql90-plperl

Move the master postgreslXY-plpython/{Makefile,pkg-descr} to
postgresl95-plpython/{Makefile,pkg-descr}

Adjust all other postgresqlXY-plpython/Makefile to include the new master

Remove postgresql90-server

Reviewers: jgh, girgen, #portmgr, O5 Ports Framework, bapt, crees

Reviewed By: #portmgr, O5 Ports Framework, bapt, crees

Subscribers: mat

Differential Revision: https://reviews.freebsd.org/D6898
2016-07-01 17:45:51 +00:00
Mathieu Arnold
816ca34d92 Only warn about symlinks that exist in the stage directory, or that
exist nowhere.

Sponsored by:	Absolight
2016-06-30 09:59:27 +00:00
Mathieu Arnold
d51e60ebb9 For some reason, != "" and == "" don't work the same with make and
fmake, but, empty does.

Pointy hat to:	mat, or make(1) pick one.
Sponsored by:	Absolight
2016-06-29 13:31:35 +00:00
Mathieu Arnold
0600ac5008 Move USE_PHPEXT, USE_PHP_BUILD and USE_ZENDEXT to unsupported, now that
they have been removed from the ports tree.

Sponsored by:	Absolight
2016-06-28 14:00:58 +00:00
Mathieu Arnold
4973e5b396 Add support for USE_PHP=ext:build to add a build dependency on the extension.
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 13:57:43 +00:00
Mathieu Arnold
d2c4c14627 USEify USES=php.
The following variables have been folded into arguments:

- USE_PHPIZE -> USES=php:phpize
- USE_PHPEXT -> USES=php:ext
- USE_ZENDEXT -> USES=php:zend
- USE_PHP_BUILD -> USES=php:build
- WANT_PHP_CLI -> USES=php:cli
- WANT_PHP_CGI -> USES=php:cgi
- WANT_PHP_MOD -> USES=php:mod
- WANT_PHP_WEB -> USES=php:web
- WANT_PHP_EMB -> USES=php:embed

PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 13:57:37 +00:00