Changeset 3173 for trunk


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
Files:
1 added
248 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r2941 r3173  
    456456        # XXX: need a more general way of comparing against targets
    457457        set dlist {}
    458         if {$target == "configure" || $target == "build" || $target == "install" ||
    459                 $target == "package" || $target == "mpkg" || $target == "rpmpackage" } {
     458        if {$target == "configure" || $target == "build"
     459                || $target == "destroot" || $target == "install"
     460                || $target == "package" || $target == "mpkg"
     461                || $target == "rpmpackage" } {
    460462
    461463                if {[dportdepends $dport 1 1] != 0} {
  • trunk/base/src/port1.0/Makefile

    r2999 r3173  
    33SRCS= port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl           \
    44        portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl \
    5         portinstall.tcl portdepends.tcl portinstall.tcl portuninstall.tcl   \
     5        portinstall.tcl portdepends.tcl portdestroot.tcl                    \
     6        portinstall.tcl portuninstall.tcl                                   \
    67        portdepends.tcl portclean.tcl portpackage.tcl portcontents.tcl      \
    78        portmpkg.tcl portrpmpackage.tcl
  • trunk/base/src/port1.0/port.tcl

    r2731 r3173  
    4040package require portconfigure 1.0
    4141package require portbuild 1.0
     42package require portdestroot 1.0
    4243package require portinstall 1.0
    4344package require portuninstall 1.0
  • trunk/base/src/port1.0/portinstall.tcl

    r2941 r3173  
    3636target_runtype ${com.apple.install} always
    3737target_provides ${com.apple.install} install
    38 target_requires ${com.apple.install} main fetch extract checksum patch configure build
     38target_requires ${com.apple.install} main fetch extract checksum patch configure build destroot
    3939target_prerun ${com.apple.install} install_start
    40 target_postrun ${com.apple.install} install_registry
    41 
    42 # define options
    43 options install.target install.destroot build.target.install
    44 commands install
    45 
    46 # Set defaults
    47 default install.dir {${build.dir}}
    48 default install.cmd {${build.cmd}}
    49 default install.pre_args {${install.target}}
    50 default install.target install
    51 default install.post_args {${install.destroot}}
    52 default install.destroot {DESTDIR=${destroot}}
    5340
    5441set UI_PREFIX "---> "
    5542
    5643proc install_start {args} {
    57     global UI_PREFIX prefix portname destroot portresourcepath os.platform
     44    global UI_PREFIX portname
    5845
    5946    ui_msg "$UI_PREFIX [format [msgcat::mc "Installing %s"] ${portname}]"
    60        
    61         # some things break with this, some things break without,
    62         # probably should be an option portfiles can toggle.
    63         #system "rm -Rf \"${destroot}\""
    64 
    65         file mkdir "${destroot}"
    66         if { ${os.platform} == "darwin" } {
    67                 system "cd \"${destroot}\" && mtree -d -e -U -f ${portresourcepath}/install/macosx.mtree"
    68         }
    69         file mkdir "${destroot}/${prefix}"
    70         system "cd \"${destroot}/${prefix}\" && mtree -d -e -U -f ${portresourcepath}/install/prefix.mtree"
    7147}
    7248
     
    137113
    138114proc install_main {args} {
    139     system "[command install]"
    140     return 0
    141 }
    142 
    143 proc install_registry {args} {
    144115    global portname portversion portpath categories description long_description homepage depends_run installPlist package-install uninstall workdir worksrcdir prefix UI_PREFIX destroot
    145 
    146     # Prune empty directories in ${destroot}
    147     catch {system "find \"${destroot}\" -depth -type d -print | xargs rmdir 2>/dev/null"}
    148116
    149117    # Install ${destroot} contents into /
     
    195163    return $p
    196164}
    197 
  • trunk/dports/archivers/sharutils/Portfile

    r3048 r3173  
    1 # $Id: Portfile,v 1.3 2003/07/18 18:49:13 fkr Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:28:57 jkh Exp $
    22
    33PortSystem 1.0
     
    1414depends_lib             lib:libintl:gettext
    1515configure.args          --with-gnu-gettext
    16 install.args            prefix=${destroot}/${prefix}
     16destroot.args           prefix=${destroot}/${prefix}
  • trunk/dports/archivers/tgzdrop/Portfile

    r3099 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/30 19:47:03 waqar Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:28:57 jkh Exp $
    22PortSystem 1.0
    33name            tgzdrop
     
    1919build.type      pbx
    2020build.target
    21 install         { system "install -d ${destroot}/Applications/DarwinPorts \
     21destroot        { system "install -d ${destroot}/Applications/DarwinPorts \
    2222                && ditto -rsrcFork \
    2323                ${worksrcpath}/Project\\ Builder\\ Files/build/tgzdrop.app \
    2424                ${destroot}/Applications/DarwinPorts/tgzdrop.app" }
    25 install.target
    26 
     25destroot.target
  • trunk/dports/archivers/unrar/Portfile

    r2533 r3173  
    2323build.type              gnu
    2424
    25 install {
    26         system "install -d ${destroot}/${prefix}/bin"
    27         system "install -d ${destroot}/${prefix}/share/doc/${name}"
     25destroot {
     26        file mkdir ${destroot}/${prefix}/bin
     27        file mkdir ${destroot}/${prefix}/share/doc/${name}
    2828        system "install ${worksrcpath}/${name} \
    2929                ${destroot}/${prefix}/bin/${name}"
     
    3434}
    3535
    36 install.destroot        prefix=${destroot}/${prefix}
    37 
     36destroot.vars   prefix=${destroot}/${prefix}
  • trunk/dports/archivers/unzip/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 07:14:58 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:34 jkh Exp $
    22
    33PortSystem 1.0
     
    2323build.target   
    2424build.args     -f unix/Makefile macosx
    25 install.args   -f unix/Makefile install BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
     25destroot.args   -f unix/Makefile install BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
    2626
    2727long_description \
  • trunk/dports/archivers/zip/Portfile

    r2510 r3173  
    1 # $Id: Portfile,v 1.4 2003/04/19 12:08:25 fkr Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:35 jkh Exp $
    22
    33PortSystem 1.0
     
    2323build.target     
    2424build.args        -f unix/Makefile generic
    25 install.args      -f unix/Makefile BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
     25destroot.args      -f unix/Makefile BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
    2626
    2727variant puredarwin      { configure {   cd ${worksrcpath}
  • trunk/dports/archivers/zlib/Portfile

    r2299 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/17 06:55:41 landonf Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:28:57 jkh Exp $
    22# This port installs only a static archive for zlib, which is not
    33# included by default with OS X
     
    2020checksums               md5 ea16358be41384870acbdc372f9db152
    2121use_bzip2               yes
    22 pre-install             "file mkdir ${destroot}/${prefix}/"
    23 install.destroot        prefix=${destroot}/${prefix}/
     22pre-destroot            "file mkdir ${destroot}/${prefix}/"
     23destroot.vars   prefix=${destroot}/${prefix}/
  • trunk/dports/audio/ample/Portfile

    r3077 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/21 10:30:50 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:28:57 jkh Exp $
    22
    33PortSystem 1.0
     
    2020checksums       md5 2eabccb52ffbe6a73cf5e2b672ebc3f0
    2121
    22 install.destroot prefix=${destroot}${prefix}
     22destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/audio/mp3info/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.3 2003/03/03 06:10:42 mij Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:28:57 jkh Exp $
    22
    33PortSystem 1.0
     
    2020configure       { cd ${worksrcpath}
    2121                  reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile }
    22 install.target  install-mp3info
     22destroot.target install-mp3info
    2323
    2424variant x11 {
    2525        depends_lib-append      lib:libgtk.1:gtk
    2626        build.target            all
    27         install.target          install
     27        destroot.target         install
    2828}
  • trunk/dports/audio/mpg123/Portfile

    r2479 r3173  
    1 # $Id: Portfile,v 1.8 2003/04/15 21:24:12 landonf Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:28:58 jkh Exp $
    22
    33PortSystem 1.0
     
    2626build.args      LDFLAGS=-L${prefix}/lib \
    2727        CPPFLAGS=-I${prefix}/include
    28 install.destroot        PREFIX=${destroot}/${prefix}
     28destroot.vars   PREFIX=${destroot}/${prefix}
    2929
    3030variant darwin {
  • trunk/dports/audio/vorbis-tools/Portfile

    r2479 r3173  
    1 # $Id: Portfile,v 1.6 2003/04/15 21:24:13 landonf Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:28:58 jkh Exp $
    22
    33PortSystem 1.0
     
    3434#build.env LDFLAGS="-lpth"
    3535configure.args --disable-ogg123
    36 install.destroot prefix=${destroot}${prefix}
     36destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/comms/kermit/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 06:12:17 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:28:58 jkh Exp $
    22
    33PortSystem 1.0
     
    4545}
    4646
    47 pre-install { system "install -d ${destroot}${prefix}/bin"
     47pre-destroot { system "install -d ${destroot}${prefix}/bin"
    4848              system "install -d ${destroot}${prefix}/man/man1"
    4949              system "install -d ${destroot}${prefix}/share/kermit"
  • trunk/dports/comms/scud/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.17 2003/03/03 06:12:17 mij Exp $
     1# $Id: Portfile,v 1.18 2003/08/05 09:28:58 jkh Exp $
    22
    33PortSystem 1.0
     
    1616build.type      bsd
    1717build.args      PREFIX=${prefix}
    18 install.destroot        PREFIX=${destroot}${prefix}
     18destroot.vars   PREFIX=${destroot}${prefix}
    1919
  • trunk/dports/databases/db3/Portfile

    r3056 r3173  
    1818                --program-transform-name=s,^db,db3,
    1919
    20 install.destroot  prefix=${destroot}${prefix} includedir=${destroot}${prefix}/include/db3 \
     20destroot.vars  prefix=${destroot}${prefix} includedir=${destroot}${prefix}/include/db3 \
    2121                  docdir=${destroot}${prefix}/share/${name}-${version}/
    2222
     
    2525                 and is based on the db4 port.
    2626
    27 post-install   { system "cd '${destroot}${prefix}/bin/'
     27post-destroot   { system "cd '${destroot}${prefix}/bin/'
    2828                      mv db_archive db3_archive
    2929                      mv db_dump db3_dump
  • trunk/dports/databases/db4/Portfile

    r2992 r3173  
    1 # $Id: Portfile,v 1.14 2003/07/01 11:53:28 michaelm Exp $
     1# $Id: Portfile,v 1.15 2003/08/05 09:28:58 jkh Exp $
    22
    33PortSystem 1.0
     
    2323}
    2424
    25 install.destroot  prefix=${destroot}${prefix} \
     25destroot.vars  prefix=${destroot}${prefix} \
    2626                    includedir=${destroot}${prefix}/include/db4 \
    2727                    docdir=${destroot}${prefix}/share/${name}-${version}/
    2828
    29 post-install   { system "rm '${destroot}${prefix}/lib/libdb.a'
     29post-destroot   { system "rm '${destroot}${prefix}/lib/libdb.a'
    3030                      rm '${destroot}${prefix}/lib/libdb.dylib'
    3131                      rm '${destroot}${prefix}/lib/libdb_cxx.a'
  • trunk/dports/databases/gdbm/Portfile

    r2463 r3173  
    1 # $Id: Portfile,v 1.10 2003/04/14 15:47:49 fkr Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:28:59 jkh Exp $
    22
    33PortSystem 1.0
     
    2222patchfiles      patch-Makefile.in
    2323
    24 install.args    prefix=${destroot}/${prefix}
     24destroot.args   prefix=${destroot}/${prefix}
  • trunk/dports/databases/mysql/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.28 2003/03/03 06:13:24 mij Exp $
     1# $Id: Portfile,v 1.29 2003/08/05 09:28:59 jkh Exp $
    22
    33PortSystem 1.0
     
    3737                        --without-bench
    3838
    39 pre-install             { system "install -o root -m 755 -d ${dbdir}" }
     39pre-destroot            { system "install -o root -m 755 -d ${dbdir}" }
    4040
    4141variant server  {
    4242        depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
    4343
    44         post-install {
     44        post-destroot {
    4545                addgroup mysql
    4646                set gid [existsgroup mysql]
  • trunk/dports/databases/mysqltcl/Portfile

    r2682 r3173  
    1 # $Id: Portfile,v 1.10 2003/05/24 19:43:25 mij Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:28:59 jkh Exp $
    22
    33PortSystem 1.0
     
    1717configure.env   LDFLAGS=-L${prefix}/lib/mysql/ CPPFLAGS=-I${prefix}/include/mysql/
    1818configure.args  --prefix=${destroot}${prefix}
    19 install.destroot
     19destroot.vars
  • trunk/dports/databases/openldap/Portfile

    r3057 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/19 21:45:03 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:28:59 jkh Exp $
    22
    33PortSystem 1.0
     
    6363}
    6464
    65 pre-install {
     65pre-destroot {
    6666        # should be in pre-deploy....
    6767        addgroup ldap
     
    7070}
    7171
    72 post-install {
     72post-destroot {
    7373        file mkdir ${destroot}${prefix}/var/run
    7474        system "install -o ldap -g ldap -m 700 -d ${destroot}${prefix}/var/run/openldap-data"
  • trunk/dports/databases/postgresql/Portfile

    r2354 r3173  
    1 # $Id: Portfile,v 1.24 2003/03/24 18:23:54 michaelm Exp $
     1# $Id: Portfile,v 1.25 2003/08/05 09:28:59 jkh Exp $
    22
    33PortSystem 1.0
     
    4141                 depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
    4242
    43                  post-install {
     43                 post-destroot {
    4444                     set dbdir ${prefix}/var/db/pgsql/defaultdb
    4545
  • trunk/dports/databases/sqlite/Portfile

    r3069 r3173  
    1 # $Id: Portfile,v 1.9 2003/07/20 16:58:25 fkr Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:28:59 jkh Exp $
    22
    33PortSystem 1.0
     
    2323worksrcdir      sqlite
    2424
    25 install.destroot prefix=${destroot}${prefix}
     25destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/devel/apache-ant/Portfile

    r2512 r3173  
    1 # $Id: Portfile,v 1.10 2003/04/19 16:04:44 jpm Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:00 jkh Exp $
    22
    33PortSystem              1.0
     
    2828configure { }
    2929
    30 install {
     30destroot {
    3131        set path        ${destroot}${prefix}/java/
    3232
    33         system "install -d ${path}"
    34         system "install -d ${destroot}${prefix}/bin"
     33        file mkdir ${path}
     34        file mkdir ${destroot}${prefix}/bin
    3535        system "cd ${worksrcpath}; cp -R ${name} ${path}"
    3636        system "rm ${path}${name}/bin/*.bat"
  • trunk/dports/devel/atk/Portfile

    r2988 r3173  
    1 # $Id: Portfile,v 1.11 2003/06/29 20:43:21 mij Exp $
     1# $Id: Portfile,v 1.12 2003/08/05 09:29:00 jkh Exp $
    22
    33PortSystem 1.0
     
    3131configure.args  --disable-gtk-doc
    3232
    33 post-install    { system "ln -fs libatk-1.0.0.200.4.dylib \
     33post-destroot   { system "ln -fs libatk-1.0.0.200.4.dylib \
    3434                    ${destroot}${prefix}/lib/libatk.1.dylib" }
  • trunk/dports/devel/boehmgc/Portfile

    r3032 r3173  
    1 # $Id: Portfile,v 1.3 2003/07/11 21:34:43 waqar Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:00 jkh Exp $
    22
    33PortSystem 1.0
     
    2323                --enable-parallel-mark \
    2424                --enable-cplusplus
    25 post-install {  system "mkdir -p ${destroot}${prefix}/include/gc"
     25post-destroot {  system "mkdir -p ${destroot}${prefix}/include/gc"
    2626                system "cd ${worksrcpath} && install -m 444 \
    2727                include/gc.h ${destroot}${prefix}/include/gc" }
  • trunk/dports/devel/ccache/Portfile

    r2192 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/09 04:31:55 ranger Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:00 jkh Exp $
    22
    33PortSystem 1.0
     
    1616checksums       md5 3b98afe5e966ccd37f4d2b102d6ac8ac
    1717
    18 post-install    {
     18post-destroot   {
    1919                system "cd ${destroot}${prefix}/bin; \
    2020                ln -fs ${prefix}/bin/ccache ${destroot}${prefix}/bin/cc; \
  • trunk/dports/devel/class-dump/Portfile

    r2991 r3173  
    1 # $Id: Portfile,v 1.2 2003/06/30 23:19:58 macdome Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:00 jkh Exp $
    22
    33PortSystem 1.0
     
    2222build.cmd       pbxbuild
    2323build.target
    24 install.destroot
     24destroot.vars
    2525
    26 install {       system "cd ${worksrcpath} && install -m 555 \
     26destroot {      system "cd ${worksrcpath} && install -m 555 \
    2727                        build/class-dump ${destroot}${prefix}/bin/" }
  • trunk/dports/devel/colordiff/Portfile

    r2582 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/05 10:16:36 landonf Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:01 jkh Exp $
    22PortSystem 1.0
    33name                    colordiff
     
    1616build.type              bsd
    1717build                   {}
    18 install.args            INSTALL_DIR=${destroot}/${prefix}/bin \
     18destroot.args           INSTALL_DIR=${destroot}/${prefix}/bin \
    1919                        MAN_DIR=${destroot}/${prefix}/man/man1 \
    2020                        ETC_DIR=${destroot}/${prefix}/etc
  • trunk/dports/devel/cook/Portfile

    r3080 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/21 18:03:30 waqar Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:01 jkh Exp $
    22
    33PortSystem    1.0
     
    2222}
    2323
    24 pre-install {
     24pre-destroot {
    2525              system "install -d ${destroot}${prefix}/bin"
    2626              system "install -d ${destroot}${prefix}/man/man1"
  • trunk/dports/devel/ctags/Portfile

    r2406 r3173  
    1 # $Id: Portfile,v 1.9 2003/04/04 14:49:19 fkr Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:29:01 jkh Exp $
    22
    33PortSystem 1.0
     
    3333configure.args  --enable-macro-patterns --disable-etags
    3434
    35 install {
     35destroot {
    3636        system "install -d -m 755 ${destroot}${prefix}/bin"
    3737        system "install -d -m 755 ${destroot}${prefix}/lib/ctags"
  • trunk/dports/devel/cups-headers/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 06:18:03 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:01 jkh Exp $
    22
    33PortSystem 1.0
     
    1919                        }
    2020
    21 install                 {
     21destroot                {
    2222                                system "install -d -m 755 '${destroot}${prefix}/bin'"
    2323                                system "install -c -m 755 '${workpath}/${worksrcdir}/cups-config' '${destroot}${prefix}/bin/'cups-config"
  • trunk/dports/devel/cvsdiff2patch/Portfile

    r2819 r3173  
    1 # $Id: Portfile,v 1.1 2003/06/17 00:17:48 landonf Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:01 jkh Exp $
    22PortSystem 1.0
    33name                    cvsdiff2patch
     
    1919build.type              bsd
    2020
    21 # Override Makefile install target
    22 install {
     21# Override Makefile destroot target
     22destroot {
    2323        system "install -c -s -m 555  ${worksrcpath}/cvsdiff2patch ${destroot}/${prefix}/bin"
    2424}
  • trunk/dports/devel/cvsweb/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/03 06:18:03 mij Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:01 jkh Exp $
    22
    33PortSystem 1.0
     
    3939        }
    4040       
    41         install {
    42                 system "install -d ${destroot}${cgi_path}"
    43                 system "install -d ${destroot}${httpd_conf_path}"
     41        destroot {
     42                file mkdir ${destroot}${cgi_path}
     43                file mkdir ${destroot}${httpd_conf_path}
    4444                system "install -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}"
    4545                system "install -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}"
     
    5757        }
    5858
    59         install {
    60                 system "install -d ${destroot}${cgi_path}"
    61                 system "install -d ${destroot}${httpd_conf_path}"
     59        destroot {
     60                file mkdir ${destroot}${cgi_path}
     61                file mkdir ${destroot}${httpd_conf_path}
    6262                system "install -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}"
    6363                system "install -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}"
  • trunk/dports/devel/flawfinder/Portfile

    r3112 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/31 22:12:11 waqar Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:02 jkh Exp $
    22
    33PortSystem      1.0
     
    1919build.cmd       make
    2020build.target
    21 install.destroot
    22 install      { system "cd ${worksrcpath} && install -o root -m 555 \
     21destroot.vars
     22destroot      { system "cd ${worksrcpath} && install -o root -m 555 \
    2323                     ${name} ${destroot}${prefix}/bin/"
    2424               system "cd ${worksrcpath} && install -o root -m 444 \
  • trunk/dports/devel/gettext/Portfile

    r3156 r3173  
    1 # $Id: Portfile,v 1.18 2003/08/04 02:09:41 eric Exp $
     1# $Id: Portfile,v 1.19 2003/08/05 09:29:02 jkh Exp $
    22
    33PortSystem 1.0
     
    4343                  configure.env-append  CPPFLAGS="-no-cpp-precomp" }
    4444
    45 post-install    { system "rm -f ${destroot}${prefix}/lib/charset.alias" }
     45post-destroot   { system "rm -f ${destroot}${prefix}/lib/charset.alias" }
    4646
  • trunk/dports/devel/glib/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.17 2003/03/03 06:18:04 mij Exp $
     1# $Id: Portfile,v 1.18 2003/08/05 09:29:02 jkh Exp $
    22
    33PortSystem 1.0
     
    3535configure.args  --disable-static
    3636
    37 post-install    { system "ln -sf libglib-1.2.0.0.10.dylib \
     37post-destroot   { system "ln -sf libglib-1.2.0.0.10.dylib \
    3838                    ${destroot}${prefix}/lib/libglib.1.dylib"
    3939                  system "ln -sf libgmodule-1.2.0.0.10.dylib \
  • trunk/dports/devel/glib2/Portfile

    r3089 r3173  
    1 # $Id: Portfile,v 1.13 2003/07/24 04:28:07 jkh Exp $
     1# $Id: Portfile,v 1.14 2003/08/05 09:29:02 jkh Exp $
    22
    33PortSystem 1.0
     
    3838variant puredarwin { depends_run bin:perl:perl5.8 }
    3939
    40 post-install    { system "ln -fs libglib-2.0.0.200.2.dylib \
     40post-destroot   { system "ln -fs libglib-2.0.0.200.2.dylib \
    4141                    ${destroot}${prefix}/lib/libglib.2.dylib"
    4242                  system "ln -fs libgmodule-2.0.0.200.2.dylib \
  • trunk/dports/devel/gmp/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/03 06:18:04 mij Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:02 jkh Exp $
    22
    33PortSystem 1.0
     
    2222checksums       md5 d6afbdf7e02615fa16867896ce0e03d3
    2323
    24 install.destroot  prefix=${destroot}${prefix}
     24destroot.vars  prefix=${destroot}${prefix}
    2525#Clearly won't work properly until we have a post-deploy procedure
    26 post-install    { system "ranlib ${destroot}${prefix}/lib/libgmp.a"
     26post-destroot   { system "ranlib ${destroot}${prefix}/lib/libgmp.a"
    2727                  ui_info "Execute sudo ranlib ${prefix}/lib/libgmp.a"}
  • trunk/dports/devel/jam/Portfile

    r3002 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/03 22:26:11 waqar Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:02 jkh Exp $
    22PortSystem          1.0
    33name                jam
     
    3131
    3232# Installation.
    33 install             {
    34         system "install -d ${destroot}${prefix}/bin"
    35         system "install -d ${destroot}${prefix}/share/doc/${name}"
     33destroot             {
     34        file mkdir ${destroot}${prefix}/bin
     35        file mkdir ${destroot}${prefix}/share/doc/${name}
    3636        system "install -m 755 ${worksrcpath}/bin.macosxppc/jam ${destroot}${prefix}/bin/"
    3737        system "install -m 755 ${worksrcpath}/bin.macosxppc/mkjambase ${destroot}${prefix}/bin/"
     
    5151                            patch-variable.c.diff
    5252
    53             install {
    54               system "install -d ${destroot}${prefix}/bin"
    55               system "install -d ${destroot}${prefix}/share/doc/${name}"
     53        destroot {
     54              file mkdir ${destroot}${prefix}/bin
     55              file mkdir ${destroot}${prefix}/share/doc/${name}
    5656              system "install -m 755 ${worksrcpath}/bin.macosxppc/g/jam ${destroot}${prefix}/bin/"
    5757              system "install -m 755 ${worksrcpath}/bin.macosxppc/g/mkjambase ${destroot}${prefix}/bin/"
  • trunk/dports/devel/libcipher/Portfile

    r2370 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/26 22:44:45 eric Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:03 jkh Exp $
    22
    33PortSystem 1.0
     
    1818build.env       LDADD=-install_name\\ ${prefix}/lib/libcipher.1.dylib
    1919
    20 install         { cd ${worksrcpath}
     20destroot        { cd ${worksrcpath}
    2121                  system "install -o root -m 755 -d ${destroot}${prefix}/lib"
    2222                  system "install -o root -m 755 -c libcipher.1.dylib \
     
    2424                  system "ln -sf libcipher.1.dylib \
    2525                    ${destroot}${prefix}/lib/libcipher.dylib" }
    26 
  • trunk/dports/devel/libproplist/Portfile

    r2272 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/14 23:38:32 mij Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:03 jkh Exp $
    22
    33PortSystem 1.0
     
    3232post-build      { system "cc -dynamiclib -install_name ${prefix}/lib/libPropList.${libver}.dylib -compatibility_version ${libver} ${worksrcpath}/.libs/libPropList.a -o ${worksrcpath}/.libs/libPropList.${libver}.dylib" }
    3333
    34 post-install    { system "install -o root -m 644 ${worksrcpath}/.libs/libPropList.${libver}.dylib ${destroot}${prefix}/lib" }
     34post-destroot   { system "install -o root -m 644 ${worksrcpath}/.libs/libPropList.${libver}.dylib ${destroot}${prefix}/lib" }
  • trunk/dports/devel/m4/Portfile

    r2641 r3173  
    4040
    4141configure.args  --prefix=${prefix}
    42 install.destroot   prefix=${destroot}${prefix}
     42destroot.vars   prefix=${destroot}${prefix}
  • trunk/dports/devel/netinet-headers/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.9 2003/03/03 06:18:06 mij Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:29:03 jkh Exp $
    22
    33PortSystem 1.0
     
    2121configure               {}
    2222build                   {}
    23 install                 { system "mkdir -p ${destroot}${prefix}/include/netinet && \
     23destroot                { system "mkdir -p ${destroot}${prefix}/include/netinet && \
    2424                                    cp ${workpath}/${worksrcdir}/netinet/* ${destroot}${prefix}/include/netinet/"
    2525                                }
  • trunk/dports/devel/openssl/Portfile

    r3150 r3173  
    1 # $Id: Portfile,v 1.3 2003/08/04 01:43:53 eric Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:03 jkh Exp $
    22
    33PortSystem 1.0
     
    2424configure.args          --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
    2525
    26 install.destroot        INSTALL_PREFIX=${destroot}
    27 install.args            MANDIR=${prefix}/man
     26destroot.vars   INSTALL_PREFIX=${destroot}
     27destroot.args           MANDIR=${prefix}/man
    2828
    2929variant darwin  {
  • trunk/dports/devel/otest/Portfile

    r2363 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/25 16:12:15 michaelm Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:03 jkh Exp $
    22
    33PortSystem 1.0
     
    2525
    2626build.target
    27 install                         {system "cd ${worksrcpath} && ditto -v build/otest \
     27destroot                        {system "cd ${worksrcpath} && ditto -v build/otest \
    2828                                           ${destroot}${prefix}/bin/otest "}
    29 
  • trunk/dports/devel/pccts/Portfile

    r2617 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/14 23:54:22 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    2323configure       {}
    2424build.target
    25 install {       system "mkdir -p ${destroot}${prefix}/bin"
    26                 system "mkdir -p ${destroot}${prefix}/man/man1"
     25destroot {      file mkdir ${destroot}${prefix}/bin
     26                file mkdir ${destroot}${prefix}/man/man1
    2727                system "cd ${worksrcpath}/bin && install -m 555 antlr \
    2828                        ${destroot}${prefix}/bin"
  • trunk/dports/devel/perforce/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.14 2003/03/03 06:18:07 mij Exp $
     1# $Id: Portfile,v 1.15 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    2424configure       {}
    2525build           {}
    26 install         { cd ${worksrcpath}
     26destroot        { cd ${worksrcpath}
    2727                  system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2828                  system "install -o root -m 755 -d ${destroot}${prefix}/sbin"
     
    3939depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
    4040
    41         post-install {
     41        post-destroot {
    4242                addgroup perforce
    4343                set gid [existsgroup perforce]
  • trunk/dports/devel/poll-emulator/Portfile

    r2191 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/09 04:29:34 ranger Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    1616build.pre_args  PREFIX=${prefix}
    1717
    18 install         { cd ${worksrcpath}
     18destroot        { cd ${worksrcpath}
    1919                  system "make PREFIX=${destroot}${prefix} install" }
    2020
  • trunk/dports/devel/popt/Portfile

    r2273 r3173  
    1 # $Id: Portfile,v 1.9 2003/03/14 23:38:50 kevin Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    2222configure.args  --mandir=${prefix}/share/man
    2323
    24 install.args    localedir=${prefix}/share/locale
     24destroot.args   localedir=${prefix}/share/locale
    2525
    2626checksums       md5 5988e7aeb0ae4dac8d83561265984cc9
  • trunk/dports/devel/pyxml/Portfile

    r2473 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/15 13:47:29 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    3737build.cmd                       python setup.py build --with-libexpat=${prefix}
    3838
    39 install.args            --prefix=${destroot}${prefix}
    40 install.destroot        {}
    41 install.cmd                     python setup.py
     39destroot.args           --prefix=${destroot}${prefix}
     40destroot.vars   {}
     41destroot.cmd                    python setup.py
    4242
    43 post-install {
     43post-destroot {
    4444        # remind user to define/add installed path to python path
    4545        # copied from the twisted port file
  • trunk/dports/devel/ruby-cocoa/Portfile

    r2479 r3173  
    1 # $Id: Portfile,v 1.7 2003/04/15 21:24:13 landonf Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    2323build.args      setup
    2424
    25 pre-install    { reinplace "s|\$install-prefix|${destroot}${prefix}|g" ${worksrcpath}/config.save }
     25pre-destroot    { reinplace "s|\$install-prefix|${destroot}${prefix}|g" ${worksrcpath}/config.save }
    2626
    27 install.destroot
    28 install.cmd     ruby install.rb
     27destroot.vars
     28destroot.cmd    ruby install.rb
    2929
    3030
  • trunk/dports/devel/senfoundation/Portfile

    r2363 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/25 16:12:14 michaelm Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:05 jkh Exp $
    22
    33PortSystem 1.0
     
    2222build.target   
    2323
    24 install                         {system "cd ${worksrcpath} && ditto -v build/SenFoundation.framework \
     24destroot                        {system "cd ${worksrcpath} && ditto -v build/SenFoundation.framework \
    2525                                           ${destroot}/Library/Frameworks/SenFoundation.framework "}
    26 
  • trunk/dports/devel/sentestingkit/Portfile

    r2363 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/25 16:12:15 michaelm Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:05 jkh Exp $
    22
    33PortSystem 1.0
     
    2525build.target                   
    2626
    27 install                         {system "cd ${worksrcpath} && ditto -v build/SenTestingKit.framework \
     27destroot                        {system "cd ${worksrcpath} && ditto -v build/SenTestingKit.framework \
    2828                                           ${destroot}/Library/Frameworks/SenTestingKit.framework "}
    2929
  • trunk/dports/devel/shikenjo/Portfile

    r2363 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/25 16:12:15 michaelm Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:05 jkh Exp $
    22
    33PortSystem 1.0
     
    2323
    2424build.target
    25 install                         {system "cd ${worksrcpath} && ditto -v build/Shikenjo.app \
     25destroot                        {system "cd ${worksrcpath} && ditto -v build/Shikenjo.app \
    2626                                           ${destroot}/Applications/Shikenjo.app "}
    2727
  • trunk/dports/devel/slib/Portfile

    r3076 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/21 09:16:23 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:05 jkh Exp $
    22
    33PortSystem 1.0
     
    2424use_configure       no
    2525build.target        srcdir.mk
    26 install.destroot    prefix=${destroot}${prefix}
     26destroot.vars    prefix=${destroot}${prefix}
  • trunk/dports/devel/twisted/Portfile

    r3042 r3173  
    1 # $Id: Portfile,v 1.10 2003/07/14 21:55:39 fkr Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:05 jkh Exp $
    22
    33PortSystem 1.0
     
    2727build           {}
    2828build.cmd       python setup.py install --prefix=${destroot}${prefix}
    29 install.destroot        {}
    30 post-install {
     29destroot.vars   {}
     30post-destroot {
    3131        # remind user to define/add installed path to python path
    3232        ui_msg "\nbe sure the install path is included in your python path:"
  • trunk/dports/devel/viewcvs/Portfile

    r2410 r3173  
    1 # $Id: Portfile,v 1.8 2003/04/05 04:27:42 jpm Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:05 jkh Exp $
    22
    33PortSystem 1.0
     
    3636build           {}
    3737build.cmd       ./viewcvs-install
    38 post-install {
     38post-destroot {
    3939       
    4040        switch ${os.platform} {
  • trunk/dports/editors/TeXmacs/Portfile

    r2268 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/13 23:04:15 gwright Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:06 jkh Exp $
    22
    33PortSystem 1.0
     
    4242build.target
    4343
    44 post-install    { system "mv ${destroot}${prefix}/bin/texmacs \
     44post-destroot   { system "mv ${destroot}${prefix}/bin/texmacs \
    4545                             ${destroot}${prefix}/bin/texmacs.bin"
    4646                  set script [open "${destroot}${prefix}/bin/texmacs" w 755]
  • trunk/dports/editors/bvi/Portfile

    r2397 r3173  
    2121configure.type          gnu
    2222configure.args          --datadir=${destroot}/${prefix}/share/${name}
    23 install.destroot        prefix=${destroot}/${prefix}
     23destroot.vars   prefix=${destroot}/${prefix}
  • trunk/dports/editors/elvis/Portfile

    r2188 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/08 22:43:18 michaelm Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:06 jkh Exp $
    22
    33PortSystem 1.0
     
    2020                       configure.args-append --with-x }
    2121
    22 pre-install { cd ${worksrcpath}
     22pre-destroot { cd ${worksrcpath}
    2323              reinplace s|/usr/man/man.1|${destroot}${prefix}/man/man1| \
    2424              instman.sh
     
    2828            }
    2929
    30 install.destroot  BINDIR=${destroot}${prefix}/bin \
     30destroot.vars  BINDIR=${destroot}${prefix}/bin \
    3131                  LIBDIR=${destroot}${prefix}/share/elvis \
    3232
  • trunk/dports/editors/emacs/Portfile

    r2123 r3173  
    1 # $Id: Portfile,v 1.17 2003/03/03 06:28:58 mij Exp $
     1# $Id: Portfile,v 1.18 2003/08/05 09:29:06 jkh Exp $
    22
    33PortSystem 1.0
     
    1616checksums       md5 f4b58e5c2d923fc92495e0c2f167c5db
    1717configure.args  --without-x
    18 install.args    prefix=${destroot}/${prefix}
     18destroot.args   prefix=${destroot}/${prefix}
    1919
    2020variant darwin {
     
    4242        configure.args-append   --prefix=${workpath}/build
    4343        patchfiles              macosx-patch
    44         install.target          install-mac
    45         install {
     44        destroot.target         install-mac
     45        destroot {
    4646                system "mkdir -p ${destroot}/Applications"
    4747                system "cd ${workpath}/emacs && make install-mac && \
  • trunk/dports/editors/jove/Portfile

    r2311 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/17 22:34:22 michaelm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:06 jkh Exp $
    22
    33PortSystem 1.0
     
    1919
    2020checksums       md5 38ebd64355a99b0d007aaef17b0d00b1
    21 install.destroot JOVEHOME=${destroot}${prefix}
     21destroot.vars JOVEHOME=${destroot}${prefix}
    2222long_description        \
    2323Jove is a simple text editor in the spirit of GNU emacs, but somewhat \
  • trunk/dports/editors/nvi/Portfile

    r3088 r3173  
    1 # $Id: Portfile,v 1.6 2003/07/23 22:16:03 jkh Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:06 jkh Exp $
    22
    33PortSystem 1.0
     
    2222
    2323build.target    {}
    24 install.destroot prefix=${destroot}/${prefix}/
     24destroot.vars prefix=${destroot}/${prefix}/
    2525variant         x11 { configure.args-append --with-x }
  • trunk/dports/editors/vimdrop/Portfile

    r3098 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/30 19:40:59 waqar Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:07 jkh Exp $
    22PortSystem 1.0
    33name            vimdrop
     
    2121build.type      pbx
    2222build.target
    23 install         { system "install -d ${destroot}/Applications/DarwinPorts \
     23destroot        { system "install -d ${destroot}/Applications/DarwinPorts \
    2424                && ditto -rsrcFork \
    2525                ${worksrcpath}/Project\\ Builder\\ Files/build/vimdrop.app \
    2626                ${destroot}/Applications/DarwinPorts/vimdrop.app" }
    27 install.target
    28 
     27destroot.target
  • trunk/dports/editors/xemacs/Portfile

    r2210 r3173  
    1 # $Id: Portfile,v 1.3 2003/03/10 18:05:16 jkh Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:07 jkh Exp $
    22
    33PortSystem 1.0
     
    1515master_sites    http://ftp.xemacs.org/xemacs-21.5/
    1616checksums       md5 e635927faef194979d60ab671676262e
    17 install.args    prefix=${destroot}/${prefix}
     17destroot.args   prefix=${destroot}/${prefix}
  • trunk/dports/emulators/spim/Portfile

    r2300 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/17 06:53:22 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:07 jkh Exp $
    22
    33PortSystem 1.0
     
    2222build.target    spim xspim
    2323build.args      BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/man/ TRAP_DIR=${prefix}/share/spim/
    24 pre-install     { system "mkdir -p ${destroot}${prefix}/share/spim" }
    25 install.target  install install.man
     24pre-destroot     { system "mkdir -p ${destroot}${prefix}/share/spim" }
     25destroot.target  install install.man
    2626
    2727
  • 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"
  • trunk/dports/graphics/gd/Portfile

    r2347 r3173  
    1 # $Id: Portfile,v 1.13 2003/03/22 01:01:28 michaelm Exp $
     1# $Id: Portfile,v 1.14 2003/08/05 09:29:09 jkh Exp $
    22
    33PortSystem 1.0
     
    3232                      -current_version ${libver} -all_load libgd.a -L${prefix}/lib -lpng -lz -ljpeg" }
    3333
    34 install.args PREFIX=${destroot}/${prefix}
    35 pre-install     { system "install -d ${destroot}/${prefix}/bin"
     34destroot.args PREFIX=${destroot}/${prefix}
     35pre-destroot    { system "install -d ${destroot}/${prefix}/bin"
    3636                  system "install -d ${destroot}/${prefix}/man/man1"
    3737                  system "install -d ${destroot}/${prefix}/include"
     
    3939
    4040
    41 post-install    { system "rm ${destroot}/${prefix}/lib/libgd.a"
     41post-destroot   { system "rm ${destroot}/${prefix}/lib/libgd.a"
    4242                                  system "install ${worksrcpath}/libgd.${libver}.dylib \
    4343                                    ${destroot}/${prefix}/lib/libgd.${libver}.dylib"
  • trunk/dports/graphics/gimp/Portfile

    r3155 r3173  
    1 # $Id: Portfile,v 1.17 2003/08/04 01:57:16 eric Exp $
     1# $Id: Portfile,v 1.18 2003/08/05 09:29:09 jkh Exp $
    22
    33PortSystem 1.0
     
    2929configure.post_args     --without-mng --disable-print
    3030
    31 post-install    { system "rm ${destroot}${prefix}/bin/gimp"
     31post-destroot   { system "rm ${destroot}${prefix}/bin/gimp"
    3232                  set script [open "${destroot}${prefix}/bin/gimp" w 0755]
    3333                  puts $script "#!/bin/sh"
     
    3636                  puts $script "${prefix}/bin/gimp-1.2 --no-shm --no-xshm"
    3737                  close $script }
    38 install.destroot prefix=${destroot}${prefix}
     38destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/graphics/glut/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.10 2003/03/03 06:53:20 mij Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:09 jkh Exp $
    22
    33PortSystem 1.0
     
    2626}
    2727
    28 install {
     28destroot {
    2929        file mkdir ${destroot}/${prefix}/include/GL
    3030        file mkdir ${destroot}/${prefix}/lib
  • trunk/dports/graphics/jpeg/Portfile

    r2310 r3173  
    1 # $Id: Portfile,v 1.21 2003/03/17 22:18:52 michaelm Exp $
     1# $Id: Portfile,v 1.22 2003/08/05 09:29:09 jkh Exp $
    22
    33PortSystem 1.0
     
    1414configure.args      --enable-shared --enable-static
    1515patchfiles          patch-config.sub patch-config.guess patch-ltmain.sh patch-ltconfig
    16 install.destroot    prefix=${destroot}${prefix}
    17 pre-install     { system "install -d ${destroot}${prefix}/bin"
     16destroot.vars    prefix=${destroot}${prefix}
     17pre-destroot    { system "install -d ${destroot}${prefix}/bin"
    1818                  system "install -d ${destroot}${prefix}/man/man1"
    1919                  system "install -d ${destroot}${prefix}/include"
  • trunk/dports/graphics/lcms/Portfile

    r2954 r3173  
    1 # $Id: Portfile,v 1.6 2003/06/23 00:36:09 jkh Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:10 jkh Exp $
    22
    33PortSystem 1.0
     
    2222                  reinplace s|XXPREFIX|${prefix}| src/Makefile }
    2323
    24 install.destroot BASEDIR=${destroot}${prefix}
     24destroot.vars BASEDIR=${destroot}${prefix}
  • trunk/dports/graphics/libungif/Portfile

    r2946 r3173  
    1 # $Id: Portfile,v 1.14 2003/06/22 03:55:55 landonf Exp $
     1# $Id: Portfile,v 1.15 2003/08/05 09:29:10 jkh Exp $
    22
    33PortSystem 1.0
     
    3434variant x11     { configure.args {} }
    3535
    36 post-install    { system "rm ${destroot}${prefix}/lib/libungif.a"
     36post-destroot   { system "rm ${destroot}${prefix}/lib/libungif.a"
    3737                  system "rm ${destroot}${prefix}/lib/libungif.la" }
  • trunk/dports/graphics/pict2pdf/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 06:53:23 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:10 jkh Exp $
    22
    33PortSystem 1.0
     
    1616build.args      PREFIX=${prefix}
    1717
    18 install         { cd ${worksrcpath}
     18destroot        { cd ${worksrcpath}
    1919                  system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2020                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man1"
  • trunk/dports/graphics/pngcrush/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/03 06:53:23 mij Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:10 jkh Exp $
    22
    33PortSystem 1.0
     
    2727configure       {}
    2828build           { system "cd '${worksrcpath}' && make -f Makefile.gcc" }
    29 install         { system "cd '${worksrcpath}' && \
     29destroot        { system "cd '${worksrcpath}' && \
    3030                  install -d '${destroot}${prefix}/bin' && \
    3131                  install '${name}' '${destroot}${prefix}/bin'"
  • trunk/dports/graphics/tgif/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 06:53:23 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:11 jkh Exp $
    22
    33PortSystem 1.0
     
    2121}
    2222
    23 pre-install {
     23pre-destroot {
    2424        set path "${worksrcpath}"
    2525        reinplace "s|${prefix}|${destroot}${prefix}|g" "${path}/Makefile"
  • trunk/dports/graphics/tiff/Portfile

    r3155 r3173  
    1 # $Id: Portfile,v 1.11 2003/08/04 01:57:17 eric Exp $
     1# $Id: Portfile,v 1.12 2003/08/05 09:29:11 jkh Exp $
    22
    33PortSystem 1.0
     
    3939                --noninteractive
    4040
    41 install.destroot
     41destroot.vars
    4242build.env       DESTDIR=${destroot}
    4343install.env     DESTDIR=${destroot}
     
    5050                  -ljpeg -lz" }
    5151
    52 pre-install     "file mkdir ${destroot}/${prefix}"
     52pre-destroot    "file mkdir ${destroot}/${prefix}"
    5353
    54 post-install    { system "rm ${destroot}/${prefix}/lib/libtiff.a"
     54post-destroot   { system "rm ${destroot}/${prefix}/lib/libtiff.a"
    5555                  cd ${worksrcpath}/libtiff
    5656                  system "install -m 755 -d ${destroot}/${prefix}/lib"
  • trunk/dports/irc/bitchx/Portfile

    r3047 r3173  
    1 # $Id: Portfile,v 1.8 2003/07/17 17:38:59 fkr Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:11 jkh Exp $
    22
    33PortSystem 1.0
     
    2525                patch-names.c patch-source_server.c \
    2626                patch-caf-evilserver patch-Makefile.in
    27 install.args    prefix=${destroot}/${prefix}
     27destroot.args   prefix=${destroot}/${prefix}
  • trunk/dports/irc/blackened/Portfile

    r3072 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/20 17:48:59 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:12 jkh Exp $
    22
    33PortSystem 1.0
     
    2222patchfiles      patch-Makefile.in
    2323
    24 post-install    { system "ln -fs blackened-1.8.1 ${destroot}${prefix}/bin/blackened" }
     24post-destroot   { system "ln -fs blackened-1.8.1 ${destroot}${prefix}/bin/blackened" }
    2525
    26 install.args    prefix=${destroot}${prefix}
     26destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/irc/bnc/Portfile

    r2616 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/14 23:30:20 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:12 jkh Exp $
    22
    33PortSystem 1.0
     
    1818worksrcdir      ${name}${version}       
    1919build.target   
    20 install {       system "cd ${worksrcpath} && \
     20destroot {      system "cd ${worksrcpath} && \
    2121                install -s bnc ${destroot}${prefix}/bin && \
    2222                install -s bncchk ${destroot}${prefix}/bin && \
  • trunk/dports/irc/epic/Portfile

    r2483 r3173  
    1 # $Id: Portfile,v 1.17 2003/04/16 06:42:25 eric Exp $
     1# $Id: Portfile,v 1.18 2003/08/05 09:29:13 jkh Exp $
    22
    33PortSystem 1.0
     
    3030patchfiles      patch-Makefile.in
    3131
    32 install.args    prefix=${destroot}${prefix}
     32destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/irc/infobot/Portfile

    r3156 r3173  
    1 # $Id: Portfile,v 1.17 2003/08/04 02:09:43 eric Exp $
     1# $Id: Portfile,v 1.18 2003/08/05 09:29:13 jkh Exp $
    22
    33PortSystem 1.0
     
    1717configure       {}
    1818build           {}
    19 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     19destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2020                  set script [open "${prefix}/bin/infobot" w 0755]
    2121                  puts $script "#!/bin/sh"
  • trunk/dports/irc/thirdeye/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 06:55:20 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:13 jkh Exp $
    22
    33PortSystem 1.0
     
    2121depends_run     bin:epic:epic
    2222
    23 install         { system "install -o root -m 755 -d \
     23destroot        { system "install -o root -m 755 -d \
    2424                    ${destroot}${prefix}/share/thirdeye/user"
    2525                  system "cp ${workpath}/README.te ${destroot}${prefix}/share/thirdeye"
  • trunk/dports/irc/tkirc/Portfile

    r2125 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 06:55:20 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:13 jkh Exp $
    22
    33PortSystem 1.0
     
    2121}
    2222
    23 install {
     23destroot {
    2424        system "install -d ${destroot}${prefix}/bin"
    2525        system "install -d ${destroot}${prefix}/share/doc/tkirc/examples"
  • 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}
  • trunk/dports/mail/courier-imap/Portfile

    r3054 r3173  
    7575
    7676
    77 install {
     77destroot {
    7878        system "cd ${workpath}/${worksrcdir}"
    7979        system "make install DESTDIR=${destroot}"
     
    8181}
    8282
    83 post-install {
     83post-destroot {
    8484        file mkdir ${destroot}${prefix}/var/run
    8585        file mkdir ${destroot}${prefix}/etc/rc.d
  • trunk/dports/mail/exim/Portfile

    r2832 r3173  
    1 # $Id: Portfile,v 1.14 2003/06/18 00:44:48 fkr Exp $
     1# $Id: Portfile,v 1.15 2003/08/05 09:29:17 jkh Exp $
    22
    33PortSystem 1.0
     
    3535
    3636adduser ${exim_user} gid=[existsgroup mail] }
    37 install.destroot ROOT=${destroot}
     37destroot.vars ROOT=${destroot}
    3838
    39 post-install {  system "install -o root -m 755 -d ${prefix}/share/exim"
     39post-destroot {  system "install -o root -m 755 -d ${prefix}/share/exim"
    4040                 cd ${worksrcpath}
    4141                 system "cp -R doc/ ${prefix}/share/exim"
  • trunk/dports/mail/gbuffy/Portfile

    r2274 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/14 23:39:45 mij Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:18 jkh Exp $
    22
    33PortSystem 1.0
     
    2020configure.env   LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include"
    2121
    22 install.args    prefix=${destroot}${prefix}
     22destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/mail/hypermail/Portfile

    r2559 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/28 11:04:54 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:18 jkh Exp $
    22PortSystem      1.0
    33name            hypermail
     
    3838                --without-gdbm
    3939
    40 install.args    prefix=${destroot}/${prefix}
    41 pre-install {   system "mkdir -p ${destroot}/${prefix}/share/doc/hypermail/images" }
     40destroot.args   prefix=${destroot}/${prefix}
     41pre-destroot {   system "mkdir -p ${destroot}/${prefix}/share/doc/hypermail/images" }
    4242
    4343variant gdbm {  depends_lib     lib:libgdbm:gdbm
  • trunk/dports/mail/imap-uw/Portfile

    r2723 r3173  
    1 # $Id: Portfile,v 1.5 2003/06/02 00:36:53 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:18 jkh Exp $
    22
    33PortSystem 1.0
     
    2626                          build.args SSLTYPE=unix }
    2727
    28 install         { system "install -m 755 -d ${destroot}${prefix}/sbin"
     28destroot        { system "install -m 755 -d ${destroot}${prefix}/sbin"
    2929                  system "install -m 755 -d ${destroot}${prefix}/bin"
    3030                  system "install -m 755 -d ${destroot}${prefix}/man/man8"
  • trunk/dports/mail/pine/Portfile

    r3101 r3173  
    1 # $Id: Portfile,v 1.10 2003/07/30 22:14:19 fkr Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:18 jkh Exp $
    22
    33PortSystem 1.0
     
    3131set docinst     "install -o root -m 644"
    3232
    33 install         { system "${inst} -d ${destroot}${prefix}/bin"
     33destroot        { system "${inst} -d ${destroot}${prefix}/bin"
    3434                  system "${inst} -d ${destroot}${prefix}/man/man1"
    3535                  system "${inst} -d ${destroot}${prefix}/share/doc/${portname}-${portversion}"
  • trunk/dports/mail/postfix/Portfile

    r3160 r3173  
    1 # $Id: Portfile,v 1.12 2003/08/04 15:07:07 fkr Exp $
     1# $Id: Portfile,v 1.13 2003/08/05 09:29:18 jkh Exp $
    22
    33PortSystem      1.0
     
    5555depends_run     path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
    5656
    57 install {
     57destroot {
    5858        adduser postfix realname=Postfix\ Server
    5959        addgroup postdrop
    6060        cd ${worksrcpath}
    61         system "install -d ${destroot}${prefix}/bin"
    62         system "install -d ${destroot}${prefix}/etc/postfix"
    63         system "install -d ${destroot}${prefix}/etc/rc.d"
    64         system "install -d ${destroot}${prefix}/libexec"
    65         system "install -d ${destroot}${prefix}/sbin"
    66         system "install -d ${destroot}${prefix}/man"
    67         system "install -d ${destroot}${prefix}/share/postfix"
     61        file mkdir ${destroot}${prefix}/bin
     62        file mkdir ${destroot}${prefix}/etc/postfix
     63        file mkdir ${destroot}${prefix}/etc/rc.d
     64        file mkdir ${destroot}${prefix}/libexec
     65        file mkdir ${destroot}${prefix}/sbin
     66        file mkdir ${destroot}${prefix}/man
     67        file mkdir ${destroot}${prefix}/share/postfix
    6868        system "install -d -g postdrop ${destroot}${prefix}/var/spool/postfix/public"
    6969        system "install -d -g postdrop ${destroot}${prefix}/var/spool/postfix/maildrop"
  • trunk/dports/mail/procmail/Portfile

    r3006 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/04 09:34:58 michaelm Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:19 jkh Exp $
    22PortSystem 1.0
    33name            procmail
     
    3838}
    3939build.args              BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp
    40 install.args    BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp install-suid
     40destroot.args   BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp install-suid
    4141
    4242long_description   \
  • trunk/dports/math/acl2/Portfile

    r2606 r3173  
    1 # $Id: Portfile,v 1.2 2003/05/13 15:47:54 gwright Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:19 jkh Exp $
    22
    33PortSystem 1.0
     
    7575                }
    7676
    77 install         { file mkdir ${destroot}/${prefix}/share/${name}/${version}
     77destroot        { file mkdir ${destroot}/${prefix}/share/${name}/${version}
    7878                  cd ${workpath}/${name}-${version}
    7979                  system "tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${version} && tar xf - )"
    8080                }
    8181
    82 post-install    { set script [open "${destroot}${prefix}/bin/acl2" w 755]
     82post-destroot   { set script [open "${destroot}${prefix}/bin/acl2" w 755]
    8383                  puts $script "#!/bin/sh"
    8484                  puts $script "openmcl --eval \"(acl2::lp)\" --image-name ${prefix}/share/${name}/${version}/saved_acl2"
  • trunk/dports/math/gnuplot/Portfile

    r2787 r3173  
    1 # $Id: Portfile,v 1.5 2003/06/14 05:49:09 landonf Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:19 jkh Exp $
    22
    33PortSystem 1.0
     
    2121        CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
    2222configure.args  --with-readline=gnu --with-gd --without-x
    23 install.destroot prefix=${destroot}${prefix}
     23destroot.vars prefix=${destroot}${prefix}
    2424
    2525variant x11 {
  • trunk/dports/math/maxima/Portfile

    r2602 r3173  
    1 # $Id: Portfile,v 1.3 2003/05/13 15:29:20 gwright Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:19 jkh Exp $
    22
    33PortSystem 1.0
     
    4848                build.target    all dvi
    4949
    50                 pre-install     { system "install -d -m 755 ${destroot}/${prefix}/share/${name}/${version}/doc/dvi"
     50                pre-destroot    { system "install -d -m 755 ${destroot}/${prefix}/share/${name}/${version}/doc/dvi"
    5151                                  system "install -c -m 644 ${workpath}/${worksrcdir}/doc/info/maxima.dvi ${destroot}/${prefix}/share/${name}/${version}/doc/dvi"
    5252                                }
  • trunk/dports/net/ASFRecorder/Portfile

    r2539 r3173  
    2222build           {cd ${workpath}/${name}/source;
    2323                  system "cc -o ${name} asfrecorder.c"}
    24 install         {cd ${workpath}/${name}/source;
     24destroot        {cd ${workpath}/${name}/source;
    2525                  system "install -c ASFRecorder ${destroot}/${prefix}/bin"}
  • trunk/dports/net/airport/Portfile

    r2300 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/17 06:56:22 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:20 jkh Exp $
    22
    33PortSystem 1.0
     
    1414configure               {}     
    1515
    16 install                 { cd ${worksrcpath}
     16destroot                { cd ${worksrcpath}
    1717                          system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    1818                          system "install -o root -m 555 ${name} ${destroot}${prefix}/bin" }
  • trunk/dports/net/argus/Portfile

    r2451 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/11 07:26:41 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:20 jkh Exp $
    22
    33PortSystem 1.0
     
    1616master_sites    ftp://qosient.com/pub/argus/src/
    1717checksums       md5 76ae6e86a59af2e7f61e746ad2df3e54
    18 install.destroot mandir=${destroot}${prefix}/man \
     18destroot.vars mandir=${destroot}${prefix}/man \
    1919        prefix=${destroot}${prefix}
  • trunk/dports/net/autossh/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 07:09:27 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:20 jkh Exp $
    22
    33PortSystem 1.0
     
    1717configure       {}
    1818build.target    -f Makefile.apple
    19 install         { cd ${worksrcpath}
     19destroot        { cd ${worksrcpath}
    2020                  system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2121                  system "install -o root -m 555 autossh ${destroot}${prefix}/bin"
  • trunk/dports/net/bind9/Portfile

    r2553 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/27 15:57:26 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:20 jkh Exp $
    22
    33PortSystem 1.0
     
    2525}
    2626
    27 post-install    {
     27post-destroot   {
    2828        file mkdir ${destroot}${prefix}/etc/rc.d/
    2929        file mkdir ${destroot}${prefix}/var/run/
  • trunk/dports/net/cvsup/Portfile

    r2308 r3173  
    1 # $Id: Portfile,v 1.3 2003/03/17 20:30:01 landonf Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:20 jkh Exp $
    22
    33PortSystem 1.0
     
    1717checksums               md5 253e773eb9d213f9bf3ce12acef184e8
    1818
    19 # Mark install target as .PHONY because HFS+ case insensitivity
     19# Mark destroot.target as .PHONY because HFS+ case insensitivity
    2020# screws us over yet again.
    2121patchfiles              patch-Makefile
     
    2525                        ${worksrcpath}/suplib/src/m3makefile"
    2626build.args              PREFIX=${prefix} M3=cm3 M3FLAGS=-DNOGUI\\ -DSTATIC
    27 install.args            PREFIX=${destroot}/${prefix}/ M3=cm3
     27destroot.args           PREFIX=${destroot}/${prefix}/ M3=cm3
    2828
    2929# Add ${prefix}/cm3/bin to our path
  • trunk/dports/net/cvsync/Portfile

    r3024 r3173  
    2323                     CVSYNCD_DEFAULT_CONFIG=${prefix}/etc/cvsyncd.conf \
    2424                     PREFIX=${destroot}${prefix}
    25 install.args     HASH_TYPE=openssl \
     25destroot.args     HASH_TYPE=openssl \
    2626                     CVSYNC_DEFAULT_CONFIG=${prefix}/etc/cvsync.conf \
    2727                     CVSYNCD_DEFAULT_CONFIG=${prefix}/etc/cvsyncd.conf \
     
    3030                   ${worksrcpath}/cvsyncd/defs.h }
    3131
    32 post-install     { system "install -d -g admin -m 755 \
     32post-destroot     { system "install -d -g admin -m 755 \
    3333                       ${destroot}${prefix}/share/doc/${name}"
    3434                   system "install -C -g admin -m 644 \
  • trunk/dports/net/fetch/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.21 2003/03/03 07:09:29 mij Exp $
     1# $Id: Portfile,v 1.22 2003/08/05 09:29:21 jkh Exp $
    22
    33PortSystem 1.0
     
    1717build.args      CFLAGS+=-I${prefix}/include LDADD+=-L${prefix}/lib\\ -lfetch
    1818
    19 install         { cd ${workpath}/${worksrcdir}
     19destroot        { cd ${workpath}/${worksrcdir}
    2020                  system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2121                  system "install -o root -m 555 fetch ${destroot}${prefix}/bin"
  • trunk/dports/net/ipcheck/Portfile

    r3083 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/23 06:14:45 ssen Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:21 jkh Exp $
    22PortSystem 1.0
    33name            ipcheck
     
    2828build.cmd       true
    2929
    30 install.destroot        ${destroot}${prefix}
     30destroot.vars   ${destroot}${prefix}
    3131
    32 post-install    { system "install -m 755 ${worksrcpath}/ipcheck.205 \
     32post-destroot   { system "install -m 755 ${worksrcpath}/ipcheck.205 \
    3333                                ${destroot}${prefix}/bin/ipcheck" }
    3434
  • trunk/dports/net/jabber/Portfile

    r2314 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/18 03:06:14 jpm Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:21 jkh Exp $
    22
    33PortSystem 1.0
     
    1616configure.env   CPPFLAGS=-no-cpp-precomp
    1717build.type  gnu
    18 install {
    19         system "install -d ${destroot}${prefix}/etc"
    20         system "install -d ${destroot}${prefix}/lib"
    21         system "install -d ${destroot}${prefix}/sbin"
    22         system "install -d ${destroot}${prefix}/man"
     18destroot {
     19        file mkdir ${destroot}${prefix}/etc
     20        file mkdir ${destroot}${prefix}/lib
     21        file mkdir ${destroot}${prefix}/sbin
     22        file mkdir ${destroot}${prefix}/man
    2323        system "install -o root -m 755 ${worksrcpath}/jabberd/jabberd ${destroot}${prefix}/sbin"
    2424               
     
    4949}
    5050
    51 
    5251variant ssl {
    5352        depends_lib-append      lib:libssl.0.9:openssl
  • trunk/dports/net/libfetch/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.21 2003/03/03 07:09:33 mij Exp $
     1# $Id: Portfile,v 1.22 2003/08/05 09:29:21 jkh Exp $
    22
    33PortSystem 1.0
     
    1717set libver      3
    1818build.env       LDADD=-install_name\\ ${prefix}/lib/libfetch.${libver}.dylib
    19 install         { cd ${workpath}/${worksrcdir}
     19destroot        { cd ${workpath}/${worksrcdir}
    2020                  system "install -o root -m 755 -d ${destroot}${prefix}/lib"
    2121                  system "install -o root -m 644 -c libfetch.${libver}.dylib \
  • trunk/dports/net/libnids/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.9 2003/03/03 07:09:33 mij Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:29:22 jkh Exp $
    22
    33PortSystem 1.0
     
    2323        reinplace "s|@install_prefix@|${destroot}|g" "${worksrcpath}/src/Makefile.in"
    2424}
    25 post-install {
     25post-destroot {
    2626        system "ranlib ${destroot}${prefix}/lib/libnids.a"
    2727}
  • trunk/dports/net/mdnsd/Portfile

    r2393 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/02 07:12:38 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:22 jkh Exp $
    22
    33PortSystem 1.0
     
    2020checksums       md5 3692107785567b0eff6cec979506da3b
    2121configure {}
    22 install {
    23         system "install -d ${destroot}${prefix}/bin"
     22destroot {
     23        file mkdir ${destroot}${prefix}/bin
    2424        system "install -m 755 ${worksrcpath}/mhttp ${destroot}${prefix}/bin"
    2525        system "install -m 755 ${worksrcpath}/mquery ${destroot}${prefix}/bin"
  • trunk/dports/net/micq/Portfile

    r2612 r3173  
    1 # $Id: Portfile,v 1.11 2003/05/14 12:36:17 fkr Exp $
     1# $Id: Portfile,v 1.12 2003/08/05 09:29:22 jkh Exp $
    22
    33PortSystem 1.0
     
    1919checksums       md5 a5bf29dde10474a10a5a4c3e43bf6915
    2020configure.args  --prefix=${destroot}${prefix}
    21 install.destroot        prefix=${destroot}${prefix}
     21destroot.vars   prefix=${destroot}${prefix}
    2222
    23 post-install {  cd ${worksrcpath}
     23post-destroot {  cd ${worksrcpath}
    2424                system "cp doc/*png ${destroot}${prefix}/share/micq"
    2525                system "cp doc/*xpm ${destroot}${prefix}/share/micq" }
  • trunk/dports/net/mldonkey/Portfile

    r2794 r3173  
    1 # $Id: Portfile,v 1.3 2003/06/16 00:52:41 jpm Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:22 jkh Exp $
    22
    33PortSystem 1.0
     
    2626worksrcdir      ${name}-${version}
    2727depends_lib     bin:camlp4:ocaml bin:lablgtk:lablgtk
    28 install {
     28destroot {
    2929        system "install -m 755 ${worksrcpath}/mlchat ${destroot}/${prefix}/bin"
    3030        system "install -m 755 ${worksrcpath}/mlgui ${destroot}/${prefix}/bin"
  • trunk/dports/net/mpich/Portfile

    r2381 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/30 21:30:45 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:22 jkh Exp $
    22
    33PortSystem 1.0
     
    2020checksums       md5 e10f2fde92b6c3264eeb00fdefbb09f1
    2121build.target   
    22 install.destroot        PREFIX=${destroot}/${prefix}
     22destroot.vars        PREFIX=${destroot}/${prefix}
  • trunk/dports/net/mrtg/Portfile

    r2452 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/11 07:46:28 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:23 jkh Exp $
    22
    33PortSystem      1.0
     
    1818configure.env   LDFLAGS="-L${prefix}/lib" \
    1919                CPPFLAGS="-I${prefix}/include"
    20 install.destroot        prefix=${destroot}/${prefix}/
    21 post-install    { ui_info "Note that perl as of Mac OS X 10.2.4 cannot properly drop privledges, rendering the -u <user> option of mrtg useless (and fatal)"}
     20destroot.vars        prefix=${destroot}/${prefix}/
     21post-destroot    { ui_info "Note that perl as of Mac OS X 10.2.4 cannot properly drop privledges, rendering the -u <user> option of mrtg useless (and fatal)"}
    2222##
    2323## Notes:
  • trunk/dports/net/mudix/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/03 07:09:34 mij Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:23 jkh Exp $
    22
    33PortSystem 1.0
     
    1515checksums               md5 8a360b6fd1207c5aa4d8775c16a38705
    1616
    17 install       { cd ${worksrcpath}
     17destroot       { cd ${worksrcpath}
    1818                system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    1919                system "install -o root -m 555 mudix ${destroot}${prefix}/bin"
  • trunk/dports/net/ncftp/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/03 07:09:35 mij Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:23 jkh Exp $
    22
    33PortSystem 1.0
     
    2222worksrcdir              ${portname}-${version}
    2323
    24 install.destroot        mandir=${destroot}${prefix}/man prefix=${destroot}${prefix}
    25 pre-install             { system "install -d ${destroot}${prefix}/bin"
     24destroot.vars        mandir=${destroot}${prefix}/man prefix=${destroot}${prefix}
     25pre-destroot             { system "install -d ${destroot}${prefix}/bin"
    2626                          system "install -d ${destroot}${prefix}/lib"
    2727                          system "install -d ${destroot}${prefix}/man"
  • trunk/dports/net/nessus-core/Portfile

    r3148 r3173  
    1 # $Id: Portfile,v 1.5 2003/08/04 01:42:29 eric Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:23 jkh Exp $
    22
    33PortSystem 1.0
     
    2525                lib:libgtk-1.2.0:gtk
    2626
    27 post-install {
     27post-destroot {
    2828        system "install -d ${prefix}/etc/nessus"
    2929        system "install -d ${prefix}/var/nessus/logs/"
  • trunk/dports/net/net-snmp/Portfile

    r2469 r3173  
    1 # $Id: Portfile,v 1.2 2003/04/14 21:08:20 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:24 jkh Exp $
    22
    33PortSystem 1.0
     
    3636}
    3737
    38 install.destroot        prefix=${destroot}/${prefix}
     38destroot.vars        prefix=${destroot}/${prefix}
  • trunk/dports/net/netcat/Portfile

    r3156 r3173  
    1 # $Id: Portfile,v 1.14 2003/08/04 02:05:05 eric Exp $
     1# $Id: Portfile,v 1.15 2003/08/05 09:29:24 jkh Exp $
    22
    33PortSystem 1.0
     
    3232}
    3333
    34 install         { cd ${workpath}/${worksrcdir}
     34destroot        { cd ${workpath}/${worksrcdir}
    3535                  system "install -o root -m 755 -d ${destroot}/${prefix}/bin"
    3636                  system "install -o root -m 755 -d ${destroot}/${prefix}/share/doc/netcat"
  • trunk/dports/net/ngrep/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 07:09:35 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:24 jkh Exp $
    22
    33PortSystem 1.0
     
    2020worksrcdir      ${name}
    2121
    22 pre-install    { system "install -d ${destroot}${prefix}/man/man8"
     22pre-destroot    { system "install -d ${destroot}${prefix}/man/man8"
    2323                 system "install -d ${destroot}${prefix}/bin"
    2424                 reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile }
  • trunk/dports/net/nmap/Portfile

    r3156 r3173  
    1 # $Id: Portfile,v 1.18 2003/08/04 02:05:06 eric Exp $
     1# $Id: Portfile,v 1.19 2003/08/05 09:29:24 jkh Exp $
    22
    33PortSystem 1.0
     
    2828                  depends_lib-append lib:libgtk.1:gtk }
    2929
    30 install.destroot prefix=${destroot}${prefix}
     30destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/net/nsping/Portfile

    r2419 r3173  
    1 # $Id: Portfile,v 1.7 2003/04/07 19:02:55 fkr Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:24 jkh Exp $
    22
    33PortSystem 1.0
     
    2323configure               {}
    2424build.target
    25 install                 { cd ${worksrcpath}
     25destroot                { cd ${worksrcpath}
    2626                          system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2727                          system "install -o root -m 555 nsping ${destroot}${prefix}/bin"
  • trunk/dports/net/proftpd/Portfile

    r2565 r3173  
    1 # $Id: Portfile,v 1.3 2003/04/28 23:36:57 fkr Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:25 jkh Exp $
    22
    33PortSystem 1.0
     
    2121configure.args  --sysconfdir=${prefix}/etc --localstatedir=${prefix}/var/run
    2222
    23 pre-install {   cd ${worksrcpath}
     23pre-destroot {  cd ${worksrcpath}
    2424                reinplace "s|nogroup|nobody|g" sample-configurations/basic.conf
    2525                system "install -d ${destroot}${prefix}/var"
    2626                system "install -d ${destroot}${prefix}/var/proftpd" }
    2727
    28 post-install {  system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
     28post-destroot { system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
    2929                system "install -o root -m 755 -c \
    3030                      ${portpath}/files/proftpd.sh ${prefix}/etc/rc.d"
  • trunk/dports/net/pycurl/Portfile

    r3102 r3173  
    1 # $Id: Portfile,v 1.10 2003/07/30 22:20:53 fkr Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:26 jkh Exp $
    22
    33PortSystem 1.0
     
    2424build.cmd       python setup.py install --prefix=${destroot}${prefix} \
    2525        --curl-config=${prefix}/bin/curl-config
    26 install.target  {}
    27 install.destroot        {}
    28 post-install {
     26destroot.target {}
     27destroot.vars   {}
     28post-destroot {
    2929        # remind user to define/add installed path to python path
    3030        ui_msg "\nbe sure the install path is included in your python path:"
  • trunk/dports/net/radmind/Portfile

    r2331 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/18 08:08:42 jpm Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:26 jkh Exp $
    22
    33PortSystem 1.0
     
    2020extract.sufx    .tgz
    2121configure.args  --with-radmind-var=${prefix}/var/radmind
    22 install.destroot        prefix=${destroot}${prefix}
    23 post-install {
     22destroot.vars   prefix=${destroot}${prefix}
     23post-destroot {
    2424        set path "${destroot}${prefix}/man/"
    2525       
  • trunk/dports/net/rrdtool/Portfile

    r2466 r3173  
    1 # $Id: Portfile,v 1.3 2003/04/14 16:45:10 fkr Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:27 jkh Exp $
    22
    33PortSystem 1.0
     
    2020                patch-examples-Makefile.in
    2121
    22 install.destroot        prefix=${destroot}/${prefix}/
     22destroot.vars        prefix=${destroot}/${prefix}/
  • trunk/dports/net/sysmon/Portfile

    r3063 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/19 23:08:22 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:27 jkh Exp $
    22
    33PortSystem 1.0
     
    1616depends_lib     lib:net-snmp:net-snmp
    1717platforms       darwin
    18 install.destroot        prefix=${destroot}${prefix}
     18destroot.vars   prefix=${destroot}${prefix}
  • trunk/dports/net/tcptrace/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/03 07:09:37 mij Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:27 jkh Exp $
    22
    33PortSystem 1.0
     
    2626                PCAP_LDFLAGS = -I/usr/lib -I${prefix}/lib|g" "${path}/Makefile"
    2727}
    28 install {
    29         system "install -d ${destroot}${prefix}/bin/"
     28destroot {
     29        file mkdir ${destroot}${prefix}/bin
    3030        system "install -m 755 ${worksrcpath}/tcptrace ${destroot}${prefix}/bin/"
    31         system "install -d ${destroot}${prefix}/man/man1/"
     31        file mkdir ${destroot}${prefix}/man/man1
    3232        system "install -m 644 ${worksrcpath}/tcptrace.man ${destroot}${prefix}/man/man1/tcptrace.1"
    3333}
  • trunk/dports/net/throttled/Portfile

    r3092 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/30 00:24:10 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:27 jkh Exp $
    22
    33PortSystem 1.0
     
    3333build.dir       ${worksrcpath}/src
    3434
    35 install.cmd     true
     35destroot.cmd    true
    3636
    37 post-install    { system "install -m 755 ${worksrcpath}/src/throttled \
     37post-destroot   { system "install -m 755 ${worksrcpath}/src/throttled \
    3838                                ${destroot}${prefix}/sbin \
    3939                && install -v -d ${destroot}${prefix}/etc/rc.d \
  • trunk/dports/net/trafshow/Portfile

    r2175 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/07 00:08:17 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:27 jkh Exp $
    22
    33PortSystem 1.0
     
    2828post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/color.c }
    2929
    30 install                 {       cd ${workpath}/${worksrcdir}
     30destroot                {       cd ${workpath}/${worksrcdir}
    3131                                system "install -o root -m 755 -s -c trafshow ${destroot}/${prefix}/bin"
    3232                                system "install -o root -m 755 -s -c trafshow.1 ${destroot}/${prefix}/man/man1"
  • trunk/dports/net/upclient/Portfile

    r3061 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/19 22:45:37 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:28 jkh Exp $
    22
    33PortSystem 1.0
     
    1616configure       {}
    1717build.target    darwin prefix=${prefix}
    18 install.destroot        prefix=${prefix} destdir=${destroot} mandir=${prefix}/man
     18destroot.vars   prefix=${prefix} destdir=${destroot} mandir=${prefix}/man
  • trunk/dports/net/wakeonlan/Portfile

    r3052 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/19 20:12:27 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:28 jkh Exp $
    22PortSystem 1.0
    33name            wakeonlan
     
    2222build.target    {}
    2323
    24 install.destroot ${destroot}${prefix}
    25 post-install    { system "install -m 644 ${worksrcpath}/blib/man1/wakeonlan.1 \
     24destroot.vars ${destroot}${prefix}
     25post-destroot   { system "install -m 644 ${worksrcpath}/blib/man1/wakeonlan.1 \
    2626                                ${destroot}${prefix}/man/man1/ && \
    2727                          install -m 755 ${worksrcpath}/blib/script/wakeonlan \
  • trunk/dports/net/whois/Portfile

    r2921 r3173  
    1 # $Id: Portfile,v 1.2 2003/06/20 17:26:07 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:28 jkh Exp $
    22
    33PortSystem 1.0
     
    3535                LDFLAGS="-L${prefix}/lib -lintl"
    3636
    37 install.args    prefix=${destroot}${prefix}
     37destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/news/tin/Portfile

    r3043 r3173  
    1 # $Id: Portfile,v 1.14 2003/07/15 03:23:00 matt Exp $
     1# $Id: Portfile,v 1.15 2003/08/05 09:29:28 jkh Exp $
    22
    33PortSystem 1.0
     
    2323                        --with-coffee
    2424build.cmd               make build
    25 install.args            prefix=${destroot}${prefix}
     25destroot.args           prefix=${destroot}${prefix}
    2626
    2727
  • trunk/dports/print/espgs/Portfile

    r2490 r3173  
    1 # $Id: Portfile,v 1.4 2003/04/16 09:49:57 michaelm Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:28 jkh Exp $
    22
    33PortSystem 1.0
     
    3333
    3434build.target       ""
    35 install.destroot   prefix=${destroot}${prefix} datadir=${destroot}${prefix}/share
     35destroot.vars   prefix=${destroot}${prefix} datadir=${destroot}${prefix}/share
    3636
    37 post-install      { system "mkdir -p ${destroot}/${prefix}/share/ghostscript/"
     37post-destroot      { system "mkdir -p ${destroot}/${prefix}/share/ghostscript/"
    3838                  system "cd ${workpath} && \
    3939                        tar -cf - fonts | \
  • trunk/dports/print/fondu/Portfile

    r2923 r3173  
    1313worksrcdir     fondu
    1414post-configure { reinplace s|/usr/local|${prefix}|g ${worksrcpath}/Makefile }
    15 pre-install   { reinplace s|${prefix}|${destroot}${prefix}|g ${worksrcpath}/Makefile }
     15pre-destroot   { reinplace s|${prefix}|${destroot}${prefix}|g ${worksrcpath}/Makefile }
    1616
    1717long_description \
  • trunk/dports/print/ghostscript/Portfile

    r2525 r3173  
    3232
    3333build.target
    34 install.destroot        prefix=${destroot}/${prefix}
    35 post-install    {
     34destroot.vars   prefix=${destroot}/${prefix}
     35post-destroot   {
    3636                        system "mkdir -p ${destroot}/${prefix}/share/ghostscript/"
    3737                        system "mv ${workpath}/fonts ${destroot}/${prefix}/share/ghostscript" }
  • trunk/dports/print/teTeX/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.11 2003/03/03 07:12:26 mij Exp $
     1# $Id: Portfile,v 1.12 2003/08/05 09:29:29 jkh Exp $
    22
    33PortSystem 1.0
     
    5959configure.env           CXXFLAGS=-fno-rtti CPPFLAGS=-no-cpp-precomp
    6060
    61 pre-install {           file mkdir ${tetex_texmftree}; cd ${tetex_texmftree}
     61pre-destroot {          file mkdir ${tetex_texmftree}; cd ${tetex_texmftree}
    6262                        system "tar xfz ${distpath}/${tetex_texmf}"
    6363}
    6464
    65 post-install {
     65post-destroot {
    6666                        # ranlib static library to keep darwin happy
    6767                        system "ranlib ${destroot}/${prefix}/lib/libkpathsea.a"
     
    8080
    8181
    82 install.target          install strip
    83 install.destroot        prefix=${destroot}/${prefix}/ texmf=${destroot}/${prefix}/
     82destroot.target         install strip
     83destroot.vars   prefix=${destroot}/${prefix}/ texmf=${destroot}/${prefix}/
  • trunk/dports/python/pycurl/Portfile

    r3102 r3173  
    1 # $Id: Portfile,v 1.10 2003/07/30 22:20:53 fkr Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:26 jkh Exp $
    22
    33PortSystem 1.0
     
    2424build.cmd       python setup.py install --prefix=${destroot}${prefix} \
    2525        --curl-config=${prefix}/bin/curl-config
    26 install.target  {}
    27 install.destroot        {}
    28 post-install {
     26destroot.target {}
     27destroot.vars   {}
     28post-destroot {
    2929        # remind user to define/add installed path to python path
    3030        ui_msg "\nbe sure the install path is included in your python path:"
  • trunk/dports/python/pyxml/Portfile

    r2473 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/15 13:47:29 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:04 jkh Exp $
    22
    33PortSystem 1.0
     
    3737build.cmd                       python setup.py build --with-libexpat=${prefix}
    3838
    39 install.args            --prefix=${destroot}${prefix}
    40 install.destroot        {}
    41 install.cmd                     python setup.py
     39destroot.args           --prefix=${destroot}${prefix}
     40destroot.vars   {}
     41destroot.cmd                    python setup.py
    4242
    43 post-install {
     43post-destroot {
    4444        # remind user to define/add installed path to python path
    4545        # copied from the twisted port file
  • 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"
  • trunk/dports/shells/ksh/Portfile

    r3090 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/24 08:08:04 jkh Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:30 jkh Exp $
    22
    33PortSystem 1.0
     
    3232}
    3333
    34 install {
     34destroot {
    3535# this is the approved way of installing, but it doesn't work on Mac OS X
    3636#       system "cd ${workdir}; bin/package install flat ${destroot}${prefix} ast-ksh"
  • trunk/dports/shells/pdksh/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/03 07:13:56 mij Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:30 jkh Exp $
    22
    33PortSystem 1.0
     
    1414
    1515
    16 install.args prefix=${destroot}${prefix}
     16destroot.args prefix=${destroot}${prefix}
    1717long_description        The public domain version of the Korn Shell
  • trunk/dports/sysutils/DarwinPortsStartup/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/03 07:14:57 mij Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:30 jkh Exp $
    22
    33PortSystem 1.0
     
    1515prefix          /Library/StartupItems/DarwinPortsStartup
    1616
    17 install.destroot INSTALLDIR=${destroot}/Library/StartupItems/DarwinPortsStartup/
     17destroot.vars INSTALLDIR=${destroot}/Library/StartupItems/DarwinPortsStartup/
  • trunk/dports/sysutils/PortsManager/Portfile

    r2585 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/05 17:29:34 landonf Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:30 jkh Exp $
    22
    33PortSystem 1.0
     
    2020build.type       pbx
    2121build.target     -alltargets   
    22 install.target  install DSTROOT='${destroot}/'
     22destroot.target  install DSTROOT='${destroot}/'
  • trunk/dports/sysutils/bdes/Portfile

    r2371 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/26 22:45:17 eric Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:31 jkh Exp $
    22
    33PortSystem 1.0
     
    1919configure       { reinplace "s|MAN|MAN1|" ${worksrcpath}/Makefile }
    2020
    21 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     21destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2222                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man1"
    2323                  system "install -o root -m 755 -d ${destroot}${prefix}/share/doc"
     
    2828                  system "install -o root -m 644 -c ${worksrcpath}/bdes.ps \
    2929                    ${destroot}${prefix}/share/doc" }
    30 
  • trunk/dports/sysutils/bzip2/Portfile

    r2135 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 21:09:32 michaelm Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:31 jkh Exp $
    22
    33PortSystem 1.0
     
    1515configure               {}
    1616build.args              PREFIX="${prefix}"
    17 install.args            PREFIX="${destroot}/${prefix}"
     17destroot.args           PREFIX="${destroot}/${prefix}"
  • trunk/dports/sysutils/cdrtools/Portfile

    r2643 r3173  
    1 # $Id: Portfile,v 1.6 2003/05/19 17:25:13 fkr Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:31 jkh Exp $
    22
    33PortSystem 1.0
     
    2121build.type      gnu
    2222
    23 install.args    DEFINSUSR=root DEFINSGRP=wheel INS_BASE=${destroot}/${prefix}
     23destroot.args    DEFINSUSR=root DEFINSGRP=wheel INS_BASE=${destroot}/${prefix}
  • trunk/dports/sysutils/dpkg/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 07:14:58 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:31 jkh Exp $
    22
    33PortSystem 1.0
     
    3232}
    3333
    34 pre-install { file mkdir ${destroot}${prefix}/share/doc/dpkg }
     34pre-destroot { file mkdir ${destroot}${prefix}/share/doc/dpkg }
    3535
    3636variant darwin {
  • trunk/dports/sysutils/freeradius/Portfile

    r2476 r3173  
    1 # $Id: Portfile,v 1.3 2003/04/15 19:04:23 fkr Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:31 jkh Exp $
    22
    33PortSystem 1.0
     
    2727}
    2828
    29 install.destroot        prefix=${destroot}/${prefix}
     29destroot.vars        prefix=${destroot}/${prefix}
  • trunk/dports/sysutils/gnuregex/Portfile

    r2681 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/24 19:29:37 mij Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:32 jkh Exp $
    22
    33PortSystem 1.0
     
    1717checksums       md5  6c25ca10e71adeede101e7646e796ebd
    1818
    19 install         { system "install -m 755 -d ${destroot}${prefix}/include"
     19destroot        { system "install -m 755 -d ${destroot}${prefix}/include"
    2020                  system "install -m 644 ${worksrcpath}/regex.h ${destroot}${prefix}/include/gnuregex.h" }
  • trunk/dports/sysutils/gtk-systrace/Portfile

    r3146 r3173  
    1 # $Id: Portfile,v 1.3 2003/08/04 01:38:16 eric Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:32 jkh Exp $
    22
    33PortSystem 1.0
     
    1717checksums       md5 6b61ac8174707483a404599c7e8d8238
    1818worksrcdir      notification-0.1
    19 post-install {  cd ${destroot}${prefix}/bin
     19post-destroot { cd ${destroot}${prefix}/bin
    2020                system "ln -s notification xsystrace" }
  • trunk/dports/sysutils/john/Portfile

    r3147 r3173  
    1 # $Id: Portfile,v 1.10 2003/08/04 01:38:53 eric Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:32 jkh Exp $
    22
    33PortSystem 1.0
     
    2929build.args      macosx-ppc-cc
    3030build.target
    31 install {
    32         file mkdir ${destroot}${prefix}/share/john/
     31destroot {
     32        file mkdir ${destroot}${prefix}/share/john
    3333        file mkdir ${destroot}${prefix}/bin
    3434        system "cp -fR ${portpath}/${workdir}/${distname}/run ${destroot}${prefix}/share/john/"
     
    3737        system "ln -s ${destroot}${prefix}/share/john/run/john ${destroot}${prefix}/bin/john"
    3838       
    39         file mkdir ${destroot}${prefix}/share/doc/john/
     39        file mkdir ${destroot}${prefix}/share/doc/john
    4040        system "cp -fR ${portpath}/${workdir}/${distname}/doc/* ${destroot}${prefix}/share/doc/john/"
    4141        #file copy -force ${portpath}/${workdir}/${distname}/doc/* ${destroot}${prefix}/share/doc/john/
  • trunk/dports/sysutils/keychain/Portfile

    r3151 r3173  
    1 # $Id: Portfile,v 1.6 2003/08/04 01:39:44 eric Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:32 jkh Exp $
    22
    33PortSystem 1.0
     
    2020configure {}
    2121build {}
    22 install {
    23         system "install -d ${destroot}${prefix}/bin"
     22destroot {
     23        file mkdir ${destroot}${prefix}/bin
    2424        system "install -m 755 ${worksrcpath}/keychain ${destroot}${prefix}/bin"
    2525}
  • trunk/dports/sysutils/l0phtcrack/Portfile

    r3151 r3173  
    1 # $Id: Portfile,v 1.3 2003/08/04 01:39:46 eric Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:32 jkh Exp $
    22
    33PortSystem 1.0
     
    3030build.target    { lc}
    3131
    32 install         { system "cp ${worksrcpath}/lc_CLI ${destroot}${prefix}/bin" }
     32destroot        { system "cp ${worksrcpath}/lc_CLI ${destroot}${prefix}/bin" }
  • trunk/dports/sysutils/osxutils/Portfile

    r3113 r3173  
    1 # $Id: Portfile,v 1.4 2003/07/31 22:24:47 waqar Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:33 jkh Exp $
    22
    33PortSystem 1.0
     
    2525use_configure   no
    2626build.target    {}
    27 install.destroot  destdir=${destroot}
     27destroot.vars  destdir=${destroot}
  • trunk/dports/sysutils/pstree/Portfile

    r3078 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/21 10:57:03 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:33 jkh Exp $
    22
    33PortSystem 1.0
     
    2121build.target
    2222
    23 install.cmd     {cp}
    24 install.args    {pstree}
    25 install.target  {}
    26 install.destroot ${destroot}${prefix}/bin
     23destroot.cmd    {cp}
     24destroot.args   {pstree}
     25destroot.target {}
     26destroot.vars ${destroot}${prefix}/bin
    2727
  • trunk/dports/sysutils/pwgen/Portfile

    r2642 r3173  
    1616configure {}
    1717build.args      prefix=${prefix}
    18 install.args    prefix=${prefix}
     18destroot.args    prefix=${prefix}
    1919
    2020long_description   \
  • trunk/dports/sysutils/rpm/Portfile

    r2732 r3173  
    1 # $Id: Portfile,v 1.5 2003/06/03 02:58:31 ranger Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:33 jkh Exp $
    22
    33PortSystem 1.0
     
    4646                        CC="gcc -flat_namespace" CPPFLAGS=""
    4747
    48         post-install {
     48        post-destroot {
    4949                # where the RPM database to lives
    5050                system "mkdir -p '${destroot}${prefix}/var/lib/rpm'"
  • trunk/dports/sysutils/screen/Portfile

    r2784 r3173  
    2929post-extract    {system "cp ${distpath}/18 ${workpath}" }
    3030configure.args  {--enable-pam --enable-locale --enable-telnet --enable-colors256 --enable-rxct_osc}
    31 post-install    {system "cp ${workpath}/18 ${destroot}/${prefix}/share/${name}/utf8encodings"
     31post-destroot    {system "cp ${workpath}/18 ${destroot}/${prefix}/share/${name}/utf8encodings"
    3232                 system "cp ${workpath}/${distname}/etc/etcscreenrc ${destroot}/${prefix}/etc/screenrc"
    3333                 system "cp ${workpath}/${distname}/terminfo/screencap ${destroot}/${prefix}/etc/termcap"
  • trunk/dports/sysutils/systrace/Portfile

    r3152 r3173  
    1 # $Id: Portfile,v 1.3 2003/08/04 01:45:25 eric Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:33 jkh Exp $
    22
    33PortSystem 1.0
     
    2828pre-configure { system "cp ${prefix}/var/db/dports/distfiles/systrace.h \
    2929                        /usr/include/sys/" }
    30 post-install  { ui_msg "\nThis port installed the following file OUTSIDE of the DarwinPorts prefix:\n \
     30post-destroot  { ui_msg "\nThis port installed the following file OUTSIDE of the DarwinPorts prefix:\n \
    3131                        /usr/include/sys/systrace.h\n" }
  • trunk/dports/sysutils/tree/Portfile

    r3007 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/04 09:41:37 michaelm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:34 jkh Exp $
    22PortSystem 1.0
    33name                    tree
     
    1414}
    1515build.args              CFLAGS="-no-cpp-precomp"
    16 install.args    BINDIR=${destroot}${prefix}/bin \
     16destroot.args   BINDIR=${destroot}${prefix}/bin \
    1717                                MANDIR=${destroot}${prefix}/man/man1
    1818
  • trunk/dports/sysutils/unzip/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 07:14:58 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:34 jkh Exp $
    22
    33PortSystem 1.0
     
    2323build.target   
    2424build.args     -f unix/Makefile macosx
    25 install.args   -f unix/Makefile install BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
     25destroot.args   -f unix/Makefile install BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
    2626
    2727long_description \
  • trunk/dports/sysutils/vcp/Portfile

    r2746 r3173  
    1 # $Id: Portfile,v 1.1 2003/06/04 17:46:44 waqar Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:34 jkh Exp $
    22
    33PortSystem 1.0
     
    1919checksums       md5 102cfd51ecec7a49e290339edfed638a
    2020use_configure   no
    21 install {
     21destroot {
    2222                system "cd ${worksrcpath} && \
    2323                        install ${name} ${destroot}${prefix}/bin"
  • trunk/dports/sysutils/xtail/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 07:14:59 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:34 jkh Exp $
    22
    33PortSystem 1.0
     
    2222master_sites           http://www.unicom.com/sw/xtail/
    2323checksums              md5 2e4717c591a2cbbd4aeb63d00c87a0cb
    24 install.destroot       prefix=${destroot}${prefix}
    25 pre-install            { system "install -d ${destroot}${prefix}/bin"
     24destroot.vars       prefix=${destroot}${prefix}
     25pre-destroot            { system "install -d ${destroot}${prefix}/bin"
    2626                         system "install -d ${destroot}${prefix}/man/man1"
    2727                       }
  • trunk/dports/sysutils/yum/Portfile

    r2996 r3173  
    1 # $Id: Portfile,v 1.3 2003/07/02 00:30:24 fkr Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:34 jkh Exp $
    22
    33PortSystem 1.0
     
    3838}
    3939
    40 post-install {
     40post-destroot {
    4141                system "mkdir -p '${destroot}${prefix}/var/cache/yum/base/headers'"
    4242                system "mkdir -p '${destroot}${prefix}/var/cache/yum/base/packages'"
  • trunk/dports/sysutils/zip/Portfile

    r2510 r3173  
    1 # $Id: Portfile,v 1.4 2003/04/19 12:08:25 fkr Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:35 jkh Exp $
    22
    33PortSystem 1.0
     
    2323build.target     
    2424build.args        -f unix/Makefile generic
    25 install.args      -f unix/Makefile BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
     25destroot.args      -f unix/Makefile BINDIR=${destroot}${prefix}/bin MANDIR=${destroot}${prefix}/man/man1
    2626
    2727variant puredarwin      { configure {   cd ${worksrcpath}
  • trunk/dports/textproc/antiword/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.6 2003/03/03 07:18:01 mij Exp $
     1# $Id: Portfile,v 1.7 2003/08/05 09:29:35 jkh Exp $
    22
    33PortSystem 1.0
     
    2424patchfiles      patch-Makefile.Linux
    2525
    26 install.target  global_install
    27 install.args    prefix=${destroot}${prefix}
     26destroot.target global_install
     27destroot.args   prefix=${destroot}${prefix}
    2828
    29 post-install    { system "install -o root -m 755 -d \
     29post-destroot   { system "install -o root -m 755 -d \
    3030                    ${destroot}${prefix}/man/man1"
    3131                  system "install -o root -m 644 \
  • trunk/dports/textproc/aspell/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 07:18:01 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:35 jkh Exp $
    22
    33PortSystem 1.0
     
    2323configure.args  --disable-shared --enable-dict-dir="${prefix}/share/aspell"
    2424
    25 post-install    { ui_msg "\nYou must install one of the language dictionaries after installing\nthis port in order for it to work.\n" }
     25post-destroot   { ui_msg "\nYou must install one of the language dictionaries after installing\nthis port in order for it to work.\n" }
  • trunk/dports/textproc/chef/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/03 07:18:03 mij Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:35 jkh Exp $
    22
    33PortSystem 1.0
     
    1717configure       {}
    1818build           { system "cd $worksrcpath && lex chef.x && cc lex.yy.c -ll -o chef" }
    19 install         { system "install -d ${destroot}${prefix}/bin"
     19destroot        { file mkdir ${destroot}${prefix}/bin
    2020                  system "cd $worksrcpath && install chef ${destroot}${prefix}/bin" }
    21 
    22 
  • trunk/dports/textproc/cowsay/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.15 2003/03/03 07:18:03 mij Exp $
     1# $Id: Portfile,v 1.16 2003/08/05 09:29:35 jkh Exp $
    22
    33PortSystem 1.0
     
    1212configure       {}
    1313build           {}
    14 install         {system "cd $workpath/$worksrcdir && sh install.sh ${destroot}${prefix}"}
     14destroot        {system "cd $workpath/$worksrcdir && sh install.sh ${destroot}${prefix}"}
    1515
  • trunk/dports/textproc/dict/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.27 2003/03/03 07:18:03 mij Exp $
     1# $Id: Portfile,v 1.28 2003/08/05 09:29:36 jkh Exp $
    22
    33PortSystem 1.0
     
    2222build.type              gnu
    2323build.target            dict
    24 install.target          install.dict prefix=${destroot}/${prefix}
     24destroot.target         install.dict prefix=${destroot}/${prefix}
    2525
    2626post-patch {
  • trunk/dports/textproc/docbook-xml/Portfile

    r2356 r3173  
    1 # $Id: Portfile,v 1.10 2003/03/25 03:32:45 michaelm Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:36 jkh Exp $
    22
    33PortSystem 1.0
     
    2121build           {}
    2222
    23 install         { system "mkdir -p ${destroot}/${prefix}/share/xml/${name}/${version}"
    24                   system "mkdir -p ${destroot}/${prefix}/share/xml/${name}/${version}/ent"
     23destroot        { file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}
     24                  file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}/ent
    2525                  system "for file in \
    2626                  `unzip -l ${distpath}/${distname} | awk '/:\[0-9\].*\[^\\/\]\$/\{print \$4\}'`; do \
  • trunk/dports/textproc/docbook-xsl/Portfile

    r2656 r3173  
    1 # $Id: Portfile,v 1.8 2003/05/20 14:51:22 michaelm Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:36 jkh Exp $
    22
    33PortSystem 1.0
     
    1313configure       {}
    1414build           {}
    15 install         { system "mkdir -p ${destroot}/${prefix}/share/xsl/${name}/${version}"
     15destroot        { file mkdir ${destroot}/${prefix}/share/xsl/${name}/${version}
    1616                  system "cd ${worksrcpath} && \
    1717                        tar -cf - VERSION common fo html lib params xhtml | \
    1818                        tar -xf - -C ${destroot}/${prefix}/share/xsl/${name}/${version}"
    1919                }
    20 
  • trunk/dports/textproc/dos2unix/Portfile

    r3167 r3173  
    1 # $Id: Portfile,v 1.7 2003/08/04 21:15:46 waqar Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:36 jkh Exp $
    22
    33PortSystem 1.0
     
    1212build           { cd ${worksrcpath}
    1313                  system "gcc -O dos2unix.c -o dos2unix" }
    14 install         { cd ${worksrcpath}
     14
     15destroot        { cd ${worksrcpath}
    1516                  system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    1617                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man1"
  • trunk/dports/textproc/dumpasn1/Portfile

    r3144 r3173  
    1 # $Id: Portfile,v 1.2 2003/08/04 01:36:46 eric Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:36 jkh Exp $
    22
    33PortSystem 1.0
     
    2727build {         system "cc -o ${worksrcpath}/dumpasn1 ${worksrcpath}/dumpasn1.c" }
    2828
    29 install {       system "install -c -m 755 ${worksrcpath}/dumpasn1 ${destroot}${prefix}/bin/dumpasn1"
     29destroot {      system "install -c -m 755 ${worksrcpath}/dumpasn1 ${destroot}${prefix}/bin/dumpasn1"
    3030                system "install -c -m 644 ${worksrcpath}/dumpasn1.cfg ${destroot}${prefix}/etc/dumpasn1.cfg" }
  • trunk/dports/textproc/expat/Portfile

    r3156 r3173  
    1 # $Id: Portfile,v 1.8 2003/08/04 02:05:07 eric Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:36 jkh Exp $
    22
    33PortSystem 1.0
     
    2020checksums       md5 6500d7d8c6c2c985cc0be257c9840cb4
    2121
    22 post-install    { system "rm ${destroot}/${prefix}/lib/libexpat.a"
     22post-destroot   { system "rm ${destroot}/${prefix}/lib/libexpat.a"
    2323                  system "rm ${destroot}/${prefix}/lib/libexpat.la" }
    24 install.destroot prefix=${destroot}/${prefix}
     24destroot.vars prefix=${destroot}/${prefix}
  • trunk/dports/textproc/figlet/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.12 2003/03/03 07:18:04 mij Exp $
     1# $Id: Portfile,v 1.13 2003/08/05 09:29:37 jkh Exp $
    22
    33PortSystem 1.0
     
    1818build.env               PREFIX=$prefix
    1919
    20 install.destroot        PREFIX=${destroot}${prefix}
    21 pre-install                 { system "install -d ${destroot}${prefix}/bin"
     20destroot.vars   PREFIX=${destroot}${prefix}
     21pre-destroot                 { system "install -d ${destroot}${prefix}/bin"
    2222                              system "install -d ${destroot}${prefix}/man/man6" }
  • trunk/dports/textproc/glimpse/Portfile

    r2127 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 07:18:05 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:37 jkh Exp $
    22
    33PortSystem 1.0
     
    1414build.args      LDFLAGS=-L${prefix}/lib
    1515
    16 install.destroot bindir=${destroot}${prefix}/bin libdir=${destroot}${prefix}/lib mandir=${destroot}${prefix}/man/man1
     16destroot.vars bindir=${destroot}${prefix}/bin libdir=${destroot}${prefix}/lib mandir=${destroot}${prefix}/man/man1
  • trunk/dports/textproc/htmldoc/Portfile

    r2321 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/18 06:04:33 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:37 jkh Exp $
    22
    33PortSystem 1.0
     
    2727configure.args  --without-gui
    2828
    29 install.destroot prefix=${destroot}${prefix}
     29destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/textproc/iso8879/Portfile

    r3051 r3173  
    1 # $Id: Portfile,v 1.3 2003/07/19 16:52:04 fkr Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:37 jkh Exp $
    22
    33PortSystem 1.0
     
    2626set instdir     share/sgml/iso8879
    2727
    28 install         { system "install -m 755 -d \
     28destroot        { system "install -m 755 -d \
    2929                    ${destroot}${prefix}/${instdir}"
    3030                  system "install -m 644 ${portpath}/${filedir}/catalog \
     
    3333                    ${destroot}${prefix}/${instdir}" }
    3434
    35 install.args    prefix=${destroot}${prefix}
     35destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/textproc/ispell/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.9 2003/03/03 07:26:01 mij Exp $
     1# $Id: Portfile,v 1.10 2003/08/05 09:29:37 jkh Exp $
    22
    33PortSystem 1.0
     
    1818                        reinplace s|/usr/local|${prefix}|g local.h
    1919}
    20 pre-install           { system "install -d ${destroot}${prefix}/bin"
     20pre-destroot           { system "install -d ${destroot}${prefix}/bin"
    2121                        system "install -d ${destroot}${prefix}/lib"
    2222                        system "install -d ${destroot}${prefix}/man"
    2323                        cd ${workpath}/${worksrcdir}
    2424                        reinplace "s|${prefix}|${destroot}${prefix}|g" config.sh}
    25 install.destroot     
     25destroot.vars     
  • trunk/dports/textproc/jive/Portfile

    r2143 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/04 02:38:47 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:38 jkh Exp $
    22
    33PortSystem 1.0
     
    2424                    ${destroot}${prefix}/man/man1" }
    2525
    26 install.args    prefix=${destroot}${prefix}
     26destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/textproc/less/Portfile

    r3118 r3173  
    1 # $Id: Portfile,v 1.1 2003/08/01 14:48:32 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:38 jkh Exp $
    22
    33PortSystem 1.0
     
    1919                ftp://ftp.gnu.org/gnu/less/
    2020checksums       md5 40c2dd4ac137b61b6a55a6478817daf4
    21 install.destroot        prefix=${destroot}${prefix}
     21destroot.vars   prefix=${destroot}${prefix}
  • trunk/dports/textproc/libiconv/Portfile

    r3156 r3173  
    1 # $Id: Portfile,v 1.20 2003/08/04 02:05:07 eric Exp $
     1# $Id: Portfile,v 1.21 2003/08/05 09:29:38 jkh Exp $
    22
    33PortSystem 1.0
     
    2020                    ${worksrcpath}/man/Makefile.in }
    2121
    22 pre-install     { system "install -o root -m 755 -d \
     22pre-destroot    { system "install -o root -m 755 -d \
    2323                    ${destroot}${prefix}/share/doc/libiconv" }
    2424
    25 set install.destroot prefix=${destroot}${prefix}
     25set destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/textproc/linuxdoc/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 07:26:02 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:38 jkh Exp $
    22
    33PortSystem 1.0
     
    2424set instdir     share/sgml/linuxdoc
    2525
    26 install         { system "install -o root -m 755 -d \
     26destroot        { system "install -o root -m 755 -d \
    2727                    ${destroot}${prefix}/${instdir}"
    2828                  system "install -o root -m 644 ${workdir}/catalog \
     
    3131                    ${destroot}${prefix}/${instdir}" }
    3232
    33 install.args    prefix=${destroot}${prefix}
     33destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/textproc/man2html/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 07:26:03 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:38 jkh Exp $
    22
    33PortSystem 1.0
     
    3131build           {}
    3232
    33 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     33destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    3434                  system "install -o root -m 755 ${worksrcpath}/man2html \
    3535                    ${prefix}/bin"
  • trunk/dports/textproc/mkcatalog/Portfile

    r2594 r3173  
    1 # $Id: Portfile,v 1.3 2003/05/09 20:40:13 mij Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:39 jkh Exp $
    22
    33PortSystem 1.0
     
    2020build           {}
    2121
    22 install         { system "install -o root -m 755 -d ${destroot}${prefix}/sbin"
     22destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/sbin"
    2323                  system "install -o root -m 755 ${worksrcpath}/mkcatalog.in \
    2424                    ${destroot}${prefix}/sbin/mkcatalog" }
    2525
    26 install.args    prefix=${destroot}${prefix}
     26destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/textproc/mmencode/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 07:26:03 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:39 jkh Exp $
    22
    33PortSystem 1.0
     
    3131build.target    mmencode
    3232
    33 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     33destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    3434                  system "install -o root -m 755 ${worksrcpath}/mmencode \
    3535                    ${destroot}${prefix}/bin"
     
    4040                    ${destroot}${prefix}/man/man1" }
    4141
    42 post-install    { system "ln -fs mmencode ${destroot}${prefix}/bin/mimencode" }
     42post-destroot   { system "ln -fs mmencode ${destroot}${prefix}/bin/mimencode" }
  • trunk/dports/textproc/openjade/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.11 2003/03/03 07:26:03 mij Exp $
     1# $Id: Portfile,v 1.12 2003/08/05 09:29:39 jkh Exp $
    22
    33PortSystem 1.0
     
    4040                  reinplace "s|^#pragma interface||g" ${worksrcpath}/spgrove/GroveApp.h }
    4141
    42 install.target  install install-man
     42destroot.target install install-man
  • trunk/dports/textproc/rman/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.5 2003/03/03 07:26:04 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:39 jkh Exp $
    22
    33PortSystem 1.0
     
    1717                  reinplace "s|__PREFIX|${prefix}|g" Makefile
    1818                  reinplace "s|__DSTROOT|${destroot}|g" Makefile }               
    19 pre-install {
     19pre-destroot {
    2020        system "install -d ${destroot}${prefix}/bin"
    2121        system "install -d ${destroot}${prefix}/man/man1"
  • trunk/dports/textproc/rtfreader/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 07:26:04 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:39 jkh Exp $
    22
    33PortSystem 1.0
     
    2929build.target    rtfreader
    3030
    31 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     31destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    3232                  system "install -o root -m 755 ${worksrcpath}/${portname} \
    3333                    ${destroot}${prefix}/bin" }
  • trunk/dports/textproc/tnef2txt/Portfile

    r2701 r3173  
    1 # $Id: Portfile,v 1.5 2003/05/27 19:10:30 mij Exp $
     1# $Id: Portfile,v 1.6 2003/08/05 09:29:39 jkh Exp $
    22
    33PortSystem 1.0
     
    2424build.target    tnef2txt
    2525
    26 install         { system "install -m 755 -d ${destroot}${prefix}/bin"
     26destroot        { system "install -m 755 -d ${destroot}${prefix}/bin"
    2727                  system "install -m 755 ${worksrcpath}/${portname} ${destroot}${prefix}/bin"
    2828                  system "install -m 755 -d ${destroot}${prefix}/share/doc/${portname}"
  • trunk/dports/textproc/tth/Portfile

    r2549 r3173  
    1616build           {cd ${workpath}/${distname};
    1717                  system "cc -o ${portname} ${portname}.c" }
    18 install         {cd ${workpath}/${distname};
     18destroot        {cd ${workpath}/${distname};
    1919                  system "install -c ${portname} ${destroot}/${prefix}/bin"
    2020                  system "install -c latex2gif ${destroot}/${prefix}/bin"
  • trunk/dports/textproc/txt2html/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.3 2003/03/03 07:26:06 mij Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:40 jkh Exp $
    22
    33PortSystem 1.0
     
    2525build           {}
    2626
    27 install         { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     27destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2828                  system "install -o root -m 755 ${worksrcpath}/txt2html.pl \
    2929                    ${destroot}${prefix}/bin/txt2html"
  • trunk/dports/textproc/xercesc/Portfile

    r3170 r3173  
    1 # $Id: Portfile,v 1.1 2003/08/05 09:12:35 jkh Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:40 jkh Exp $
    22PortSystem 1.0
    33name                    xercesc
     
    2424build.env               ${configure.env}
    2525build.type              gnu
    26 install.env             ${configure.env}
     26destroot.env            ${configure.env}
  • trunk/dports/www/apache/Portfile

    r3110 r3173  
    1 # $Id: Portfile,v 1.28 2003/07/31 18:22:07 michaelm Exp $
     1# $Id: Portfile,v 1.29 2003/08/05 09:29:40 jkh Exp $
    22
    33PortSystem 1.0
     
    3030
    3131
    32 install.args            root=${destroot}
     32destroot.args           root=${destroot}
    3333
    3434variant activate_server {
     
    6464                                                 APACI_ARGS='--prefix=${prefix}/${name}-${version} --logfiledir=${prefix}/${name}-${version}/var/log/httpd --runtimedir=${prefix}/${name}-${version}/var/run --with-layout=FreeBSD --server-uid=www --server-gid=www --enable-module=most --enable-shared=max --disable-shared=perl --disable-rule=expat'" }
    6565       
    66         install.args    PREFIX=${destroot}${prefix} INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \
     66        destroot.args   PREFIX=${destroot}${prefix} INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \
    6767                         INSTALLSITELIB=${destroot}${prefix}/lib/perl5/site_perl/5.8.0 \
    6868                         INSTALLARCHLIB=${destroot}${prefix}/lib/perl5/5.8.0/darwin \
     
    7272}
    7373
    74 post-install      {
     74post-destroot      {
    7575
    7676        file mkdir  ${prefix}/${name}-${version}/var/log/httpd
  • trunk/dports/www/apache2/Portfile

    r3039 r3173  
    1 # $Id: Portfile,v 1.2 2003/07/14 10:49:48 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:40 jkh Exp $
    22
    33PortSystem 1.0
     
    3434                --enable-proxy-http --enable-proxy-ftp
    3535
    36 install.args    root=${destroot}
    37 post-install {  system "touch ${destroot}${prefix}/${name}/logs/.turd"
     36destroot.args   root=${destroot}
     37post-destroot {         system "touch ${destroot}${prefix}/${name}/logs/.turd"
    3838                system "test -L ${destroot}${prefix}/${name}/build/libtool \
    3939                        || ln -s /usr/bin/glibtool \
     
    4646                                        ${worksrcdir}/${name}.sh" }
    4747
    48                 post-install-append {   file mkdir ${destroot}${prefix}/etc/rc.d/
     48                post-destroot-append {  file mkdir ${destroot}${prefix}/etc/rc.d/
    4949                                        system "install -bC ${portpath}/${workdir}/${name}.sh \
    5050                                                ${destroot}${prefix}/etc/rc.d/"} }
  • trunk/dports/www/cadaver/Portfile

    r2314 r3173  
    1 # $Id: Portfile,v 1.3 2003/03/18 03:06:15 jpm Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:41 jkh Exp $
    22
    33PortSystem 1.0
     
    2323        CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
    2424configure.args  --with-expat --without-ssl
    25 install.destroot prefix=${destroot}${prefix}
     25destroot.vars prefix=${destroot}${prefix}
    2626
    2727variant darwin {
  • trunk/dports/www/dillo/Portfile

    r3087 r3173  
    1 # $Id: Portfile,v 1.3 2003/07/23 21:56:12 gwright Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:41 jkh Exp $
    22
    33PortSystem 1.0
     
    4242configure.env   CPPFLAGS="-no-cpp-precomp -I${prefix}/include"
    4343
    44 pre-install     { system "strip ${build.dir}/src/dillo" }
     44pre-destroot    { system "strip ${build.dir}/src/dillo" }
    4545
  • trunk/dports/www/huevos/Portfile

    r3097 r3173  
    1 # $Id: Portfile,v 1.1 2003/07/30 19:17:55 waqar Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:41 jkh Exp $
    22PortSystem 1.0
    33name            huevos
     
    1919build.type      pbx
    2020build.target
    21 install         { system "install -d ${destroot}/Applications/DarwinPorts \
     21destroot        { system "install -d ${destroot}/Applications/DarwinPorts \
    2222                && ditto -rsrcFork \
    2323                ${workpath}/Huevos\\ ${version}\\ Source/build/Huevos.app \
    2424                ${destroot}/Applications/DarwinPorts/Huevos.app" }
    25 install.target
     25destroot.target
    2626
  • trunk/dports/www/libapreq-perl/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.3 2003/03/03 07:25:27 mij Exp $
     1# $Id: Portfile,v 1.4 2003/08/05 09:29:41 jkh Exp $
    22
    33PortSystem 1.0
     
    1515configure.cmd       perl Makefile.PL
    1616
    17 install.args        INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \
     17destroot.args        INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \
    1818                    INSTALLSITELIB=${destroot}${prefix}/lib/perl5/site_perl/5.8.0 \
    1919                    INSTALLARCHLIB=${destroot}${prefix}/lib/perl5/5.8.0/darwin \
     
    2525                    INSTALLMAN3DIR=${destroot}${prefix}/share/man/man3
    2626
    27 post-install        { cd ${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin/auto/libapreq/
     27post-destroot        { cd ${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin/auto/libapreq/
    2828                      system "cat .packlist | sed s#${destroot}/##g >.packlist.new"
    2929                      system "mv .packlist.new .packlist"
  • trunk/dports/www/neon/Portfile

    r2506 r3173  
    1 # $Id: Portfile,v 1.10 2003/04/19 01:25:35 rooneg Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:41 jkh Exp $
    22
    33PortSystem 1.0
     
    2828configure.type  gnu
    2929
    30 install.destroot prefix=${destroot}${prefix}
     30destroot.vars prefix=${destroot}${prefix}
  • trunk/dports/www/php4/Portfile

    r2847 r3173  
    1 # $Id: Portfile,v 1.4 2003/06/18 09:10:30 fkr Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:42 jkh Exp $
    22
    33PortSystem 1.0
     
    8282}
    8383
    84 install.args    prefix=${destroot}${prefix}
     84destroot.args   prefix=${destroot}${prefix}
    8585       
    86 post-install    {
     86post-destroot   {
    8787        file mkdir ${destroot}${prefix}/etc
    8888        system "cp ${workpath}/${worksrcdir}/php.ini-dist ${destroot}${prefix}/etc/php.ini"
  • trunk/dports/www/tidy/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.2 2003/03/03 07:25:28 mij Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:42 jkh Exp $
    22
    33PortSystem 1.0
     
    2525configure       {}
    2626
    27 pre-install     { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
     27pre-destroot    { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    2828                  system "install -o root -m 755 -d \
    2929                    ${destroot}${prefix}/man/man1" }
    3030
    31 install.args    prefix=${destroot}${prefix}
     31destroot.args   prefix=${destroot}${prefix}
  • trunk/dports/www/urlview/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 07:25:28 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:42 jkh Exp $
    22
    33PortSystem 1.0
     
    2323                  ${worksrcpath}/url_handler.sh }
    2424
    25 post-install    { system "install -o root -m 755 ${worksrcpath}/url_handler.sh \
     25post-destroot   { system "install -o root -m 755 ${worksrcpath}/url_handler.sh \
    2626                    ${destroot}${prefix}/bin" }
  • trunk/dports/www/wml/Portfile

    r2128 r3173  
    1 # $Id: Portfile,v 1.4 2003/03/03 07:25:28 mij Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:42 jkh Exp $
    22
    33PortSystem 1.0
     
    1515checksums               md5 98d2df48eb879d9c09c0fe81413b3db9
    1616extract.sufx            .tar.gz
    17 install.destroot        prefix=${destroot}/${prefix}
     17destroot.vars   prefix=${destroot}/${prefix}
  • trunk/dports/x11/XFree86/Portfile

    r3155 r3173  
    1 # $Id: Portfile,v 1.36 2003/08/04 01:57:18 eric Exp $
     1# $Id: Portfile,v 1.37 2003/08/05 09:29:42 jkh Exp $
    22
    33PortSystem 1.0
     
    2020worksrcdir      xc
    2121build.target    World
    22 install.target  install install.man
     22destroot.target install install.man
    2323
    2424# If getting the development version, check out of CVS instead
  • trunk/dports/x11/desklaunch/Portfile

    r2438 r3173  
    1 # $Id: Portfile,v 1.2 2003/04/10 14:56:23 fkr Exp $
     1# $Id: Portfile,v 1.3 2003/08/05 09:29:43 jkh Exp $
    22
    33PortSystem 1.0
     
    1919worksrcdir      ${name}-${version}
    2020configure       {}
    21 install.destroot        DESTDIR=${destroot}${prefix}
     21destroot.vars   DESTDIR=${destroot}${prefix}
  • trunk/dports/x11/gtk/Portfile

    r3155 r3173  
    1 # $Id: Portfile,v 1.23 2003/08/04 01:57:18 eric Exp $
     1# $Id: Portfile,v 1.24 2003/08/05 09:29:43 jkh Exp $
    22
    33PortSystem 1.0
     
    3636                  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
    3737
    38 post-install    { system "ln -sf libgdk-1.2.0.9.1.dylib \
     38post-destroot   { system "ln -sf libgdk-1.2.0.9.1.dylib \
    3939                    ${destroot}${prefix}/lib/libgdk.1.dylib" 
    4040                  system "ln -sf libgtk-1.2.0.9.1.dylib \
  • trunk/dports/x11/gtk2/Portfile

    r2990 r3173  
    1 # $Id: Portfile,v 1.10 2003/06/29 20:49:13 mij Exp $
     1# $Id: Portfile,v 1.11 2003/08/05 09:29:43 jkh Exp $
    22
    33PortSystem 1.0
     
    4343build.args      CFLAGS+="-I${x11prefix}/include"
    4444
    45 post-install    { system "ln -fs libgtk-x11-2.0.0.200.2.dylib ${destroot}${prefix}/lib/libgtk.2.dylib"
     45post-destroot   { system "ln -fs libgtk-x11-2.0.0.200.2.dylib ${destroot}${prefix}/lib/libgtk.2.dylib"
    4646                  system "ln -fs libgdk-x11-2.0.0.200.2.dylib ${destroot}${prefix}/lib/libgdk.2.dylib"
    4747                  system "install -d -m 755 ${destroot}${prefix}/etc/gtk-2.0"
  • trunk/dports/x11/kdebase3/Portfile

    r3004 r3173  
    1 # $Id: Portfile,v 1.15 2003/07/04 03:40:32 ranger Exp $
     1# $Id: Portfile,v 1.16 2003/08/05 09:29:43 jkh Exp $
    22
    33PortSystem 1.0
     
    185185build.env       ${configure.env}
    186186build.target    all apidox
    187 post-install    {
     187post-destroot   {
    188188                system "install -d -m 755 ${destroot}/private/etc/pam.d"
    189189                system "cd '${worksrcpath}' && install -c -m 444 /etc/pam.d/login  ${destroot}/private/etc/pam.d/kde"
  • trunk/dports/x11/keylaunch/Portfile

    r2342 r3173  
    1 # $Id: Portfile,v 1.1 2003/03/20 03:47:38 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:43 jkh Exp $
    22
    33PortSystem 1.0
     
    1616patchfiles      patch-Makefile
    1717worksrcdir      ${name}-${version}
    18 install.destroot        DESTDIR=${destroot}${prefix}
     18destroot.vars   DESTDIR=${destroot}${prefix}
    1919configure       {       system "install -o root -m 755 -d ${destroot}${prefix}/share/${name}" }
  • trunk/dports/x11/lablgtk/Portfile

    r2780 r3173  
    1 # $Id: Portfile,v 1.4 2003/06/12 10:50:36 landonf Exp $
     1# $Id: Portfile,v 1.5 2003/08/05 09:29:43 jkh Exp $
    22
    33PortSystem 1.0
     
    2727}
    2828build.target    opt
    29 post-install {
     29post-destroot {
    3030        system "ranlib ${destroot}/${prefix}/lib/ocaml/lablgtk/lablgtk.a"
    3131        system "ranlib ${destroot}/${prefix}/lib/ocaml/lablgtk/liblablgtk.a"
  • trunk/dports/x11/lesstif/Portfile

    r2704 r3173  
    1 # $Id: Portfile,v 1.8 2003/05/28 14:10:59 ranger Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:44 jkh Exp $
    22
    33PortSystem 1.0
     
    2020variant xdnd    { configure.args-append --enable-xdnd }
    2121
    22 post-install    {
     22post-destroot   {
    2323                system "rm -rf ${destroot}${prefix}/lib/X11/app-defaults"
    2424                system "rm -rf ${destroot}${prefix}/lib/X11/config/host.def"
  • trunk/dports/x11/pango/Portfile

    r3116 r3173  
    1 # $Id: Portfile,v 1.16 2003/08/01 07:56:23 mij Exp $
     1# $Id: Portfile,v 1.17 2003/08/05 09:29:44 jkh Exp $
    22
    33PortSystem 1.0
     
    2525                CPPFLAGS="-no-cpp-precomp"
    2626
    27 post-install    { system "ln -fs libpango-1.0.0.200.3.dylib \
     27post-destroot   {
     28                  system "ln -fs libpango-1.0.0.200.3.dylib \
    2829                    ${destroot}${prefix}/lib/libpango.1.dylib"
    2930                  system "ln -fs libpangox-1.0.0.200.3.dylib \
     
    4344                  system "env LANG=C DYLD_LIBRARY_PATH=${destroot}${prefix}/lib \
    4445                    ${destroot}${prefix}/bin/pango-querymodules ${destroot}${prefix}/lib/pango/1.2.0/modules/* >${destroot}${prefix}/etc/pango/pango.modules"
    45                   reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules }
     46                  reinplace s|${destroot}||g ${destroot}${prefix}/etc/pango/pango.modules
     47}
  • trunk/dports/x11/qt3/Portfile

    r2716 r3173  
    1 # $Id: Portfile,v 1.16 2003/06/01 20:02:56 ranger Exp $
     1# $Id: Portfile,v 1.17 2003/08/05 09:29:44 jkh Exp $
    22
    33PortSystem 1.0
     
    5555build.env       ${configure.env}
    5656build.target    INSTALLPREFIX="${prefix}" SINGLE_MODULE="-single_module" symlinks src-qmake src-moc sub-src sub-tools
    57 install.cmd     sh ${portpath}/${filedir}/qt-install.sh
    58 install.args    PREFIX="${prefix}" VERSION="${version}"
    59 install.destroot        DESTROOT="${destroot}"
    60 install.target
     57destroot.cmd    sh ${portpath}/${filedir}/qt-install.sh
     58destroot.args   PREFIX="${prefix}" VERSION="${version}"
     59destroot.vars   DESTROOT="${destroot}"
     60destroot.target
    6161
    6262long_description This is Qt, TrollTech's C++ toolkit for writing \
  • trunk/dports/x11/tk/Portfile

    r2677 r3173  
    1 # $Id: Portfile,v 1.7 2003/05/23 20:42:36 landonf Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:44 jkh Exp $
    22
    33PortSystem 1.0
     
    1515worksrcdir              ${portname}${portversion}/unix
    1616checksums               md5 08ccc31fdce679ee01436278144d74ae
    17 install.destroot        INSTALL_ROOT=${destroot}
     17destroot.vars   INSTALL_ROOT=${destroot}
    1818
    1919depends_build           lib:libtcl8.4:tcl lib:libX11.6:XFree86
  • trunk/dports/x11/vnc/Portfile

    r2675 r3173  
    1 # $Id: Portfile,v 1.1 2003/05/22 22:18:00 ranger Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:44 jkh Exp $
    22
    33PortSystem 1.0
     
    2929        system "cd '${worksrcpath}/Xvnc' && make World"
    3030}
    31 pre-install {
     31pre-destroot {
    3232        system "mkdir -p ${destroot}${prefix}/bin"
    3333        system "mkdir -p ${destroot}${prefix}/man/man1"
    3434        system "mkdir -p ${destroot}${prefix}/share/vnc/classes"
    3535}
    36 install {
     36destroot {
    3737        system "cd '${worksrcpath}' && ./vncinstall '${destroot}${prefix}/bin' '${destroot}${prefix}/man'"
    3838        system "install -c -m 644 ${worksrcpath}/classes/* '${destroot}${prefix}/share/vnc/classes/'"
  • trunk/dports/x11/wmclock/Portfile

    r3131 r3173  
    1 # $Id: Portfile,v 1.11 2003/08/03 19:16:35 fkr Exp $
     1# $Id: Portfile,v 1.12 2003/08/05 09:29:45 jkh Exp $
    22
    33PortSystem 1.0
     
    2222prefix          ${x11prefix}
    2323
    24 install.target  install install.man
     24destroot.target install install.man
  • trunk/dports/x11/wxgtk/Portfile

    r2433 r3173  
    1 # $Id: Portfile,v 1.1 2003/04/09 22:17:59 jpm Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:45 jkh Exp $
    22
    33PortSystem 1.0
     
    3232        --with-freetype
    3333build.target   
    34 install.destroot        prefix=${destroot}${prefix}
     34destroot.vars   prefix=${destroot}${prefix}
    3535
    3636variant darwin {
  • trunk/dports/x11/xglobe/Portfile

    r3162 r3173  
    1 # $Id: Portfile,v 1.1 2003/08/04 17:23:58 fkr Exp $
     1# $Id: Portfile,v 1.2 2003/08/05 09:29:45 jkh Exp $
    22
    33PortSystem 1.0
     
    1414configure       {       reinplace "s|@@DESTROOT@@|${destroot}${prefix}|g" ${worksrcpath}/Makefile
    1515                        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile }
    16 install.destroot        prefix=${destroot}${prefix}
     16destroot.vars   prefix=${destroot}${prefix}
  • trunk/dports/x11/xpm/Portfile

    r2171 r3173  
    1 # $Id: Portfile,v 1.8 2003/03/06 21:36:01 mij Exp $
     1# $Id: Portfile,v 1.9 2003/08/05 09:29:45 jkh Exp $
    22
    33PortSystem 1.0
     
    2121
    2222use_xmkmf       yes
    23 install.target  install install.man
     23destroot.target install install.man
  • trunk/dports/x11/xsnow/Portfile

    r2129 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/03 07:31:53 mij Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:45 jkh Exp $
    22
    33PortSystem 1.0
     
    1616prefix          ${x11prefix}
    1717use_xmkmf       yes
    18 install.target  install install.man
     18destroot.target install install.man
    1919
    2020post-configure {
Note: See TracChangeset for help on using the changeset viewer.