Changeset 3173 for trunk/dports/science


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/science
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/hdf5/Portfile

    r3073 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/20 18:53:38 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:29 jkh Exp $
    22
    33PortSystem 1.0
     
    1313depends_lib     lib:zlib:zlib
    1414configure.args  --enable-cxx
    15 install.destroot        prefix=${destroot}${prefix}
     15destroot.vars        prefix=${destroot}${prefix}
    1616patchfiles      patch-commence.in patch-c-commence.in
  • trunk/dports/science/mapm3/Portfile

    r2787 r3173  
    1 # $Id: Portfile,v 1.8 2003/06/14 05:49:11 landonf Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:29 jkh Exp $
    22
    33PortSystem 1.0
     
    2828                        "${worksrcpath}/Makefile" }
    2929
    30 pre-install         { reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" \
     30pre-destroot         { reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" \
    3131                        "${worksrcpath}/Makefile"
    3232                       system "mkdir -p ${destroot}${prefix}/bin "
  • trunk/dports/science/rasmol/Portfile

    r2592 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/09 12:47:47 michaelm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:30 jkh Exp $
    22
    33PortSystem 1.0
     
    1818configure.pre_args
    1919build.target        rasmol
    20 install             { cd ${workpath}/${distname}
    21                      system "mkdir -p ${destroot}${prefix}/man/man1"
     20destroot             { cd ${workpath}/${distname}
     21                     file mkdir ${destroot}${prefix}/man/man1
    2222                     system "gunzip doc/rasmol.1"
    2323                     system "gunzip doc/manualA4.pdf"
     
    2525                     system "gunzip doc/refcardA4.pdf"
    2626                     system "cp doc/rasmol.1 ${destroot}${prefix}/man/man1"
    27                      system "mkdir -p ${destroot}${prefix}/bin"
     27                     file mkdir ${destroot}${prefix}/bin
    2828                     system "cp src/rasmol ${destroot}${prefix}/bin"
    29                      system "mkdir -p ${destroot}${prefix}/lib/rasmol"
     29                     file mkdir ${destroot}${prefix}/lib/rasmol
    3030                     system "cp doc/rasmol.hlp ${destroot}${prefix}/lib/rasmol"
    3131                     system "cp -r data  ${destroot}${prefix}/lib/rasmol"
Note: See TracChangeset for help on using the changeset viewer.