source: trunk/base/src/package1.0/Makefile @ 9814

Last change on this file since 9814 was 9814, checked in by landonf (Landon Fuller), 16 years ago

Use ${DSTMODE} for all installation directories.

  • Property svn:eol-style set to native
File size: 692 bytes
Line 
1INSTALLDIR=     ${DESTDIR}${datadir}/darwinports/Tcl/package1.0
2
3SRCS=   package.tcl portdmg.tcl portmpkg.tcl portpkg.tcl portrpmpackage.tcl \
4        portdpkg.tcl portunarchive.tcl portarchive.tcl
5
6include ../../Mk/dports.autoconf.mk
7
8all::
9
10clean::
11
12distclean::
13
14test::
15
16install::
17        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports
18        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports/Tcl
19        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
20        $(SILENT)set -x; for file in ${SRCS}; do \
21                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
22        done
23        $(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.