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

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

Remove pkgIndex file version-specific installed darwinports1.0 packages, easing upgrade woes.

  • Property svn:eol-style set to native
File size: 706 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.mk
6include ../../Mk/dports.autoconf.mk
7
8all:
9
10clean:
11
12distclean: clean
13
14install:
15        @mkdir -p ${INSTALLDIR}
16        @set -x; for file in ${SRCS}; do \
17                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
18        done
19        @../pkg_mkindex.tcl ${INSTALLDIR}
20# XXX Prior installations of dports on Darwin installed darwinports1.0 in a version-specific Tcl path
21        @if test ${TCL_PACKAGE_DIR} -ef "/System/Library/Tcl" ; then \
22                if test -f ${DARWIN_OLD_PKGINDEX}; then \
23                        set -x; \
24                        rm ${DARWIN_OLD_PKGINDEX}; \
25                fi \
26        fi
Note: See TracBrowser for help on using the repository browser.