Changeset 3173 for trunk/dports/games


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/games
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/fortune/Portfile

    r2401 r3173  
    1 # $Id: Portfile,v 1.12 2003/04/03 23:08:35 eric Exp $
     1# $Id: Portfile,v 1.13 2003/08/05 09:29:07 jkh Exp $
    22
    33PortSystem 1.0
     
    160160                  } }
    161161
    162 install         { cd ${worksrcpath}
     162destroot        { cd ${worksrcpath}
    163163                  system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    164164                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man6"
  • trunk/dports/games/geekcode/Portfile

    r3067 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/20 11:49:09 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:07 jkh Exp $
    22
    33PortSystem 1.0
     
    1818patchfiles      patch_Makefile
    1919configure       {}
    20 install         {system "/bin/cp ${worksrcpath}/geekcode ${destroot}${prefix}/bin/ "}
     20destroot        {system "/bin/cp ${worksrcpath}/geekcode ${destroot}${prefix}/bin/ "}
  • trunk/dports/games/larn/Portfile

    r2123 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/03 06:31:21 mij Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:07 jkh Exp $
    22
    33PortSystem 1.0
     
    2222                    ${worksrcpath}/pathnames.h }
    2323
    24 install         { cd ${worksrcpath}
     24destroot        { cd ${worksrcpath}
    2525                  system "install -o root -m 755 -d ${destroot}${prefix}/var/games/larn"
    2626                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man6"
  • trunk/dports/games/nethack/Portfile

    r2123 r3173  
    1 # $Id: Portfile,v 1.15 2003/03/03 06:31:21 mij Exp $
     1# $Id: Portfile,v 1.16 2003/08/05 09:29:08 jkh Exp $
    22
    33PortSystem 1.0
     
    1515patchfiles      patch-Makefile.top patch-Makefile.src
    1616worksrcdir      ${portname}-${portversion}
    17 install.target  manpages install
    18 install.args    PREFIX=${destroot}${prefix} MANDIR=${destroot}${prefix}/man/man6
     17destroot.target manpages install
     18destroot.args    PREFIX=${destroot}${prefix} MANDIR=${destroot}${prefix}/man/man6
    1919
    2020post-patch {
     
    3030configure {}
    3131
    32 pre-install {
     32pre-destroot {
    3333        system "mkdir -p -m 0755 \"${destroot}${prefix}/man/man6\""
    3434}
  • trunk/dports/games/netris/Portfile

    r2162 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/06 09:35:08 kevin Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:08 jkh Exp $
    22
    33PortSystem 1.0
     
    1515}
    1616
    17 install {
     17destroot {
    1818        system "install -cp -o root -g wheel -m 0555 ${worksrcpath}/netris ${destroot}/${prefix}/bin"
    1919        system "install -cp -o root -g wheel -m 0555 ${worksrcpath}/sr ${destroot}/${prefix}/bin"
  • trunk/dports/games/qthello/Portfile

    r2779 r3173  
    1 # $Id: Portfile,v 1.5 2003/06/12 10:46:03 landonf Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:08 jkh Exp $
    22
    33PortSystem 1.0
     
    3333build.target            all QTDIR=${prefix}
    3434
    35 install {
     35destroot {
    3636                        system "install -c -m 655 ${worksrcpath}/qthello ${destroot}${prefix}/bin/qthello"
    3737                        system "mkdir -p -m 655 ${destroot}${prefix}/share/${name}/gfx/"
  • trunk/dports/games/wtf/Portfile

    r2123 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 06:31:22 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:08 jkh Exp $
    22
    33PortSystem 1.0
     
    2020}
    2121
    22 install {
     22destroot {
    2323        cd ${worksrcpath}
    2424
  • trunk/dports/games/wump/Portfile

    r2123 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/03 06:31:22 mij Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:08 jkh Exp $
    22
    33PortSystem 1.0
     
    2020patchfiles      patch-wump.c
    2121
    22 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     22destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2323                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man6"
    2424                  system "install -o root -m 755 -d ${destroot}${prefix}/share/games"
  • trunk/dports/games/xboard/Portfile

    r2123 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 06:31:23 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:09 jkh Exp $
    22
    33PortSystem 1.0
     
    1818checksums       md5 1d6e38c61277eed6ad7af352586b37d5
    1919depends_lib     lib:libX11.6:XFree86 lib:libfreetype.6:freetype
    20 install.destroot        prefix=${destroot}${prefix}
     20destroot.vars   prefix=${destroot}${prefix}
    2121
    2222variant darwin {
  • trunk/dports/games/xracer/Portfile

    r2322 r3173  
    1 # $Id: Portfile,v 1.9 2003/03/18 05:59:51 mij Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:29:09 jkh Exp $
    22
    33PortSystem 1.0
     
    2929}
    3030
    31 post-install {
     31post-destroot {
    3232        system "rm -rf ${destroot}${prefix}/share/xracer/doc"
    3333        system "install -d ${destroot}${prefix}/share/doc"
Note: See TracChangeset for help on using the changeset viewer.