Commit Graph

2155 Commits

Author SHA1 Message Date
jeremy
753b9c48ce Install the binaries with the same names as upstream, fixes building
ruby gem ports with the jruby FLAVOR in some cases.

Don't install the rdoc for the rake and rspec gems, for better
consistency with other ruby gem ports.

Add a @comment file to PLIST to fix update-plist adding a file that
shouldn't be in the package.

OK landry@
2010-11-26 02:43:32 +00:00
jeremy
a8bf115817 REVISION bump all ruby ports due to a change in the pkgspec.
Previously, we were using ruby->=1.8,<=1.9, instead of
ruby->=1.8,<1.9.  While this wouldn't cause an issue, since
our ruby-1.9.2 package isn't included in ruby->=1.8,<=1.9,
it's still wrong and should be fixed.  This also fixes the
following minor issues:

Switch from using FLAVOR to MODRUBY_FLAVOR for *_DEPENDS.
Currently we don't have a ruby port that uses FLAVORs that
would differ from MODRUBY_FLAVOR, but it's possible we will
in the future.

Switch from BASE_PKGPATH to BUILD_PKGPATH in a few cases in
REGRESS_DEPENDS.  This probably is not strictly necessary, but
BUILD_PKGPATH is used in more cases, so it is good for
consistency.

Switch to new style *_DEPENDS, with the version specification
at the end.  The remaining cases where this is not done is
because a specific version is used.

Some FULLPKGNAME added to REGRESS_DEPENDS, to make sure that if
the old version is installed when you run a regress test, it
will install the new version first.

Some conversion of spaces to tabs for consistency.

OK landry@
2010-11-24 21:35:13 +00:00
jeremy
d1270995e9 Remove MODRUBY_PKGSPEC, rely on the PKGSPEC entries specified
in lang/ruby/1.*/Makefile.

Also, add the ability to pass CONFIGURE_ARGS to gem install.
These get passed to the extconf.rb scripts that create the
Makefiles for C extensions, and may make it easier to port
gems with C extensions without resorting to patching.

OK landry@
2010-11-24 21:30:36 +00:00
jeremy
7b0a3f93b8 Add a PKGSPEC entry to restrict ports depending on lang/ruby/1.9 to
depend on ruby-1.9 and not ruby-1.8.  This PKGSPEC is slightly
different from the previous one used in ruby.port.mk, so all
dependent ports need to be REVISION bumped (which will happen soon).
In addition, since the subpackages depend on the -main package and
also had a slightly different pkgspec, they need to be bumped as well.

In addition, the -main package is also being bumped for the inclusion
of a patch for Addrinfo that fixes a failing IPv6 UDP regression test.

OK landry@
2010-11-24 21:28:04 +00:00
jeremy
25f37c11c5 Add a PKGSPEC entry to restrict ports depending on lang/ruby/1.8 to
depend on ruby-1.8 and not ruby-1.9.  This PKGSPEC is slightly
different from the previous one used in ruby.port.mk, so all
dependent ports need to be REVISION bumped (which will happen soon).
In addition, since the subpackages depend on the -main package and
also had a slightly different pkgspec, they need to be bumped as well.

OK landry@
2010-11-24 21:26:19 +00:00
jeremy
032a5395d3 Fix build on amd64. Bump for safety because i386 package could have
changed.

