Changeset 1862


Ignore:
Timestamp:
Jan 24, 2003, 2:19:55 PM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Makefile s/DESTROOT/DESTDIR/g to conform with nearly every other piece of software out there

Location:
trunk/base
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/Makefile

    r1583 r1862  
    66
    77install:
    8         mkdir -p ${DESTROOT}${ETCDIR}
    9         mkdir -p ${DESTROOT}${PREFIX}
    10         mtree -U -f prefix.mtree -d -e -p ${DESTROOT}${PREFIX} > /dev/null
    11         @if [ ! -e ${DESTROOT}/${ETCDIR}/ports.conf ]; then \
     8        mkdir -p ${DESTDIR}${ETCDIR}
     9        mkdir -p ${DESTDIR}${PREFIX}
     10        mtree -U -f prefix.mtree -d -e -p ${DESTDIR}${PREFIX} > /dev/null
     11        @if [ ! -e ${DESTDIR}/${ETCDIR}/ports.conf ]; then \
    1212                set -x; \
    13                 install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf ${DESTROOT}${ETCDIR}; \
     13                install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf ${DESTDIR}${ETCDIR}; \
    1414        fi
    1515
    16         @if [ ! -e ${DESTROOT}${ETCDIR}/sources.conf ]; then \
     16        @if [ ! -e ${DESTDIR}${ETCDIR}/sources.conf ]; then \
    1717                set -x; \
    18                 install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${DESTROOT}${ETCDIR}; \
     18                install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${DESTDIR}${ETCDIR}; \
    1919        fi
    20         install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${DESTROOT}${ETCDIR}
    21         install -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${DESTROOT}${PREFIX}/man/man7
    22         install -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${DESTROOT}${PREFIX}/man/man7
     20        install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${DESTDIR}${ETCDIR}
     21        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${DESTDIR}${PREFIX}/man/man7
     22        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${DESTDIR}${PREFIX}/man/man7
    2323
    2424include ../Mk/dports.mk
  • trunk/base/src/cflib1.0/Makefile

    r1696 r1862  
    22SHLIB_NAME=     CFLib
    33LDADD+=         -ltcl
    4 INSTALLDIR= ${DESTROOT}${PREFIX}/share/darwinports/Tcl/cflib1.0
     4INSTALLDIR= ${DESTDIR}${PREFIX}/share/darwinports/Tcl/cflib1.0
    55
    66.c.o:
  • trunk/base/src/darwinports1.0/Makefile

    r1583 r1862  
    66
    77install:
    8         @mkdir -p ${DESTROOT}`./tcldir.sh`
     8        @mkdir -p ${DESTDIR}`./tcldir.sh`
    99        @set -x; for file in ${SRCS}; do \
    10                 install -c -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${DESTROOT}`./tcldir.sh`; \
     10                install -c -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${DESTDIR}`./tcldir.sh`; \
    1111        done
    12         @../pkg_mkindex.tcl ${DESTROOT}`./tcldir.sh`
     12        @../pkg_mkindex.tcl ${DESTDIR}`./tcldir.sh`
    1313
    1414include ../../Mk/dports.mk
  • trunk/base/src/pextlib1.0/Makefile

    r1583 r1862  
    22SHLIB_NAME=     Pextlib
    33LDADD+=         -ltcl
    4 INSTALLDIR= ${DESTROOT}${PREFIX}/share/darwinports/Tcl/pextlib1.0
     4INSTALLDIR= ${DESTDIR}${PREFIX}/share/darwinports/Tcl/pextlib1.0
    55
    66.c.o:
  • trunk/base/src/port/Makefile

    r1583 r1862  
    11MAN1=           port.1
    2 INSTALLDIR=     ${DESTROOT}${PREFIX}
     2INSTALLDIR=     ${DESTDIR}${PREFIX}
    33
    44mkdirs:
  • trunk/base/src/port1.0/Makefile

    r1595 r1862  
    11PREFIX?=        /opt/local
    2 INSTALLDIR=     ${DESTROOT}${PREFIX}/share/darwinports/Tcl/port1.0
     2INSTALLDIR=     ${DESTDIR}${PREFIX}/share/darwinports/Tcl/port1.0
    33DSTUSR?=        root
    44DSTGRP?=        wheel
  • trunk/base/src/port1.0/resources/Makefile

    r1585 r1862  
    22
    33PREFIX?=        /opt/local
    4 INSTALLDIR=     ${DESTROOT}${PREFIX}/share/darwinports/resources/port1.0/
     4INSTALLDIR=     ${DESTDIR}${PREFIX}/share/darwinports/resources/port1.0/
    55DSTUSR?=        root
    66DSTGRP?=        wheel
  • trunk/base/src/port1.0/resources/package/Makefile

    r1585 r1862  
    11PREFIX?=        /opt/local
    2 INSTALLDIR=     ${DESTROOT}${PREFIX}/share/darwinports/resources/port1.0/package
     2INSTALLDIR=     ${DESTDIR}${PREFIX}/share/darwinports/resources/port1.0/package
    33DSTUSR?=        root
    44DSTGRP?=        wheel
Note: See TracChangeset for help on using the changeset viewer.