Changeset 3173 for trunk/dports/lang


Ignore:
Timestamp:
Aug 5, 2003, 9:29:45 AM (17 years ago)
Author:
jkh
Message:

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

Location:
trunk/dports/lang
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/clisp/Portfile

    r2605 r3173  
    1 # $Id: Portfile,v 1.3 2003/05/13 15:32:16 gwright Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:14 jkh Exp $
    22
    33PortSystem 1.0
     
    5151                }
    5252
    53 pre-install     { cd ${build.dir} }
     53pre-destroot    { cd ${build.dir} }
    5454
    5555
  • trunk/dports/lang/cm3/Portfile

    r3104 r3173  
    1 # $Id: Portfile,v 1.6 2003/07/30 22:56:29 fkr Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:14 jkh Exp $
    22PortSystem 1.0
    33name                    cm3
     
    6767}
    6868
    69 install {
     69destroot {
    7070    # create a link to cm3 (m3 compiler) in ${prefix}/cm3/bin
    7171    cd ${destroot}/${prefix}/cm3/bin/
  • trunk/dports/lang/g77/Portfile

    r2185 r3173  
    1 # $Id: Portfile,v 1.10 2003/03/08 18:56:03 michaelm Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:15 jkh Exp $
    22
    33PortSystem 1.0
     
    2626
    2727
    28 post-install   {
     28post-destroot   {
    2929                        cd ${destroot}/${prefix}/bin
    3030                        system "rm -f gcc gccbug cpp gcov"
  • trunk/dports/lang/guile/Portfile

    r2603 r3173  
    1 # $Id: Portfile,v 1.4 2003/05/13 15:30:02 gwright Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:15 jkh Exp $
    22
    33PortSystem 1.0
     
    4949                LDFLAGS=-L/opt/local/lib
    5050
    51 pre-install     { cd ${workpath}/${worksrcdir}/libguile-ltdl
     51pre-destroot    { cd ${workpath}/${worksrcdir}/libguile-ltdl
    5252                  system "../libtool install -c libguile-ltdl.la \
    5353                          ${prefix}/lib/libguile-ltdl.la"
  • trunk/dports/lang/hugs/Portfile

    r2604 r3173  
    1 # $Id: Portfile,v 1.2 2003/05/13 15:30:50 gwright Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:15 jkh Exp $
    22
    33PortSystem 1.0
     
    3232configure.dir   ${build.dir}/unix
    3333
    34 install.dir     ${build.dir}
     34destroot.dir    ${build.dir}
    3535
  • trunk/dports/lang/jikespg/Portfile

    r2738 r3173  
    1 # $Id: Portfile,v 1.1 2003/06/03 15:01:44 waqar Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:16 jkh Exp $
    22
    33PortSystem 1.0
     
    1919worksrcdir      ${name}/src
    2020configure       {}
    21 install         { system "cd ${worksrcpath} && install -m 555 \
     21destroot        { system "cd ${worksrcpath} && install -m 555 \
    2222                         ${name} ${destroot}${prefix}/bin/" }
  • trunk/dports/lang/lisp-hyperspec/Portfile

    r2607 r3173  
    1 # $Id: Portfile,v 1.3 2003/05/13 18:57:37 gwright Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:16 jkh Exp $
    22
    33PortSystem 1.0
     
    5151build           { }
    5252
    53 install         { file mkdir ${destroot}/${prefix}/share/doc/lisp/${name}-${version}
     53destroot        { file mkdir ${destroot}/${prefix}/share/doc/lisp/${name}-${version}
    5454                  cd ${destroot}/${prefix}/share/doc/lisp/${name}-${version}
    5555                  system "${extract.cmd} ${extract.pre_args} ${distpath}/${distfile} ${extract.post_args}"
  • trunk/dports/lang/nqc/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/03 06:57:42 mij Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:16 jkh Exp $
    22
    33PortSystem 1.0
     
    1818build.env       TARGET=macosx
    1919
    20 pre-install     { reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile }
     20pre-destroot     { reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile }
  • trunk/dports/lang/ocaml/Portfile

    r2793 r3173  
    1 # $Id: Portfile,v 1.8 2003/06/16 00:45:56 jpm Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:16 jkh Exp $
    22
    33PortSystem 1.0
     
    3131}
    3232build.target    world opt
    33 install.args    BINDIR=${destroot}/${prefix}/bin \
     33destroot.args   BINDIR=${destroot}/${prefix}/bin \
    3434        LIBDIR=${destroot}/${prefix}/lib/ocaml \
    3535        MANDIR=${destroot}/${prefix}/man/man1
  • trunk/dports/lang/openmcl/Portfile

    r2969 r3173  
    1 # $Id: Portfile,v 1.4 2003/06/27 18:20:25 gwright Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:16 jkh Exp $
    22
    33PortSystem 1.0
     
    3838                }
    3939
    40 install         { file mkdir ${destroot}/${prefix}/share/${name}/${version}
     40destroot        { file mkdir ${destroot}/${prefix}/share/${name}/${version}
    4141                  cd ${workpath}/ccl
    4242                  system "tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${version} && tar xf -)"
  • trunk/dports/lang/perl5.8/Portfile

    r2475 r3173  
    1 # $Id: Portfile,v 1.22 2003/04/15 17:52:00 michaelm Exp $
     1# $Id: Portfile,v 1.23 2003/08/05 09:29:17 jkh Exp $
    22
    33PortSystem 1.0
     
    3333
    3434# fix install variables
    35 post-install {
     35post-destroot {
    3636              cd ${destroot}/${prefix}/lib/perl5/${version}/${platform_dir}
    3737              system "cat Config.pm |sed s#${destroot}/##g  >Config.pm.new"
  • trunk/dports/lang/python/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/03 06:57:43 mij Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:17 jkh Exp $
    22
    33PortSystem 1.0
     
    1313checksums       md5 1c1067396e5aa0299978486eb5bd1a5c
    1414patchfiles      patch-unixccompiler.py
    15 install.destroot prefix=${destroot}${prefix}
     15destroot.vars prefix=${destroot}${prefix}
    1616
    1717
  • trunk/dports/lang/tcl/Portfile

    r2676 r3173  
    1 # $Id: Portfile,v 1.4 2003/05/23 19:10:54 landonf Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:17 jkh Exp $
    22
    33PortSystem 1.0
     
    1212worksrcdir              ${portname}${portversion}/unix
    1313checksums               md5 42fa43432a3a2a25d45c7f650c8f78c8
    14 install.destroot        INSTALL_ROOT=${destroot}
     14destroot.vars   INSTALL_ROOT=${destroot}
Note: See TracChangeset for help on using the changeset viewer.