OK landry@
2010-11-22 15:49:14 +00:00
espie
f7466761c3 missed some 2010-11-22 09:20:34 +00:00
jasper
0c5f179d20 - update hs-haskell-src to 1.0.1.4
ok kili@ (MAINTAINER)
2010-11-21 22:25:02 +00:00
jasper
d49195cd58 - update hs-haskell-src-exts to 1.9.6 2010-11-21 21:11:15 +00:00
kili
6eb5ff46e6 New bootstrapper.
Thanks to armani and jasper for building the i386 version (even if
armanis i7 didn't win the race ;-))
2010-11-21 19:43:31 +00:00
jeremy
f32db28e4c Hook lang/rubinius up to the build. 2010-11-19 18:01:39 +00:00
jeremy
3831e7acb0 Allow building of rubinius versions of the ruby gem and extconf ports
using the rbx FLAVOR and the rbx- package prefix.

OK landry@, sthen@
2010-11-19 17:54:37 +00:00
jeremy
e128de9792 Rubinius is an implementation of the Ruby programming language.
The Rubinius bytecode virtual machine is written in C++, incorporating
LLVM to compile bytecode to machine code at runtime. The bytecode
compiler and vast majority of the core classes are written in pure Ruby.

To interact with the rest of the system, the VM provides primitives
which can be attached to methods and invoked. Additionally, FFI provides
a direct call path to most C functions.

Rubinius uses a precise, compacting, generational garbage collector. It
includes a compatible C-API for C extensions written for the standard
Ruby interpreter (often referred to as MRI.Matz's Ruby Implementation).

OK landry@, sthen@
2010-11-19 17:51:44 +00:00
jeremy
96fa830f9a Update from 1.5.3 to 1.5.5.
OK landry@
2010-11-19 15:57:43 +00:00
robert
3cea55a8c8 update to 2.8.1 2010-11-18 22:40:16 +00:00
espie
eec64b3c21 still broken, unfortunately 2010-11-18 11:16:07 +00:00
landry
ea5d9229cb Convert to REVISION/EPOCH (sorry this one burnt my eyes) 2010-11-17 10:56:52 +00:00
jasper
194263d3b2 - update iverilog to 0.9.3 2010-11-17 10:16:11 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +00:00
jeremy
6170d8763a Remove MODRUBY_BIN_REV from SUBST_VARS, never used.
OK landry@
2010-11-16 21:50:27 +00:00
jeremy
aa826b5062 Fix various minor issues in ruby.port.mk:
* No longer remove ruby-* from PKGNAME when building FULLPKGNAME for
  the gem and extconf ports
* Correctly remove ruby18 FLAVOR
* Use extract/build/install cookies
* Fix installing of certain gems as root without systrace, by working
  around a bug in devel/ruby-gems
* Remove MODRUBY_REV from SUBST_VARS

OK landry@
2010-11-16 18:30:38 +00:00
sthen
1745732377 use tk.port.mk and move -tkinter to a more recent version of Tcl/Tk.
reads fine to fgsch@
2010-11-15 20:55:24 +00:00
jasper
5aa6807966 - switch to pkg-readmes
ok Stuart Cassoff (MAINTAINER)
2010-11-15 18:26:38 +00:00
jasper
b0f14a9376 - better MASTER_SITES
pointed out by Diana Eichert
2010-11-14 17:50:09 +00:00
naddy
b224600a29 enable on alpha 2010-11-13 16:26:41 +00:00
landry
9f1a53922a quote pattern and only work on files (-type f) in MODRUBY_ADJ_REPLACE.
From Mikolaj Kucharski on ports@, ok sthen@ jeremy@
2010-11-10 09:00:10 +00:00
naddy
8bed395ddb Undo bogus change to PLIST that slipped in with an unrelated commit.
Bump, in case people built the package in the meantime.
2010-11-09 21:28:36 +00:00
jeremy
fe64996c4a Major changes to allow the same port directory to build ports for both
ruby 1.8, ruby 1.9, and jruby.

One major change for all ports is that RDoc documentation is no longer
going to be installed by default for gem ports.  For ruby 1.8, it used
a separate documentation file per method, and the file names created
weren't consistent across ruby versions (1.8.6 differed from 1.8.7,
and 1.8.7 differs from 1.9.2 and jruby).  It made reviewing diffs very
painful, and since most ruby developers do not use the documentation
(preferring web documentation), it doesn't make sense to include them.

For most gem ports, a ruby 1.9 version can be built by using
the ruby19 FLAVOR, and a jruby version can be build using the jruby
FLAVOR.  These flavors modify the FULLPKGNAME to use either the
ruby19- or jruby- package stem, so you don't need to worry about
the ruby 1.8 package conflicting.

In most cases, you no longer need the PKGNAME set in the port
Makefile, as the FULLPKGNAME handling will take care of that for you.
Also, for pure ruby gems (without C extensions), PKG_ARCH = * is added
automatically.

Changes to all dependent ports will be committed shortly. For new
ruby ports, you need to make sure that gem dependencies are specified
like this (assuming they depend on the hoe gem):

  :${MODRUBY_PKG_PREFIX}-hoe-*:devel/ruby-hoe,${FLAVOR}

MODRUBY_PKG_PREFIX will be ruby for ruby 1.8 ports, ruby19 for ruby
1.9 ports, and jruby for jruby ports.  The ,${FLAVOR} part at the end
makes sure that dependencies use the same version of ruby that
the current port uses.

PLISTs are going to become a lot smaller with this.  However, any
binaries installed by the gem need to have a special string added.
For example, the minitar binary installed by
archivers/ruby-archive-tar-minitar looks like this in the PLIST:

  ${GEM_BIN}/minitar${GEM_BIN_SUFFIX}

The ${GEM_BIN_SUFFIX} needs to be added manually so the package
works on ruby 1.9, which installs the binaries with a 19 suffix.

GEM_SKIPDEPENDS has been removed and related support will be removed
from devel/ruby-gems.  To modify dependencies inside the gem, the gem
metadata is placed under WRKDIST and can be modified with the standard
patching procedure.

OK landry@
2010-11-08 23:20:43 +00:00
espie
00d34c49cc fix no_tk flavor, noticed by landry@ 2010-11-08 09:28:25 +00:00
espie
313bfd362c bad me, fix modules 2010-11-08 09:04:52 +00:00
espie
5e243a5257 convert WANTLIB on geo/lang 2010-11-07 19:12:42 +00:00
jeremy
375654af19 Fix build on a clean system and add a patch to make JRuby work with
more FFI libraries.

OK landry@, bernd@
2010-11-07 16:37:42 +00:00
espie
9fb7a3fc28 tk/tcl wantlib conversion 2010-11-06 22:06:57 +00:00
kili
54d54ba1f1 Fill in the `pkgpath' field of the libraries contained in ghc.
You'll now get sane output for all Haskell libraries. For example:

$ ghc-pkg field mtl pkgpath
pkgpath: lang/ghc
2010-11-06 19:11:43 +00:00
espie
632a3518ab move gettext to new WANTLIB 2010-11-06 16:07:00 +00:00
espie
dcdfee948c convert libiconv to new wantlib 2010-11-06 10:18:38 +00:00
kili
b87a6b50bf Tweak the pkgpath hack so it doesn't change the Cabal API. Unbreaks
hs-glib (and probably other stuff that uses the Cabal library).

Bump both -main and -doc (yes, really, -doc, too).

I hereby nominate myself for the HSMAUS (Homer Simpson Memorial
Award of Unlimited Stupidity).
2010-11-05 21:23:46 +00:00
kurt
ea183889cb Remove @symlink so this packages again. no pkg bump. 2010-11-04 16:54:14 +00:00
sthen
70ae306958 Add a prominent comment asking people to check/handle dependent
ports if they update this. Suggested by espie on ports@.
2010-11-04 13:45:10 +00:00
kili
b808903775 bumpski 2010-11-03 22:12:01 +00:00
kili
5d2959114a Add a `pkgpath' field to installed GHC libraries. Only applies to
libraries not coming together with ghc. This allows for looking up
a library's PKGPATH by running

        ghc-pkg field $pkgname pkgpath

where $pkgname is the GHC library name without the `hs-' prefix,
for example `ghc-paths'.

looks good to jasper@
2010-11-03 21:32:08 +00:00
kurt
c9c6b32dfc Correct UTHREAD_SP_OFFSET on i386 after layout change in struct
_machdep_state (last release). Fixes classpath build on i386.
2010-10-31 22:38:42 +00:00
naddy
8c7fcd5467 add the bits to actually support the alpha arch, but don't enable yet 2010-10-29 08:50:38 +00:00
jasper
7d9a103945 - regen plist after recent ghc.port.mk change
- adjust @exec/@unexec accordingly

"just go ahead" kili@
2010-10-28 13:51:00 +00:00
jasper
16d19cb348 Move things around a little bit for Haskell libraries (built with
cabal and without nort), to avoid collisions with other (non-Haskell)
ports;

- Documentation is installed as ${PREFIX}/share/doc/hs-$foo instead of
  ${PREFIX}/share/doc/$foo.

- The library itself (and its interface files) is installed as
  ${PREFIX}/lib/ghc/$foo instead of ${PREFIX}/lib/$foo.

- Additional files will be installed in ${PREFIX}/share/hs-$foo instead
  of ${PREFIX}/share/foo.

from kili@

depending port's plists will be adjusted in a few
2010-10-28 13:49:09 +00:00
fgsch
a7fd09db10 Simplify and switch to REVISION.
From Alexandr Shadchin (firstname dot lastname at gmail dot com).
martynas@ ok.
2010-10-28 08:22:11 +00:00
jeremy
b53b55b831 Update lang/jruby from 1.3.1 to 1.5.3. Numerous improvements including
performance increases and ruby 1.8.7 support. ffi support now works in
simple cases.  It now works on amd64 as well.  I'm taking over
maintenance from bernd@.

ok landry
2010-10-28 01:45:44 +00:00
sthen
d15e1ce121 Reorder the ifdefs so this works both with and without kvm_getprocs.
It didn't build on -current before, and no change on systems with
kvm_getprocs removed, so no need to bump.

Thanks naddy@ for report + build test.
2010-10-27 14:45:26 +00:00
jasper
1ae9ba4e27 - remove a bunch of useless variables
- cleanup REGRESS mess
- remove CFLAGS/LDFLAGS mess
- don't unconditionally strip the binary

please import new ports with an OK...
2010-10-27 09:36:34 +00:00
todd
90e4a636de +newlisp 2010-10-27 08:15:04 +00:00