Commit graph

737 commits

Author SHA1 Message Date
Ernst de Haan
7bc971442f Removed step 2 which used to check that the JDK ports actually
exists. This unbreaks porteasy.

Reported by:	des
2002-06-18 13:14:30 +00:00
Will Andrews
cf3e405f21 Get rid of old cruft that was inserted a long time ago to workaround
problems people were seeing with e.g. devel/pth and friends installed.
They conflict with GCC3 and may not be an issue anymore.  But if someone
reports the issue again we'll address it with a finer comb next time.
2002-06-16 20:27:51 +00:00
Thomas Gellekum
8d6c870a31 - Support development versions of Python.
- Allow installation to python-specific hierarchy. This will
  benefit users of Zope and mod_python.
- Add PYTHON_*DIR variables to PLIST_SUB.

PR:		38769
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-06-14 11:17:08 +00:00
Maxim Sobolev
1c411ca96d Add ${REINPLACE_CMD}, which will be used to get rid of depencency on perl
in current. Use it like the following:

	${REINPLACE_CMD} -e "foo" -e "bar" ${WRKSRC}/somefile

Approved by:	portmgr
2002-06-13 18:20:40 +00:00
Ernst de Haan
362766fc48 Matches new names and locations of JDK ports.
Now also checks that all the JDK ports actually exist.
2002-06-12 20:51:19 +00:00
Anton Berezin
1a23eac991 Move ftp.cpan.org a bit down in the list, since it seems to be not very
responsive for some time now.

Also noticed by:	petef
2002-06-11 16:17:20 +00:00
Anton Berezin
5da18e1a56 Remove gatekeeper.dec.com from CPAN mirrors, since it is a) unavailable,
and b) is not listed at http://www.cpan.org/SITES.html.
2002-06-08 14:05:51 +00:00
Kris Kennaway
700aa0f16e 5.0-CURRENT no longer includes perl in the base system; don't expect
to find it there.  Also remove a redundant comment.

Submitted by:	des, obrien
2002-06-07 21:30:47 +00:00
Mario Sergio Fujikawa Ferreira
2241a72a39 Have GNOME extensions concatenate at end of PKGNAMESUFFIX instead
of overwriting it

Approved by:	sobomax (portmgr hat)
2002-06-07 18:44:50 +00:00
David E. O'Brien
25f5b84389 Add a new way to specify the GCC version your port needs.
Rather than USE_GCCXY, you now use USE_GCC=X.Y

Approved by:	kris
2002-06-04 21:34:43 +00:00
Akinori MUSHA
6c4d013ee1 Update lang/ruby and lang/ruby-devel to the latest snapshots as of
2002-05-23.
2002-05-24 10:57:31 +00:00
Trevor Johnson
bf7dc5cd48 Add a new Festival site.
Submitted by:	Jack Twilley
2002-05-23 04:38:46 +00:00
Trevor Johnson
5b34771f44 Implement MASTER_SITE_FESTIVAL and MASTER_SITE_FESTIVAL_OGI. 2002-05-23 04:35:39 +00:00
David E. O'Brien
98bcb1a61e Embellish the CPAN mastersite list by x2. 2002-05-19 17:43:13 +00:00
David E. O'Brien
cf87629e4b Reduce the MASTER_SITE_PERL_CPAN list by 1/2. There were _22_! sites.
The net has to be in *VERY* bad shape for you to fail on 21 sites and
finally get the needed file from the 22nd site.
If the list was meant more do document possible sites for to list in
/etc/make.conf, they could be re-added as comments.
2002-05-18 18:47:39 +00:00
Trevor Johnson
d836c8f63c Use new domain name for Tokyo University of Science.
PR:		38196
Submitted by:	hrs
2002-05-17 20:50:54 +00:00
Ernst de Haan
37f11e19c9 Fixed typo.
Noticed by:	Alex Dupre <sysadmin@alexdupre.com>
PR:		37933
2002-05-13 12:25:18 +00:00
Will Andrews
67a874ec4c Minor cleanups/fixes:
[1] Warn people about Qt1, remove warning about Qt3, and fix something I
    forgot to fix before committing the Qt3/KDE3 stuff.

[2] Programs that were using USE_QT_VER=3 were looking in the wrong
    place for the headers if they relied solely on QTCPPFLAGS to give
    it to them.

