Commit Graph

2179 Commits

Author SHA1 Message Date
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
todd
513119e537 newLISP is a scripting language for developing web applications and
programs in general and in the domains of artificial intelligence (AI)
and statistics.

..from maintainer Ted Walther <ted@reactor-core.org>
2010-10-27 08:13:32 +00:00
jeremy
0e98598fbd Split library spec from MODRUBY_LIB_DEPENDS into MODRUBY_WANTLIB.
Also, if CONFIGURE_STYLE includes ext or extconf, update WANTLIB
and LIB_DEPENDS, and set SHARED_ONLY=Yes.  That configure style
is only used for ruby C extensions, which need those settings.
This cleans up a lot of ruby C extension ports, which will be
committed shortly.

ok landry, phessler, sthen
2010-10-26 21:14:24 +00:00
ajacoutot
85c163cf8d Maintainance update to vala-0.10.1. 2010-10-26 21:01:47 +00:00
sthen
48233a5e3f adjust ifdefs so the kinfo_proc2 support is used. ok robert@ 2010-10-26 17:30:38 +00:00
espie
6b4fb1c696 everytime I had a check, we find offenders... 2010-10-26 15:01:17 +00:00
ajacoutot
39407c46c2 Add a MODPY_BIN_ADJ variable for python shebang substitution. It will
automatically change from scripts from using /usr/bin/env python or
/usr/bin/python to using #!${MODPY_BIN} .
Add a MODPY_ADJ_FILES in which you can put the files that are under
${WRKSRC} you want to subtitute the shebang.
e.g.
MODPY_ADJ_FILES= setup.py bin/foobar.py.in


Some input from djm@
"sane idea to me" jasper, ok sthen@
2010-10-26 14:29:26 +00:00
jasper
70df37205b - zap typo in WANTLIB, no bump as it didn't build 2010-10-25 08:04:33 +00:00
sthen
3e1d5438da new lib_depends 2010-10-24 21:11:45 +00:00
sthen
f916ff61b1 new lib_depends/revision 2010-10-24 21:06:28 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
sthen
3b2bbaacc0 Add MODPY_WANTLIB, adjust MODPY_LIB_DEPENDS to new-style LIB_DEPENDS,
update all ports to match. Plists don't change -> no bump.
Looks ok to jasper.
2010-10-24 15:53:55 +00:00
sthen
d686e298c5 Add MODRUBY_RUNDEP and MODRUBY_BUILDDEP, modelled on python.port.mk.
ok jeremy@
2010-10-24 09:16:13 +00:00
naddy
8552d0520e install the mdoc source page and get rid of the cat page; ok matthieu 2010-10-23 21:49:06 +00:00
jasper
47fe5ca567 - remove deanna@ as maintainer after several tries and a very long timeout 2010-10-23 11:04:18 +00:00
naddy
c9bd1d7767 no need for groff, we explicitly use mandoc 2010-10-19 19:46:12 +00:00
ajacoutot
e3ee3f0207 Remove USE_X11=No, it's no needed. 2010-10-19 15:21:03 +00:00
sthen
0666992301 fix tabs 2010-10-18 21:50:38 +00:00
espie
88dd25abf4 USE_GROFF=Yes 2010-10-18 19:20:41 +00:00
jasper
b0a8cebee9 - use_x11 comes from gnome.port.mk now 2010-10-18 13:41:15 +00:00
robert
13e1377fd8 ${_SYSTRACE_CMD} is not needed here 2010-10-16 13:21:20 +00:00
jeremy
63f5f6710a Delete the binaries after installing them into the fake directory but
before copying the gem directory into the fake directory.  Fixes
update-plist adding files that shouldn't be in the resulting packages.

ok landry
2010-10-15 20:24:27 +00:00
robert
27b151facf Update to 2.8 2010-10-15 16:25:14 +00:00
robert
e653dbf40a Update to mono-2.8;
there might be some breakage but this is the good time to do the update
2010-10-15 16:21:07 +00:00
dcoppa
7cf12a1bb8 Rip out the gcc4 module now that src has gcc4
From Brad
2010-10-15 10:23:57 +00:00
jasper
05e5a031bb - use global MASTER_SITE_GCC 2010-10-14 08:03:46 +00:00
jeremy
8a77d5f794 Don't build C extensions inside gems during the fake stage, instead
build them during the build stage and install them during fake.

devel/ruby-gems doesn't have separate build and install commands, as
most gems are pure ruby code and don't need a separate build stage.
When ruby-gems is installing a gem with C extensions, it builds them
during the install.  Since installing is done during the fake stage,
this meant that the extensions were getting built as root.

Previously, this was required, as gem's --user-install option was
broken.  However, since that option has now been fixed, we use
it to install the gem to a temporary location as the current
user during build, and then mv and chown the files during fake.

Thanks to bernd@ for pointing out that the fixed --user-install
option allowed this.

ok landry
2010-10-12 16:03:41 +00:00
jeremy
71ecdc8e96 Modify FileUtils.mkdir_p to behave more like mkdir(1) -p. Instead of
attempting to create all intermediate directories and rescuing failures,
don't attempt to create directories that already exist.  Fixes systrace
warnings when building ruby ports.

