Changeset 3173 for trunk/dports/textproc


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

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

Approved by: fkr

Location:
trunk/dports/textproc
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.