Reported by:	[2] Frank Laszlo <laszlof@earthlink.net>
2002-05-11 20:01:09 +00:00
Ernst de Haan
3fe5d30d85 Blackdown JDK 1.3.1 for Linux added.
Requested by:	Tim Schafer <tim@agship.com>
PR:		37875
2002-05-09 11:00:02 +00:00
Ernst de Haan
68f106d795 Now matches the new installation directory of the
Sun JDK 1.2.x for Linux.
2002-05-09 10:09:26 +00:00
Trevor Johnson
ebd5207e7b Correct the subdirectory for the us.dl.sourceforge.net FTP site.
Remove the FTP listing for eu.dl.sourceforge.net, since it has not
allowing FTP connections at least since 22 hours ago.  I left the
HTTP listing for the site.
2002-05-09 01:03:29 +00:00
Daniel Baker
348732c48f The master site list for sourceforge didn't use the round-robins that
sourceforge has made available.  Additionally, the first site listed
(prdownloads) now gives a HTML selection page when you try to download
a file which causes md5 mismatch and is generally an ugly mess.

Update MASTER_SITE_SOUREFORGE with handful of approved roundrobin HTTP
and FTP sites

Submitted by:	Sean Kelly <smkelly@zombie.org>
2002-05-07 00:31:08 +00:00
Kris Kennaway
53cd1ee38c Add back the qt145 port and support for qt-1.x. This should not
have been removed because it was not broken and a lot of working
ports depended on it.  The qt145 port now installs files named
*qt1* instead of *qt* so it does not conflict with the other qt
versions.
2002-05-05 09:55:30 +00:00
Akinori MUSHA
c872c68520 Update lang/ruby-devel to the latest development snapshot as of
2002-05-05.  This fixes some ruby extensions under RUBY_VER=1.7.

Update the Oni Guruma regex engine to 20020424.
2002-05-04 22:17:14 +00:00
Akinori MUSHA
8287c3c057 Update lang/ruby to the latest stable stapshot as of 2002-05-02, with
a local patch applied. (which will be committed soon)
2002-05-03 19:24:14 +00:00
Akinori MUSHA
79067363b1 Update lang/ruby-devel to the latest development stapshot as of 2002-05-03. 2002-05-03 19:05:25 +00:00
Ernst de Haan
f0eafefbcc Refactoring applied. One extra stage is introduced in which
it is decided what JDK ports have been installed.

Tested with:	java/jdom net/spread
Reviewed requested from:	java@FreeBSD.org ports@FreeBSD.org
Reviewed by:	John Merryweather Cooper <john_m_cooper@yahoo.com>
2002-05-02 12:46:56 +00:00
Kris Kennaway
e262cbd7e6 Switch over to XFree86-4.x for ${OSVERSION}>=450005. If you are tracking
-STABLE, this will take effect after your next cvsup + kernel upgrade.
2002-04-27 11:22:59 +00:00
Ernst de Haan
f1fbaf5a19 Introduction of NEED_JAVAC knob in bsd.java.mk, stage 3.
NEED_JAVAC now actually defaults to NO.

Tested with:	net/spread
		lang/kawa
		java/jdom
2002-04-27 00:18:53 +00:00
Ernst de Haan
4da7745589 Add support for the Sun JDK 1.2.
Also fix one NEED_JAVAC related bug/typo.
2002-04-26 23:39:17 +00:00
Ernst de Haan
aae053233d Update to IBM JDK 1.3.1 (cxia32131-20020302).
PR:		37397
Submitted by:	Hye-Shik Chang <perky@akaraka.yonsei.ac.kr>
2002-04-26 23:23:02 +00:00
Ernst de Haan
a4c952c405 Introduction of NEED_JAVAC knob in bsd.java.mk, stage 2.
All ports that need a Java compiler (either 'javac' or
'jikes') should from now on define NEED_JAVAC.
2002-04-26 22:30:47 +00:00
Thomas Gellekum
3688540fe6 Fix comment to reflect the actual usage of USE_PYDISTUTILS. 2002-04-26 10:45:42 +00:00
Maxim Sobolev
ac09919701 Heroic attempt to reduce number of PRs assigned to portmgr@:
1. Make PY_DISTUTILS recently added into <bsd.python.mk> actually working.

