1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-08 02:15:08 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Baptiste Daroussin
8157e9f800 Add a new USES=waf to handle the waf building system, allowing to factorise code
Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be
reused

Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting
_MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed
to really disable parallelisation with waf

WAF_CMD has been created to allow one to override the location of the waf script
relatively to WRKSRC

CONFIGURE_TARGET is by default defined to "configure"
ALL_TARGET is by default defined to "build"
INSTALL_TARGET is by default defined to "install"

USES=waf is by default stagedir safe
2015-04-08 15:05:48 +00:00
Marcus von Appen
734b61f327 - Convert ports of graphics/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 16:36:12 +00:00
Baptiste Daroussin
a76a739bfe Cleanup plist 2014-10-20 17:04:20 +00:00
Koop Mast
2701760345 Rework python module compile so it doesn't code the stagedir in it [1]
While here switch to USES=tar:bzip2
Remove waf from SHEBANG_FILES. it contains binary so running sed on it
 not guaranteed to work as intended. [2]
Prefix waf commands with PYTHON_CMD so it run with the correct python version.
Use the waf --destdir command for destdir
Remove configure_ENV because they are already set.
Use post-patch to dynamicly fix the python version in test/examples_test.py
 instead of a patch.

Reported by:	swills@ [1], mva [2]
2014-04-15 20:53:04 +00:00
Martin Wilke
33920e516a - Stage support 2014-03-07 09:15:43 +00:00
Colin Percival
b51437f7d1 Do what was clearly intended: s/${ENV}/${SETENV}/
Prior to this change these ports fail when built under su(8) since that
results in ${ENV} being ~/.shrc.

Approved by:	kwm (maintainer, gnome@)
2013-10-07 20:56:22 +00:00
Koop Mast
91c03df87d Disable stage for now until I can figure out how to make it work with waf.
Submitted by:	Kenta Suzumoto <kentas@hush.com>
2013-10-03 07:29:52 +00:00
Koop Mast
aaa3d3f61e Add forgotten patch to fix packaging. 2013-10-02 16:19:12 +00:00
Koop Mast
4ff46cf2ca Update to 1.10.0. 2013-10-02 15:03:50 +00:00
Koop Mast
93816b86c3 Use new USE_PYTHON=2 , use shebangfix to change python -> python2.
Remove part of post-patch because pathfix will do it for us.
Stageify.
2013-09-30 21:03:23 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Baptiste Daroussin
839ef5dcc2 Add an explicit dependency on pkgconf 2013-09-02 16:21:38 +00:00
Eitan Adler
334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Koop Mast
6561003cfe Fix build on FreeBSD 10 2011-10-29 10:25:51 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Koop Mast
3680f27ebf Presenting GNOME 2.32.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.32/

This will be the last release of the GNOME 2.x series, mainly a bugfix and
bridge release to the first release of the GNOME 3.x series.

This release features commits by avl, marcus, mezz and myself.

The FreeBSD GNOME Team would like to thank the following contributors and
testers for there help with this release:

Zane C.B. <vvelox@vvelox.net>
romain@
Olaf Seibert <O.Seibert@cs.ru.nl>
DomiX
Bapt <baptiste.daroussin@gmail.com>
jsa@
miwi@
Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
Maxim Samsonov <xors@mne.ru>
Kris Moore

And pav@ for 2 exp-runs

PR:		ports/152255
		ports/143260
		ports/141033
		ports/149629
		ports/150350
		ports/151523
