source: trunk/base/src/port1.0/Makefile @ 971

Last change on this file since 971 was 971, checked in by kevin, 18 years ago

Allow optional DSTUSR and DSTGRP variables for choosing an install user/group.

  • Property svn:eol-style set to native
File size: 577 bytes
Line 
1PREFIX?=        /opt/local
2INSTALLDIR=     ${PREFIX}/share/darwinports/Tcl/port1.0
3DSTUSR?=        root
4DSTGRP?=        wheel
5
6SRCS=           port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl portinstall.tcl portregistry.tcl portdepends.tcl portinstall.tcl portuninstall.tcl portregistry.tcl portdepends.tcl portclean.tcl portpackage.tcl
7
8all:
9
10clean:
11
12install:
13        mkdir -p ${INSTALLDIR}
14        @set -x; for file in ${SRCS}; do \
15                install -c -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
16        done
17        ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.