PR:		36537
Submitted by:	tg

2. Propagate error code from failed `make depends', when one of the ports
   we depend upon is marked BROKEN/FORBIDDEN.

PR:		25522
Submitted by:	alex

3. By default, when bsd.port.mk configurating Makefile.PL only pass
   PREFIX as argument, but some Perl module (eg. Test-Harness) needed
   INSTALLPRIVLIB and/or INSTALLARCHLIB in order to install, otherwise
   default installation will goes to /usr/lib and not ${PREFIX}/lib,
   in some case, adding these tag to CONFIGURE_ARGS is not bad.

PR:		29681
Submitted by:	Shell Hung <shell@shellhung.org>

4. Update patch-libtool target, so that it doesn't break ports with
   autoconf 2.13-generated configure script. USE_LIBTOOL is still not
   very useful for such cases, but at least it doesn't break them badly
   anymore.

PR:		31142
Submitted by:	wjv

5. Make `make search' working even when /usr/obj/usr/ports exists.

PR:		31862
Submitted by:	gad

6. When configure script fails unexpectedly don't dump thousands lines of
   config.log to the user's screen, because it usually doesn't contain
   information useful for tracking the problem anyway. Instead display a
   message asking a user to report the failure to the proper entity
   (maintainer) and what to include into the problem report.

PR:		34459, 35488
Submitted by:	Thomas Hurst <freaky@aagh.net>
		Alan Eldridge <ports@geeksrus.net>
		sobomax
		other countless hackers whose names are lost in the noise
Text of message suggested by:	asmodai

7. Make PREFIX=/usr situation more sane. When PREFIX is set to /usr,
   bsd.port.mk uses MANPREFIX=${PREFIX} and BSD.local.dist for mtree as
   always, however those defaults are not appropriate for /usr, and better
   options are available.

PR:		36030
Submitted by:	DougB

8. Use ${ECHO_CMD} instead of ${ECHO} everywhere in the bsd.port.mk to
   avoid clashing with system .mk settings (${ECHO} has a different meaning
   there). Actually the patch is imcomplete, because large portion of those
   ${ECHO_CMD}s should be ${ECHO_MSG}, but this one will at least make Bruce
   happy, which shouldn't be underestimated.

PR:		34988
Submitted by:	knu

All of the above tested by:	bento
Special thanks goes to:		kris (for his help with getting this tested)

-------------------------- THE END (to be continued) ------------------------
2002-04-25 15:28:48 +00:00
Will Andrews
e05ed36727 Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation,
which had a dependency on audio/xamp (being removed), so I removed that
dependency and bumped PORTREVISION.  All other ports are real dependents
upon Qt 1.x, including KDE 1.x stuff.

Code in bsd.kde.mk supporting these ports is also removed or adjusted.
Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be
committed Real Soon Now (TM), pending repo-copies.

