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

Last change on this file since 14467 was 14467, checked in by jmpp, 15 years ago

Submitted by: jmpp@

Lets assure all our Makefiles respect a temporary ${DESTDIR} installation.
Also some minor cleanups here and there.

  • Property svn:eol-style set to native
File size: 791 bytes
Line 
1INSTALLDIR=     ${DESTDIR}${datadir}/darwinports/Tcl/port1.0
2
3SRCS=   port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl         \
4        portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl \
5        portinstall.tcl portdepends.tcl portdestroot.tcl \
6        portclean.tcl porttest.tcl portactivate.tcl portsubmit.tcl \
7        port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl
8
9SUBDIR=         resources
10
11include ../../Mk/dports.subdir.mk
12include ../../Mk/dports.autoconf.mk
13
14all::
15
16clean::
17
18distclean::
19        rm -f port_autoconf.tcl
20
21install::
22        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
23        $(SILENT)set -x; for file in ${SRCS}; do \
24                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
25        done
26        $(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.