With hat:	gnome@
2010-11-20 15:37:08 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Joe Marcus Clarke
de2b789d5b Update to 1.8.8. 2009-08-29 21:50:36 +00:00
Joe Marcus Clarke
d1ca02d7c4 Update to 1.8.6. 2009-07-06 20:15:44 +00:00
Alexander Nedotsukov
80b874fb3e Require Python 2.6+
PR:		135828
2009-06-19 11:00:51 +00:00
Alexander Nedotsukov
97d267b5c5 Update to 1.8.4 2009-06-17 00:54:34 +00:00
Alexander Nedotsukov
73073fda28 Update to 1.8.2 2009-01-21 14:11:48 +00:00
Joe Marcus Clarke
610ae56816 Presenting GNOME 2.24 for FreeBSD.
See http://library.gnome.org/misc/release-notes/2.24/ for the general
release notes.  On the FreeBSD front, this release introduces Fuse support
in HAL, adds multi-CPU support to libgtop, WebKit updates, and fixes some
long-standing seahorse and gnome-keyring bugs.  The documentation updates
to the website are forthcoming.

This release features commits by adamw, ahze, kwm, mezz, and myself.  It would
not have been possible without are contributors and testers:

Alexander Loginov
Craig Butler [1]
Dmitry Marakasov [6]
Eric L. Chen
Joseph S. Atkinson
Kris Moore
Lapo Luchini [7]
Nikos Ntarmos
Pawel Worach
Romain Tartiere
TAOKA Fumiyoshi [3]
Yasuda Keisuke
Zyl
aZ [4]
bf [2] [5]
Florent Thoumie
Peter Wemm
pluknet

PR:		125857 [1]
		126993 [2]
		130031 [3]
		127399 [4]
		127661 [5]
		124302 [6]
		129570 [7]
		129936
		123790
2009-01-10 05:22:13 +00:00
Jeremy Messenger
6e1e5c6154 Remove PYNUMPY dependency, it's actually complete remove but only left in
the test scripts to show how to get py-cairo works with py-numpy. I should
have check more in tarball rather than ChangeLog. Bump the PORTREVISION.

PR:		ports/130108
Submitted by:	Keith Gaughan <keith.gaughan@gmail.com>
2009-01-02 20:12:10 +00:00
Jeremy Messenger
70dd4f3a4d Fix the dependency, PYNUMERIC -> PYNUMPY. In the ChangeLog shows:
--------------
        * cairo/pycairo-surface.c:
        Remove Numeric Python support, since Numeric has been made obsolete by
        numpy, and numpy data can be read using ImageSurface.create_for_data.
--------------

Bump the PORTREVISION.

PR:		ports/130031
Submitted by:	TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
2008-12-31 21:05:30 +00:00
Joe Marcus Clarke
02f1d103a3 Update to 1.6.4. 2008-09-08 02:42:00 +00:00
Michael Johnson
a8ec6332aa Update to 1.4.12 2008-05-27 06:18:17 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Edwin Groothuis
42b9878de0 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 01:14:50 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Joe Marcus Clarke
951c257ea3 Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on
new features.  Not that it doesn't have its share of new and exciting
items.  See http://www.gnome.org/start/2.18/ for all the goodies in
this release.

GNOME 2.18 for FreeBSD would not have been possible without the hard work
of the FreeBSD GNOME Team and our intrepid band of testers including
J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi,
Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen,
Phillip Neumann, Franz Klammer, and Neal Delmonico.
2007-03-19 05:14:07 +00:00
Jeremy Messenger
34f82b9537 Doesn't build on FreeBSD 4.x, so mark it as IGNORE and remove all of patches
that are for FreeBSD 4.x.

Reported by:	miwi
2007-01-05 07:54:00 +00:00
Jeremy Messenger
fe7be40de0 Add a URL in MASTER_SITES.
PR:		ports/107470
Submitted by:	Philipp Ost <pj@smo.de>
2007-01-03 23:50:36 +00:00
Jeremy Messenger
9fa473a39f Update to 1.2.6. 2007-01-02 07:49:01 +00:00
Jeremy Messenger
e077f4c2dc Fix the build with FreeBSD 4.x. This patch has been merged in its CVS.
PR:		ports/104564
Bugzilla:	https://bugs.freedesktop.org/show_bug.cgi?id=8910
Submitted by:	Akihiko HAYASHI <hayashi@totalware.gifu.gifu.jp>
2006-12-21 22:14:20 +00:00
Joe Marcus Clarke
f1bb12de8e Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive
amount of work by the FreeBSD GNOME Team and our testers.