This commit made in impending view of Qt3/KDE3 entering ports tree.
2002-04-19 02:30:02 +00:00
Thomas Gellekum
2f77a42bb4 New trigger USE_PYDISTUTILS. When defined, do-build' and do-install'
will call the equivalent of `python setup.py {build|install}'. This
should help with most current extensions to the Python language.

PR:		36537
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-04-17 11:34:47 +00:00
Akinori MUSHA
26b21d0b3c Update ruby-devel to the latest 1.7 snapshot as of 2002-04-12. 2002-04-14 12:36:47 +00:00
Thomas Gellekum
70f395a1f5 Upgrade to Python-2.2.
PR:		36977
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-04-12 10:33:42 +00:00
Thomas Gellekum
f64dfaa0a8 Upgrade to 2.1.3.
PR:		36977 36979
Submitted by:	"Karsten W. Rohrbach" <karsten@rohrbach.de>
2002-04-11 11:29:52 +00:00
Maxim Sobolev
07e69f9aa3 Pessimise ftp.yggdrasil.com GNOME mirror, because it's currently unresolvable. 2002-04-09 09:40:38 +00:00
Ernst de Haan
0dfa641e89 Some small improvements. Added some comments at the top
summarizing the stages. Identified a sixth stage. Renamed the
JDK_FILE setting to _JDK_FILE, for consistency with other
settings that are only used internally in the mk file.

Tested with:	jakarta-tomcat-3.3.1_7 (www/jakarta-tomcat3),
		jakarta-tomcat-4.0.3_3 (www/jakarta-tomcat),
		orion-1.5.2_17 (www/orion)
2002-04-04 23:01:24 +00:00
Maxim Sobolev
59de89b322 Fix another "last" bug introduced with the speed-up commit. In some conditions
the bug resulted in "sh: Argument list too long" message during dependency
registration process.

Reported by:	*many*
Submitted by:	Joe Marcus Clarke <marcus@marcuscom.com>
2002-04-04 10:06:00 +00:00
Ade Lovett
b13d153e13 Fix missing quotes around one instance of
if [ ! -z "$$select" ]

Submitted by:	lioux
2002-04-03 01:17:57 +00:00
Ernst de Haan
d45f258f87 Fixed a problem that occurred if it would look for
JDK 1.2 while the FreeBSD JDK 1.3 was not installed,
but the FreeBSD JDK 1.2 was.

Reported by:	lioux
2002-04-02 08:57:28 +00:00
Kris Kennaway
59ac30e126 Fix a fetch bug in MASTER_SITES_NN introduced in rev 1.396.
Submitted by:	lioux
PR:		ports/36078 (part of)
2002-04-02 05:24:33 +00:00
Ernst de Haan
6c375d5787 Removed an extraneous .BEGIN. It was not causing any problems,
but it was not necessary either.

Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
2002-03-30 10:48:23 +00:00
Ernst de Haan
c1f7d64d08 Fixed 2 bugs related to dependencies.
Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
2002-03-29 11:22:41 +00:00
Ernst de Haan
d53122988d Added bsd.java.mk. This adds Java-specific support to ports by
means of a USE_JAVA definition. If a port does not define
USE_JAVA, then this change should not affect that port.

The purpose of this bsd.java.mk file has been extensively
discussed on the freebsd-java mailing list. The current
bsd.java.mk is based on the following specification documents:

http://www.metaverse.nl/~ernst/installing.html
http://www.metaverse.nl/~ernst/writing.html

A proposal that lead to the development of these documents and
finally the current bsd.java.mk file is:

http://www.metaverse.nl/~ernst/freebsd-java-proposal-20011116.html

The bsd.java.mk has been sent to portmgr for review. They had
no objections.

Reviewed by:	portmgr@FreeBSD.org, java@FreeBSD.org
Approved by:	sobomax@FreeBSD.org
2002-03-28 11:24:43 +00:00
Maxim Sobolev
c3fbe51db3 The second, and I hope the last, revision of speedup patch - make USE_SUBMAKE
working as advertised. This should fix mod_phpX and probably some other 30
ports that use USE_SUBMAKE. Default behaviour remains exactly the same.

Prompted by:	dirk
2002-03-28 09:58:08 +00:00
Maxim Sobolev
3c634c1303 Slightly adjust speedup patch, so that it works when user specifies unnatural
targets sequence, i.e. `make clean build'. It doesn't affect default behaviour.

Reported by:	knu
2002-03-27 04:26:44 +00:00
Akinori MUSHA
5fe1ba2315 lang/ruby:
- Update to the latest 1.6 stable snapshot as of 2002-03-27.
- Update the Oni Guruma alternative regex engine to 20020325.

lang/ruby-devel:
- Update to the latest 1.7 development snapshot as of 2002-03-26.
- Add the WITH_ONIGURUMA knob as well as lang/ruby.
- Require devel/autoconf (2.53 or later is required).
- Add several modules to the obsoleted modules list (now included):
	bigfloat
	fileutils
	racc-runtime
	strscan
2002-03-26 22:20:00 +00:00
Maxim Sobolev
d6ce894ff6 - Significantly reduce overhead associated with bsd.port.mk by replacing .USE
macro, which was invoking separate make(1) process for each of the main
  targets, with explicit make(1) targets and specifying the dependencies on
  those targets in normal Makefile way. This gives up to 4x speedup. For the
  ports relying on the old functionality (i.e. each main target in a separate
  make(1) process) provide a USE_SUBMAKE knob, which provides old behaviour;

- speed-up dependency registration process by the factor of two, which
  could be a great win especially for things like GNOME and KDE with very long
  dependency chains;

- clean-up internal structure of the file, so that it is easier to understand
  and extend it when necessary.

