source: trunk/base/src/package1.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: 512 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} ${INSTALLDIR}
18        $(SILENT)set -x; for file in ${SRCS}; do \
19                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
20        done
21        $(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.