Skip to content
Permalink
Browse files

Apply sed rules to prefix.mtree.pre > prefix.mtree, then install.

Added macosx.mtree

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@2074 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Kevin Van Vechten
Kevin Van Vechten committed Feb 25, 2003
1 parent 76011e9 commit b9561dc7d66275f4fd60e8966ea14384da9bf264
Showing with 19 additions and 3 deletions.
  1. +5 −3 doc/Makefile
  2. +14 −0 doc/macosx.mtree
  3. 0 doc/{prefix.mtree → prefix.mtree.pre}
@@ -9,9 +9,9 @@ install:
mkdir -p ${DESTDIR}${ETCDIR}
mkdir -p ${INSTALLDIR}

cat prefix.mtree | sed -e "s/uname=UNAME/uname=${DSTUSR}/" | \
sed -e "s/gname=GNAME/gname=${DSTGRP}/" | \
mtree -U -d -e -p ${INSTALLDIR} > /dev/null
cat prefix.mtree.pre | sed -e "s/uname=UNAME/uname=${DSTUSR}/" | \
sed -e "s/gname=GNAME/gname=${DSTGRP}/" > prefix.mtree
cat prefix.mtree | mtree -U -d -e -p ${INSTALLDIR} > /dev/null
@if [ ! -e ${DESTDIR}/${ETCDIR}/ports.conf ]; then \
set -x; \
install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf ${DESTDIR}${ETCDIR}; \
@@ -22,6 +22,8 @@ install:
install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${DESTDIR}${ETCDIR}; \
fi
install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${DESTDIR}${ETCDIR}
install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${INSTALLDIR}/share/darwinports/resources/port1.0/install/
install -o ${DSTUSR} -g ${DSTGRP} -m 644 macosx.mtree ${INSTALLDIR}/share/darwinports/resources/port1.0/install/
install -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${INSTALLDIR}/man/man7
install -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${INSTALLDIR}/man/man7

@@ -0,0 +1,14 @@
# $FreeBSD: src/etc/mtree/BSD.local.dist,v 1.55.2.19 2002/08/17 19:11:15 ache Exp $
#
# Please see the file src/etc/mtree/README before making changes to this file.
#

/set type=dir uname=root gname=admin mode=0775
.
Applications
..
Developer
..
Library
..
..
File renamed without changes.

0 comments on commit b9561dc

Please sign in to comment.
You can’t perform that action at this time.