Inspired by:	NetBSD
Reviewed by:	freebsd-ports@
Tested by:	bento
2002-03-25 08:48:47 +00:00
MANTANI Nobutaka
bf74987ed7 Sync with emacs21 update.
Approved by:	shige
2002-03-19 03:28:51 +00:00
Trevor Johnson
e1aa5cb0a7 Add http://linux.dsi.internet2.edu to KDE and SUNSITE lists. 2002-03-17 04:51:20 +00:00
Will Andrews
089c1bb234 XFree86 4.2.0 Stage 1: bsd.port.mk
[1] Handle HTML-ified manpages in plists.
	[2] Add --x-[libraries,includes]=${X11BASE}/[lib,include] if we are
	    using GNU_CONFIGURE in this port.  This is required if the port
	    adds a bunch of other libraries by default to CPPFLAGS and
	    configure gets a false positive.

Submitted by:	[1] sf
		[2] many people
2002-03-16 23:37:02 +00:00
Mark Murray
05e08061c2 Take Perl 5.6.1 into account. Allow for slow updaters who prefer to
stay with an older CURRENT and perl 5.6.0.
2002-03-16 22:47:00 +00:00
Trevor Johnson
3ffe4d95a6 Remove ftp.dl.ac.uk and ftp.shellhung.org from GNU list because
they appear to no longer carry any GNU archives (seen in fenner's
survey and verified manually).

Add ftp.informatik.hu-berlin.de to GNOME, GNU and KDE lists.

Add ftp.dl.ac.uk to XCONTRIB list.

Make ftp.chg.ru last in every list containing it, because it is
often offline.

The ftp://ftp.sourceforge.net/pub/mirrors/ directory is empty.
Remove it from the CPAN, GNOME, GNU, KDE and SUNSITE lists.

Remove ftp.synesis.net from the KDE list.  Nothing is there except
a README which says "please use another mirror site."

Remove ftp.twoguys.org from the KDE list.  Its hostname does not
resolve.

Remove ftp.rediris.es from SUNSITE list; add it to the GNU, MOZILLA
and XFREE lists.

Remove ftp.lip6.fr from the XFREE list because its XFree86 archive
is not current.  Add the site to the GNU list.

Reviewed by:	demon and petef
2002-03-16 19:32:02 +00:00
Dmitry Sivachenko
2bf743da9f Add new mozilla download location. 2002-03-16 09:09:51 +00:00
Akinori MUSHA
c990483df5 Update to the latest stable snapshot as of 2002.03.13.
Add a WITH_ONIGURUMA knob that enables the Oni Guruma regex engine
that's currently under development that will eventually replace the
stock one that's derived from LGPL'd GNU regex. [experimental]
2002-03-13 22:57:19 +00:00
David E. O'Brien
bbd4540ab8 mirrors.rcn.net reorged. 2002-03-13 00:56:08 +00:00
Akinori MUSHA
edf66fa8c3 Move some variable definitions outside the .if defined(RUBY) block so
they will not be referenced without being defined.

Submitted by:	gad
2002-03-10 20:42:48 +00:00
Akinori MUSHA
933a01c2ca Update lang/ruby to the latest release, 1.6.7.
Update lang/ruby-devel to the latest snapshot as of 2002-03-01.
2002-03-01 16:53:55 +00:00
Andrey A. Chernov
a35cebf9cf Add -D_THREAD_SAFE for -current too
Approved by:	portmgr & ports silence
2002-02-24 16:54:34 +00:00
David E. O'Brien
b5e6b050c5 Fix a typo in the CD_MOUNTPTS bits.
Submitted by:	Alexander Zagrebin <alexz@visp.ru>
2002-02-22 18:53:28 +00:00
David E. O'Brien
2dba26a1c7 Fix the default CONFIGURE_TARGET to one that is a proper GNU tuple.
Approved by:	several portmgr members
2002-02-21 18:24:20 +00:00
Akinori MUSHA
a0a0db6a5e Update ruby-amstd to 2.0.0. 2002-02-20 05:00:47 +00:00
Akinori MUSHA
f64fedc24d Update lang/ruby-devel to the latest snapshot as of 2002-02-10. 2002-02-12 09:23:06 +00:00
Akinori MUSHA
d39325271f Prevent extconf.rb from getting patched for pthread more than once
when a port is built twice.
2002-02-10 18:12:38 +00:00
Akinori MUSHA
29ab188f02 To keep users from experiencing upgrading problems, make lang/ruby and
lang/ruby-devel deinstall obsoleted (integrated) packages in their
post-install targets (for installation from ports) and in their plists
(for installation from packages),

