Commit Graph

621 Commits

Author SHA1 Message Date
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
Will Andrews
37adc7ebed Slight modification to accomodate devel environment. 2001-11-04 16:48:23 +00:00
Will Andrews
eb40261061 Experimental support for the QT/KDE 3.x series.
WARNING: This is not for anyone who isn't involved in my group of
KDE/FreeBSD developers & QA testers.  Do not use it in any FreeBSD ports.
These changes will be mainly used by modules in the KDE CVS Repository.
2001-11-04 06:18:26 +00:00
Akinori MUSHA
b5b94c1504 Update ruby and ruby-devel to the latest snapshots as of
today. (2001/11/04)
2001-11-03 16:13:25 +00:00
Maxim Sobolev
897f02c57d Fix abuse of ${AUTOMAKE}/${AUTOCONF} 2001-10-30 09:59:56 +00:00
David E. O'Brien
eec70b011f USE_AUTOCONF and USE_AUTOMAKE now depend and use the legacy versions.
This is the fastest way to move forward.  A better way would be to
set USE_AUTOCONF and USE_AUTOMAKE to the version desired.  We can do that
later, I don't want to hold up the update of the autoconf and automake
ports the latest versions.
2001-10-29 01:42:08 +00:00
Shigeyuki Fukushima
bc632abc04 Add new emacsen: emacs21. 2001-10-23 17:14:25 +00:00
David E. O'Brien
25ffb4fb92 Switch to building -current ports against XFree86 4.x.
Approved by:	silence from portmgr
2001-10-09 07:37:34 +00:00
Akinori MUSHA
6b314a7244 Properly support the case where a user sets RUBY_DEFAULT_VER=1.7.
Reported by:	roberto
2001-10-08 06:39:54 +00:00
Akinori MUSHA
f4000042f8 Update lang/ruby{,-devel} to the latest snapshots (2001.10.05). 2001-10-07 19:30:39 +00:00
Akinori MUSHA
402a1340e8 Remove the support for XEmacs19 and XEmacs20.
Approved by:	shige (MAINTAINER)
2001-10-01 20:37:44 +00:00
David E. O'Brien
e565d118b2 Add a "LATEST_LINK" knob. This makes it easy to set the Latest link, so that
less ports have to use NO_LATEST_LINK, and we won't have to keep artificially
setting the PORTNAME to get the Latest link logic to do something reasonable.

Approved by:	will
2001-09-28 16:45:15 +00:00
David E. O'Brien
cb6871115a Fix a spelling mistake. 2001-09-23 00:35:08 +00:00
David E. O'Brien
1ec9e868fa Change "USE_NEWGCC" to "USE_GCC295" and add "USE_GCC30" for soon future use.
Approved by:	portmgr
2001-09-23 00:33:58 +00:00
Akinori MUSHA
96dc9224a6 Include ${PKGNAME} in the names of cookie files so that a port would
never re-use outdated, stale working directories.

Approved by:	portmgr (sobomax)
2001-09-22 11:42:33 +00:00
Akinori MUSHA
9a1e8fea6e Update ruby to the 1.6.5 release. 2001-09-19 14:34:06 +00:00
Akinori MUSHA
67bb8db263 Stop including the OS minor version in RUBY_ARCH which is used in
ruby's architecture specific library paths, so that users do not need
to rebuild and reinstall ruby & all the modules when they minor
upgrade FreeBSD.

i.e.	i386-freebsd4.4  -> i386-freebsd4
    	alpha-freebsd5.0 -> alpha-freebsd5
2001-09-17 17:51:29 +00:00