Commit graph

126 commits

Author SHA1 Message Date
jlam
c12ddda2a1 + Remove modifications to configure.in and configure in patch-aa and
patch-ac that altered the order in which the terminal library for
  readline was detected.  The termcap.buildlink3.mk file (included
  indirectly by readline/buildlink3.mk) will do the right thing by
  itself.

+ Modify the pkg-index.tmpl INSTALL script fragment: we can just use
  ${PKG_PREFIX} instead of substituting for @PREFIX@ everywhere.  Also
  refactor the commands to rebuild the package index into a shell
  function and give some indication to the user what is happening.

+ Remove chown operation in post-install that was basically
  cargo-culted from the very first version of R imported into pkgsrc.
  It's not necessary.

+ Support user-destdir installation.

Bump the PKGREVISION to 2.
2008-03-07 16:11:39 +00:00
joerg
e725e20c42 Bump version or revision of all packages that have a runtime dependency
on gzip.
2007-11-08 19:39:42 +00:00
markd
89144712b9 Update R to version 2.6.0
Many new features, changes and bug fixes. See lib/R/doc/NEWS for details.
2007-11-03 20:14:39 +00:00
rillig
b650e8c4ec Fixed the path to unzip. PKGREVISION++ 2007-09-08 13:44:48 +00:00
dmcmahill
8838f373c3 Wants at least version 4.7 of makeinfo to build the docs. Bump pkgrev. 2007-03-28 11:06:29 +00:00
markd
7d69606a36 Fix configure's handling of libblas when compiling with f2c and therefore
remove conditional PLIST entry no longer required. Bump PKGREVISION.
2007-03-20 11:00:58 +00:00
markd
ba6444594c Building with f2c effects what libs get installed. Adjust PLIST. 2007-03-18 13:13:02 +00:00
markd
026fef7428 Update R to version 2.4.1.
pkgsrc changes: no longer automatically generate the PLIST.
     use (de)install templates for handling updating the index files
     when adding/removing R packages.

Changes 2.4.1
This is a maintenance release and fixes a number of mostly minor bugs.