Update to the latest snapshot as of 2002-01-29 while I'm at it.
2002-01-29 09:14:09 +00:00
Akinori MUSHA
511ddbdf96 Update ruby and ruby-devel to the latest snapshots as of 2002-01-26. 2002-01-25 20:58:05 +00:00
Steve Price
ecaa30aadc Add a default value for _PATCH_SITES_DEFAULT so the MASTER_SITE_N
patch is functional.
2002-01-24 01:15:03 +00:00
Will Andrews
78be64afad Bring in changes tested on bento's new 4-exp tree, specially fitted for the
4.5 release.

 1) Add support for MASTER_SITE_N.  This is by far the largest part of
    this patch; many thanks to Mario for his hard work on this!
    Submitted by:	lioux

 2) Allow multiple CD mountpoints to be specified.
    PR:			8063
    Submitted by:	MOROHOSHI Akihiko <moro@race.u-tokyo.ac.jp>
    Rewritten by:	will (with suggestions from steve)

 3) Fix MLINKS description.
    PR:			29876
    Submitted by:	dirk

 4) Add imake dependency for XFree86 3.x when USE_IMAKE is defined
    because it's possible the port may not need X itself, but just imake.
    Submitted by:	max

 5) Fix installing as non-root with ${INSTALL*} macros.
    PR:			25531
    Submitted by:	Martin Kammerhofer <mkamm@gmx.net>

Thanks to Kris Kennaway <kris> and Steve Price <steve> for helping make the
experimental tree on bento a reality.
2002-01-23 03:48:44 +00:00
Thomas Gellekum
38d8068c7f Upgrade python21 to 2.1.2, the latest bugfix release.
PR:		34078
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Update checksum of dependent ports.
2002-01-22 12:53:28 +00:00
Thomas Gellekum
0bde08831d Grr. Really fix PYTHON_WRKSRC for 2.1.1. 2002-01-16 12:24:32 +00:00
Thomas Gellekum
1b36114760 Fix variables for Python-2.1.1. 2002-01-16 12:23:24 +00:00
Maxim Sobolev
2bdeafee66 Add chkdepschain.py - a tool to address one of the most annoying when it comes
down to user support flaws in the FreeBSD ports system.  The flaw in question
is related to the fact that dependencies are often "chained", which allows to
simplify maintenance of ports with large number of implied dependencies (a la
Evolution, Nautilus, you-name-it). Dependency chaining it's not a problem by
itself, but the fact that when building or installing a port the system doesn't
check chain integrity - it's only checks that dependencies explicitly
specified in port's Makefile are satisfied, which opens wide window for
various hard-trackable problems when one or more links in the middle of the
chain missed.

The idea behind the tool is quite simple - it should be executed right after
main dependency checking procedure, two times for each build - check build-time
chain before building the port (pre-pre-extract) and check run-time chain
before installing the port (pre-pre-install).  When executed, the tool checks
integrity of the specified chain (build-time, run-time or both) and reports all
errors, both fatal (dependency isn't installed) and non-fatal (dependency is
installed, but different version).

I've wrote this tool mostly to simplify maintenance of the GNOME ports, but
it doesn't contain anything GNOME-specific, so that it could be used in the
other parts of tree as well.

As an example I've added GNOME_VALIDATE_DEPS_CHAIN knob into bsd.gnome.mk (off
by default), which enables automatic chain validation for all ports that
USE_GNOMELIBS. This is a bit hackish, because I've used pre-extract and
pre-install targets - what we probably need is a generic way to plug various
custom tasks specified in bsd.xxx.mk (where xxx is kde, gnome, python, etc.)
into various parts of the build process (something like {pre,post}-pre-foo,
{pre,post}-post-foo springs into my mind).