ok landry
2010-10-12 15:39:06 +00:00
jasper
e34499f593 - fix WANTLIB after cairo update. 2010-10-11 08:11:24 +00:00
steven
1aaa7247bd +gfortran 2010-10-10 17:39:49 +00:00
steven
6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
meant to be used on archs that have gcc4 in base, this doesn't require a
full gcc build from ports, and provides libgfortran as a subpackage.

idea from espie some months ago.
2010-10-10 17:39:06 +00:00
jeremy
ea588ec908 Add MODRUBY_RUBY_ADJ and MODRUBY_ADJ_FILES. MODRUBY_RUBY_ADJ is a
perl command that accepts filename arguments and modifies the common
/usr/bin/env ruby shebang to ${RUBY}.  MODRUBY_ADJ_FILES is a short
cut that allows you to set filename patterns and have
MODRUBY_RUBY_ADJ called on all files in ${WRKSRC} that match that
pattern.  It adds a pre-configure action to do so, if a pre-configure
action is not already defined.  If a pre-configure action is already
defined, you can call the replacement command with
${MODRUBY_ADJ_REPLACE}.

ok sthen, landry
2010-10-07 17:48:53 +00:00
jeremy
3f369fe90e This adds an ugly hack to make gem install --user-install work
for gems with native extensions. Without this, it calls
/usr/bin/install -o root -g bin as a regular user, which fails due
to permission issues. This removes the -o root -g bin, so it can
succeed as a regular user.

This same patch was recently added to devel/ruby-gems, which is
specific to ruby 1.8.  ruby 1.9 ships with ruby-gems, so the
patch needs to be included here as well.

OK landry@
2010-10-06 18:43:11 +00:00
jasper
428afd3b2e - set ONLY_FOR_ARCHS to arches jamvm supports 2010-10-05 11:51:13 +00:00
kili
6d90113c52 New bootstrapping compiler (after libc update). 2010-10-04 09:37:25 +00:00
kili
b7615cf54f Zip MD2 support (fix after openssl update).
ok sthen@
2010-10-03 22:13:18 +00:00
ajacoutot
9bfe9801e2 Sync WANTLIB. 2010-10-01 05:23:52 +00:00
ajacoutot
21da929ec9 Fix DEPENDS after gtk+2 and gdk-pixbuf split.
ok jasper@
2010-09-30 07:21:18 +00:00
jasper
e017fb1bda - merge another PFRAG into PLIST 2010-09-29 17:14:13 +00:00
jasper
12e243ea6c - fix build on hppa 2010-09-28 20:48:04 +00:00
jeremy
82143f7987 Remove MASTER_SITES from most ruby gem ports, specify it in ruby.port.mk
All ruby .gem files are now hosted on rubygems.org in the same
directory.  If the ruby gem CONFIGURE_STYLE is used, make the
default MASTER_SITES that directory.

There are still a few uses of MASTER_SITE_RUBYFORGE in the tree, for
some ports that aren't gems, or where the .gem file isn't hosted on
rubygems.org, or where the hashes don't match.  Most of these will be
dealt with in the near future.

OK landry@
2010-09-28 20:12:16 +00:00
jasper
79370ddcd2 - revert patches after subst_cmd was ran sometime ago, so we have ${LIBTOOL} again 2010-09-28 18:33:06 +00:00
jasper
17a36fcebe - sigh, i swore i fixed this type already.. 2010-09-28 13:09:16 +00:00
jasper
a3b70f0360 - bump after gcc4 switch of mips64 2010-09-28 09:09:15 +00:00
jasper
7c9ea3f944 - update librep to 0.91.0
* all lisp files have to be byte-compiled again, as this release
brings an ABI change
- take maintainership
2010-09-27 14:43:38 +00:00
martynas
814a52ad6b switch master_sites to openbsddistfiles.com so that the ports are
fetchable again.  reported by hal.gi@t-online.de via miod@.
2010-09-26 20:08:11 +00:00
jasper
175942dc6d sync 2010-09-26 18:35:05 +00:00
jasper
33989ae8ab import haskell-src-exts 1.9.3
Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension
of the standard haskell-src package, and handles most registered
syntactic extensions to Haskell, including:

    * Multi-parameter type classes with functional dependencies
    * Indexed type families (including associated types)
    * Empty data declarations
    * GADTs
    * Implicit parameters
    * Template Haskell 

[..]

feedback/ok kili@
2010-09-26 18:34:28 +00:00
steven
b51b966cd1 summarize why it uses gnu libtool 2010-09-25 20:05:45 +00:00
steven
da6fadd030 indicate why we use gnu libtool 2010-09-25 18:25:35 +00:00
sebastia
507103ec99 Update expect to 5.44.1.15
switch from tcl/tk 8.4 to 8.5
take maintainership

