INSTALLDIR= ${DESTDIR}${datadir}/macports/Tcl/port1.0 SRCS= port.tcl portchecksum.tcl portconfigure.tcl portextract.tcl \ portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl \ portinstall.tcl portdepends.tcl portdestroot.tcl portlint.tcl \ portclean.tcl porttest.tcl portactivate.tcl portsubmit.tcl \ port_autoconf.tcl portstartupitem.tcl porttrace.tcl portlivecheck.tcl \ portdistcheck.tcl portmirror.tcl portload.tcl portunload.tcl \ portdistfiles.tcl include ../../Mk/macports.subdir.mk include ../../Mk/macports.autoconf.mk .PHONY: test all:: pkgIndex.tcl pkgIndex.tcl: $(SILENT) ../pkg_mkindex.sh . clean:: rm -f pkgIndex.tcl distclean:: clean rm -f port_autoconf.tcl install:: all $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR} $(SILENT)set -x; for file in ${SRCS}; do \ $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \ done $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 pkgIndex.tcl ${INSTALLDIR} test:: ${TCLSH} tests/portutil.tcl