The code is quite raw, so that I would appreciate any bug reports, patches,
suggestions, constructive critiquie and so on.
2002-01-13 12:05:07 +00:00
Maxim Sobolev
c95684ae39 Pessimize http://telia.dl.sourceforge.net/ - the host is unreachable. 2002-01-11 12:11:33 +00:00
Thomas Gellekum
2d5aba540b Add python2.2 to the list of legal PYTHON_VERSIONs. 2002-01-11 12:05:29 +00:00
Trevor Johnson
b8c7d3a975 Downloads via Sourceforge's Project Filelist Web pages are served
from telia.dl.sourceforge.net (also known as sourceforge.aleron.net--it
is in the USA, not Sweden), so I have placed it in the first position.
According to Fenner's survey, projects.sourceforge.net and
prdownload.sourceforge.net have been offline since late October and
early November of 2001.
2002-01-10 14:58:53 +00:00
Thomas Gellekum
555f286ca1 Upgrade lang/python to 2.2. Adjust bsd.python.mk accordingly.
PR:		33444
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Add new MD5 to dependent ports.
2002-01-07 13:26:47 +00:00
Dmitry Sivachenko
3dd26004e8 Add one more sourceforge mirror located in Rissia. 2002-01-07 08:55:54 +00:00
Akinori MUSHA
816167d11c Update lang/ruby to the 1.6.6 Xmas stable release.
Update lang/ruby-devel to the 1.7.2 Xmas' development snapshot.
2001-12-25 17:02:33 +00:00
Will Andrews
f8a48d00c2 Don't descend into a subdir for 'readmes' target if subdir doesn't exist.
PR:		28510
Submitted by:	Philippe Casidy <pcasidy@casidy.com>
2001-12-23 11:11:40 +00:00
Will Andrews
fa8f93bcfc Add AUTOMAKE_ARGS+=-i by default if AUTOMAKE_VER != 1.5. This generates
Makefiles more useful for non-GNU make(1).

Requested by:	obrien
Reviewed by:	steve, bento 4-exp
2001-12-22 17:13:38 +00:00
Maxim Sobolev
d15f6617de - Remove ftp://download.sourceforge.net - it doesn't accept ftp connections
anymore;
- move ftp://ftp.is.co.za/ down in the MASTER_SITE_MOZILLA - I'm getting
  connection timeout when trying to connect it.
2001-12-12 07:54:15 +00:00
Shigeyuki Fukushima
7273fd472b Add new directive.
EMACS_MASTERDIR_PKGFILES (default:NO)
   If YES, refer pkg-{comment,descr,plist}.${EMACS_PORT_NAME}
   in the master directory.

 EMACS_NO_SUBDIRSEL (cannot change by users)
   Whether emacsen has subdirs.el or not.

Add EMACS_SITE_LISPDIR and EMACS_VERSION_SITE_LISPDIR to SCRIPT_ENV, PLIST_SUB.

Start a transition period:
  EMACS_PORT_NAME for emacs-19.x. is from "emacs" to "emacs19"
2001-12-01 17:54:54 +00:00
Mario Sergio Fujikawa Ferreira
0273a8420e Add USE_AUTO{CONF,MAKE}_VER following original idea from bsd.kde.mk
by will

1) Make selection of AUTO{CONF,MAKE} flexible depending on *_VER
   variables.
2) This is backward compatible with previous behavior. For example,
   {ACLOCAL,AUTO{CONF,HEADER,MAKE,RECONF,SCAN,UPDATE,IFNAMES}} are
   set with default values even if USE_AUTO* are not set.
3) Have the defaults be devel/autoconf213 and devel/automake14 ports
   (just set the USE_*VER?= to the latest values, or a bogus value).
   If the user sets a bogus value, we use the default values.
4) Furthermore, add variables in the same sense of the
   PTHREAD_* vars. We must be able to automagically patch the ports
   based on the correct
   {ACLOCAL,AUTO{CONF,HEADER,MAKE,RECONF,SCAN,UPDATE,IFNAMES}}
   values.
5) Moreover, add {ACLOCAL,AUTO{MAKE,CONF}}_DIR variables pointing
   to the right locations based on the *_VER variables, this is
   useful if a port needs to grab files from those. This might seem
   too much but if we want automagical, we should go this extra
   mile.

Requested by:	too many
Reviewed by:	portmgr, ports
Approved by:	portmgr (will), ports (silence)
2001-11-28 05:00:36 +00:00
Akinori MUSHA
c7d7f1b6ef Update lang/ruby to the latest snapshot, 1.6-2001.11.23.
Update lang/ruby-devel to the latest snapshot, 1.7-2001.11.22.

