source: trunk/base/src/darwinports1.0/Makefile @ 2809

Last change on this file since 2809 was 2809, checked in by ssen, 17 years ago

1) Don't include dports.mk. We don't need it anymore
2) Use $(INSTALL) -d instead of mkdir -p
3) Use $(SILENT) instead of "@" to make quiet execution. You can

override SILENT= on the make command line

4) Don't do sed on prefix.mtree before applying via mtree

  • Property svn:eol-style set to native
File size: 733 bytes
Line 
1SRCS=           darwinports.tcl darwinports_dlist.tcl
2INSTALLDIR=     ${TCL_PACKAGE_DIR}/darwinports1.0
3DARWIN_OLD_PKGINDEX=${TCL_PACKAGE_DIR}/8.3/darwinports1.0/pkgIndex.tcl
4
5include ../../Mk/dports.autoconf.mk
6
7all:
8
9clean:
10
11distclean: clean
12
13install:
14        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
15        $(SILENT)set -x; for file in ${SRCS}; do \
16                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
17        done
18        $(SILENT)../pkg_mkindex.tcl ${INSTALLDIR}
19# XXX Prior installations of dports on Darwin installed darwinports1.0 in a version-specific Tcl path
20        $(SILENT)if test ${TCL_PACKAGE_DIR} -ef "/System/Library/Tcl" ; then \
21                if test -f ${DARWIN_OLD_PKGINDEX}; then \
22                        set -x; \
23                        rm ${DARWIN_OLD_PKGINDEX}; \
24                fi \
25        fi
Note: See TracBrowser for help on using the repository browser.