Changes 2.4.0
This release has many new features. One important aspect is that S4
classes now have their own internal type, and S4 method dispatch has
been completely revised to using cached generic functions, giving
substantial performance improvements. As a consequence, all packages
depending on "methods" need to be reinstalled.
2007-03-14 11:50:17 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
6b868ada1f Needs libXt explicitly. 2007-01-08 15:00:36 +00:00
dmcmahill
3ff9fadfb4 The variable modifier $${dir#${PREFIX}/} is not portable so eliminate its
use.  Fixes R packaging on solaris.
2006-10-08 23:12:48 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
markd
2d32d78759 Replace DEPENDS line with appropriate buildlink3.mk.
Also allow passing arguments to the "R CMD INSTALL"
2006-07-02 12:52:43 +00:00
markd
b73fad9d8c Update to R 2.3.1
This version contains several minor fixups and removes a couple of bad
bugs such as NA-handling of mean() for integer vectors.

Changes 2.3.0
This version contains several changes and additions, mostly incremental.
2006-06-13 12:28:09 +00:00
rillig
dbe9b150b3 Fixed pkglint warnings. 2006-06-09 11:15:32 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00
markd
53346be7da Patch from R's svn trunk. Should fix build on NetBSD 1.6.2. 2006-02-26 11:58:25 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
markd
d25b5068d7 test -z $foo -> test -z "$foo"
fixes build on Solaris.
2006-02-04 22:25:06 +00:00
markd
9471f76f17 If MANZ=yes was set then the subsequent USE_TOOLS+=gzip caused a gzip
link to appear in the tools directory and be picked up and embedded in
one of the installed scripts.  Since this package clearly uses gzip at
runtime add an explicit USE_TOOLS+=gzip:run and fixup the gzip path that
gets embedded.  Fixes PR pkg/32218.  Bump PKGREVISION.
2006-01-12 01:41:48 +00:00
markd
c64417b924 Update R to 2.2.1
USER-VISIBLE CHANGES

    o   options("expressions") has been reduced to 1000: the limit
        of 5000 introduced in 2.1.0 was liable to give crashes from C
        stack overflow.


NEW FEATURES

    o   Use of 'pch' (e.g. in points) in the symbol font 5 is now
        interpreted in the single-byte encoding used by that font.
        Similarly, strwidth now recognizes that font 5 has a different
        encoding from that of the locale.  (These are likely to affect
        the answer only in MBCS locales such as UTF-8.)

    o   The URW font metrics have been updated to versions from late
        2002 which cover more glyphs, including Cyrillic.

    o   New postscript encodings for CP1250 (Windows East European),
        ISO Latin-7 (8859-13, Latvian, Lithuanian and Maori), Cyrillic
        (8859-5), KOI8-R, KOI8-U and CP1251.

    o   configure has more support for the Intel and Portland Group
        compilers on ix86 and x86_64 Linux.

    o   R CMD INSTALL will clean up if interrupted (e.g. by ctrl-C from
        the keyboard).

    o   There is now a comprehensive French translation of the messages,
        thanks to Philippe Grosjean.


DEPRECATED & DEFUNCT

    o   The undocumented use of atan() with two arguments is deprecated:
        instead use atan2() (as documented).

    o   The 'vfont' argument of axis() and mtext() is deprecated
        (it currently warns and does nothing).

    o   The function mauchley.test() is deprecated (was a misspelling)
        and replaced by mauchly.test()

Many BUG FIXES
2005-12-29 23:23:53 +00:00
markd
fbb0eb7793 avoid computed static constant (which was in any case the wrong value)
in log1p().  From R svn.  Should fix build on NetBSD-1.6.2.
2005-12-19 12:51:50 +00:00
markd
61ebfddd7f Update R to 2.2.0
Changes:
 This version contains several changes and additions, mostly incremental.
2005-12-11 14:37:12 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
b5f1ea7150 forgot patch-ai in last commit 2005-12-01 23:12:18 +00:00
joerg
4e6e7dd792 - correctly depend on devel/gettext-lib, bump revision for this
- this uses libtool, tell the framework so
- don't declare alloca on DragonFly, it conflicts with system headers
- patch libtool.m4 fragment for DrgaonFly
2005-12-01 23:11:26 +00:00
rillig
a260811277 Added a variable R_HOMEPAGE_BASE that is needed as a replacement for all
those packages that currently use ${MASTER_SITE_R_CRAN:=foo} as their
HOMEPAGE. As the HOMEPAGE is a single URL, not a list of URLs, the
MASTER_SITE variables cannot be used for this.
2005-11-03 12:00:32 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
dmcmahill
89f8747cb3 add missing libiconv buildlink3.mk 2005-09-20 12:47:14 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
markd
06f7175cc4 Update R to version 2.1.1.
minor bug fixes.
2005-06-24 12:28:31 +00:00
kristerw
ab4e122aea Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-19 00:45:45 +00:00
markd
3efe0facf0 Cleanup of tools paths appearing in installed files for the new tools
framework.  Bump PKGREVISION.
2005-06-11 02:37:00 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
markd
2197cf5730 Don't try and use wide chars on NetBSD 1.6 as the support isn't complete
enough.  Fixes PR pkg/30274
2005-05-19 13:12:52 +00:00
drochner
3bea1395a9 update to 2.1.0
too many changes to list here
...still doesn't work within TEXmacs
2005-05-02 16:57:19 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
jlam
3588ad8a2a Move buildlink3.mk files ahead of targets as per example Makefile. 2005-01-12 22:50:20 +00:00
jlam
0e0b73913a Fix up the comment to note that we still need to unwrap some files at
post-configure time, even after the switch from buildlink2 to buildlink3.
Also, use SUBST_CLASSES instead of the custom post-configure target,
and take advantage of the fact that the "unwrap" SUBST_CLASS already
does mostly the right thing.
2005-01-12 22:49:35 +00:00
jlam
b6b853727d Nuke USE_FORTRAN and bring the f2c handling within the mk/compiler
framework.  The list of changes include:

  * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES,
    so we no longer need to say it in package Makefiles.  Packages
    should now append to USE_LANGUAGES instead of setting it.

  * Create mk/compiler/f2c.mk which implements another pseudo-compiler
    "f2c" that may be used with any C compiler backend, e.g.

	PKGSRC_COMPILER= f2c ccache gcc

  * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk,
    etc., to use f2c if the native Fortran compiler isn't present.

Packages that use Fortran should now simply include the line:

	USE_LANGUAGES+=	fortran

in the package Makefile.
2005-01-12 15:31:58 +00:00
markd
01d963cba0 Make bulk build happy by fixing up the rpath. Not actually an issue in
normal operation as the binary is always called from a wrapper script
that sets LD_LIBRARY_PATH.
2004-11-24 10:14:10 +00:00
markd
c44de9fe40 Update R to 2.0.1
Changes 2.0.1:
This is a maintenance version mainly to fix a number of minor bugs and
issues. Some rather nasty bugs were Windows-specific.

Changes 2.0.0:
Many things have changed since 1.0. The R language has acquired namespaces,
exception handling constructs, formal methods and classes, much improved
garbage collection, generalized I/O via connection objects, and
considerable improvements in the graphics area. The user workspace has been
reorganized, and so has the set of packages that ship with R. Several
"recommended packages" deemed indispensable in a statistical system are
bundled. In addition, there has been a large number of more specific new
functions, tweaks, and bugfixes.
2004-11-18 12:31:29 +00:00
jlam
5e5ac5cef9 USE_BUILDLINK3 is a yes/no variable. 2004-11-13 21:28:27 +00:00