Use bzip2 patches instead of gzip patches.
2001-11-24 09:02:52 +00:00
Akinori MUSHA
919909471b Fix a wrong comment. PATCHDIR is now ${MASTERDIR}/files by default,
not ${MASTERDIR}/patches.

PR:		ports/30328
Submitted by;	Hye-Shik Chang <perky@python.or.kr>
2001-11-17 21:35:39 +00:00
Akinori MUSHA
5493715c67 Add bzip2 support for distribution patches. The bzip2 dependency is
automatically added if there is a .bz2 patch in PATCHFILES.

PR:	ports/16252 and ports/30862
Seven months have passed since the PR was assigned to:	portmgr
2001-11-17 21:23:09 +00:00
Akinori MUSHA
e00f292763 Add a bunch of generally used command macros:
BZCAT, BZIP2_CMD, CHGRP, CUT, DC, ECHO_CMD, EGREP, FILE, FIND,
    HEAD, ID, IDENT, STRIP_CMD, SU, TAIL, TEST, XARGS

And use shell (ash or ksh) builtins where available for efficiency:

    ECHO_CMD, FALSE, TEST, TRUE

Grepping the ports tree, a few dozen ports already have FIND,
STRIP_CMD and XARGS variables on their own and numerous ports use
these commands without using macros.  Some ports use FILE as a .for
loop variable, but it doesn't matter anyway.

Obtained from:	NetBSD

Remove the definition of ECHO because it is already defined in
/usr/share/mk/sys.mk and leaving the useless definition may mislead
developers.  Add the following comment that would help:

    # ECHO is defined in /usr/share/mk/sys.mk and its value can either be
    # "echo", or "true" if the make flag -s is given.  Use ECHO_CMD where
    # you mean the echo command.

No response yet from:	portmgr
Clued by:	Cyrille Lefevre <clefevre@citeweb.net> (on ${ECHO})
2001-11-17 21:05:50 +00:00
Akinori MUSHA
2f28d718b7 Define EXAMPLESDIR as well as DOCSDIR and DATADIR. Of course this
does not clobber the existing definitions because of the `?='
assignment.

Grepping the whole ports tree, a few dozen ports already define this
variable on their own and most of them have the same value as this
(${PREFIX}/share/examples/${PORTNAME}).

Approved but not committed by:	portmgr
2001-11-17 20:08:05 +00:00
Akinori MUSHA
38d33ba583 Fix PKG_IGNORE_DEPENDS so it matches the latest XFree86 3.x port.
As I didn't see why the full package name is needed there, I changed
it to a simple regexp that matches any later version of the XFree86
3.x port.

No response from:	portmgr
2001-11-17 19:56:29 +00:00
Will Andrews
74868616a9 (QT3/KDE3 only:) Use alternate dependency style; fix looking for qt
libraries.  kdelibs from cvs building now in kde/freebsd repository.
2001-11-14 15:56:53 +00:00
Thomas Gellekum
5a08ef716f Add variables $ACLOCAL and $AUTOHEADER, now that the program names
contain version numbers.

Approved by:	portmgr (sobomax)
2001-11-13 13:12:11 +00:00
Will Andrews
7668e8de7f (QT3/KDE3 only:) Remove -lqt, this was a mistake. 2001-11-13 06:35:28 +00:00
Akinori MUSHA
b532ce3f0b Update ruby-devel to the latest snapshot (1.7.2-2001.11.09). 2001-11-10 19:08:34 +00:00
Akinori MUSHA
345bbe4bfd Fix a quoting bug in `make describe'.
- Do not shrink series of spaces.
  - Do not expand shell wildcards in pkg-comment.

I made the code cleaner and (3-4%) faster while I was at it.

Tested by:	diff(1) and its option -b

(Maintainer timeout)
2001-11-09 15:48:40 +00:00
Will Andrews
381f49d9e7 Good Will. \
OK Will.
BAD Will! \
Will forgot the backslash at the end of the line...
2001-11-05 21:29:59 +00:00
Mark Murray
494b884718 Allow the perl version and architecture to be overridden. 2001-11-05 21:28:44 +00:00