after fixing the WANTLIB finally OK, landry@, sthen@, jasper@
2010-09-24 14:16:50 +00:00
jeremy
f19ae70951 Remove files that I checked out with -r HEAD 2010-09-23 22:04:13 +00:00
jeremy
3a030020ea Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled.  ruby 1.8
now installs as ruby18 and ruby 1.9 installs as ruby19.  The
included MESSAGE files for both ports let you know the symlinks to
set up if you want to make that version the default system ruby.

Split port originally started by bernd@, many changes since by me,
help and support from jcs@, landry@, jasper@, and sthen@.

This causes a large amount of fallout in dependent ruby ports,
which will be committed shortly.

OK jcs@, landry@, jasper@, sthen@
2010-09-23 21:58:50 +00:00
ajacoutot
08fbd4655e Update to vala-0.10.0.
ok jasper@
2010-09-23 14:15:37 +00:00
joshe
128680d7d9 Build on sparc64.
ok jasper@
2010-09-23 13:42:22 +00:00
jasper
681dbc4afb - fix URL 2010-09-23 12:26:37 +00:00
sthen
0d6d9cbdb4 Fix apostrophe's usage in comment. ok apostrophe.org.uk? 2010-09-23 12:23:54 +00:00
jasper
a9b88e32a8 - fix libtool usage and remove use_libtool=gnu. 2010-09-23 11:56:25 +00:00
jasper
fbe696e789 - append lang/ghc to CATEGORIES iff !nort
ok kili@
2010-09-22 22:09:53 +00:00
jasper
b63b6c45f4 - fix a variable name in comment
ok kili@
2010-09-22 22:02:38 +00:00
jasper
9a039107d3 - allow the erlang-mode to work by default by installing a missing file
ok joshe@
maintainer timed-out
2010-09-22 13:50:20 +00:00
jasper
6e6097e4ac - remove the BROKEN-mips64 markers after miod's recent softfloat commit,
python seems to be working well enough now.
2010-09-22 13:44:12 +00:00
landry
6613d9dada Add amd64 and sparc64 to NOT_FOR_ARCHS. espie@ has an update which will
hopefully fix that, but in the meantime less kittens are killed.
2010-09-22 07:24:42 +00:00
landry
07ae25f613 Use gnu libtool here as PLIST contains a funky symlink to libtool binary.
jasper@ said he'll look into it.
2010-09-22 06:52:14 +00:00
joshe
225f3da797 Update my email address. 2010-09-21 22:25:08 +00:00
landry
ce03327d74 Mark as broken on hppa. I'm tired to kill that f.. process after it ate
100% cpu for 2 days.
2010-09-20 18:02:47 +00:00
jasper
ef7febd8f7 - adjust after libffi update 2010-09-19 20:19:39 +00:00
kili
c3147d3ddd Add a @mandir marker to the plist, to get whatis.db
cleand up on pkg_delete.

Noticed and ok fgsch@
2010-09-19 12:52:49 +00:00
fgsch
64401fc28c - Add a MODPY_JSON var soon to be used by ports requiring simplejson when
built with python versions previous to 2.6.
- Simplify MODPY_BADEGGS.
- Fake setuptools if MODPY_SETUPTOOLS is not present to detect those ports
  that will build regardless but the resulting plist will be different.
Input, tested and ok by many, thanks!
2010-09-16 22:58:19 +00:00
fgsch
42c9e879be Update Python to 2.6.6. Tested by many.
sthen@ ok
2010-09-16 22:36:08 +00:00
fgsch
06cc1c44bb Update WANTLIB after ncurses update. While here remove unneeded pthread-stubs
and xcb from -tkinter.  With help from sthen@
2010-09-16 22:34:08 +00:00
ajacoutot
d25bd8856b Remove powerpc from mono supported arches.
It builds but there is no support for sigcontext and mono crashes right on
startup. No need to loose time building this...

input and ok robert@
2010-09-16 18:53:29 +00:00
kili
8836c64046 Pugs.Types defined an Eq instance for Control.Concurrent.STM.TMVar (from
the stm package), which is no longer possible, because TMVar is deriving
Eq now. So move the (somewhat crude)  comparision based on addressOf (which
comes from the hs-pugs-compat package) into Pugs.AST.Types, providing an
explicit Eq instance for VThread.

IMHO, instance declarations for standard type classes on types imported
from other Haskell packages are evil.

Breakage noticed by naddy@.

While here, update WANTLIB and bump.
2010-09-14 18:58:01 +00:00
jasper
ba9b762f6e Apply a SECURITY FIX from upstream ruby for a WEBrick HTTP server XSS
vulnerability (CVE-2010-0541).

from TAKAHASHI Kaoru
maintainer timed-out
2010-09-14 12:03:42 +00:00
sebastia
3fb3691099 Maintainer update of erlang to R13B04, and apache-couchdb to 0.11.0
OK landry@
2010-09-13 17:31:02 +00:00
naddy
7d44e4568d fix build with new libX11 Xdefs.h; ok jasper@ 2010-09-13 14:54:46 +00:00
kili
d8feb52c42 New bootstrapping tarballs after ncurses update.
Adjust WANTLIB and bump.
2010-09-10 18:10:00 +00:00