On top of the usual GNOME update, we have taken this opportunity to move
GNOME from X11BASE to LOCALBASE.  This means roughly 600 ports NOT part of
the GNOME Desktop also need to be changed.  The bulk of the move was carried
out by ahze, mezz, and pav, but it would not have been possible without
cooperation from the FreeBSD KDE team who worked with us to make sure
GNOME and KDE can still coexist happily.  We would also like to send a
shout out to kris and pointyhat for putting up with multiple test runs
until we got something that was solid.

Back to GNOME 2.16.  This release brings a huge amount of new functionality
to FreeBSD.  The standard release notes can be read at
http://www.gnome.org/start/2.16/ .  But on top of what you will read there,
jylefort and marcus have completed work on a port of HAL to FreeBSD.  This
will allow FreeBSD to take advantage of closer hardware interaction such
as auto-mounting CD-ROMs, USB drives, and music players; auto-playing
audio CDs; and managing laptop power consumption.

But where would this all be without our loyal testers and contributors?
Therefore, the FreeBSD GNOME team would like to thank the following users:

Phillip Neumann <pneumann@gmail.com>
tmclaugh
mux
Yuri Pankov <yuri.pankov@gmail.com>
chinsan
Thomas <freebsdlists@bsdunix.ch>
Brian Gruber <knightbg@yahoo.com>
Franz Klammer <klammer@webonaut.com>
Dominique Goncalves <dominique.goncalves@gmail.com>
Pascal Hofstee <caelian@gmail.com>
Yasuda Keisuke <kysd@po.harenet.ne.jp>
backyard <backyard1454-bsd@yahoo.com>
Andris Raugulis <endrju@null.lv> <endrju@null.lv>
Eric L. Chen <d9364104@mail.nchu.edu.tw>
Pawel Worach <pawel.worach@gmail.com>
QuiRK on #freebsd-gnome
Shane Bell <decept0@gmail.com>
luigi
sajd on #freebsd-gnome
sat
Chris Coleman <chrisc@vmunix.com>
kaeru on #freebsd-gnome
crsd_ via irc.freenode.org/#FreeBSD-GNOME
Joel Diaz <joeldiaz@mac.com>

Enjoy!

Approved by:	portmgr (implicit, kris)
2006-10-14 08:35:50 +00:00
Edwin Groothuis
ff21f59f9f Remove USE_REINPLACE for categories starting with a G 2006-05-07 23:46:33 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Pav Lucistnik
e05544d7ba - Add SHA256 checksums 2005-11-23 22:41:05 +00:00
Joe Marcus Clarke
df8b3d4092 Update to 1.0.2.
Submitted by:	ahze
2005-11-05 06:06:59 +00:00
Michael Johnson
9cd31e98b0 - Transfer maintainer to gnome 2005-09-04 23:58:08 +00:00
Michael Johnson
3d545817f6 - Update to 0.4.0 2005-03-13 20:01:49 +00:00
Joe Marcus Clarke
b3458f652e Bump PORTREVISION to chase the glib20 shared lib version change. 2005-03-12 10:54:27 +00:00
Michael Johnson
def2ca6d8e - Update WWW: line 2005-03-11 00:28:38 +00:00
Michael Johnson
2312ce3cd5 Convert OPTIONS to pre-everything message to not conflict with options from
graphics/cairo.
2005-02-15 23:21:35 +00:00
Michael Johnson
6918427074 - Add OPTIONS, WITH_SVG[1] for svg support, and WITH_PYGTK for gtk support
- Bump PORTREVISION

Requested by:	debugger [1]
2005-02-15 23:17:12 +00:00