Changeset 22


Ignore:
Timestamp:
Aug 1, 2002, 6:50:11 AM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Clean up installer to work for common case

Location:
trunk/base/Install
Files:
3 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Install/Makefile

    r7 r22  
    1 install: darwinports.1.0.tcl
    2         install darwinports.1.0.tcl /System/Library/Tcl/8.3/
     1PACKAGE_NAME=darwinports
     2PACKAGE_VERSION=1.0
     3PACKAGE_DIR=${PACKAGE_NAME}${PACKAGE_VERSION}
     4PREFIX=/System/Library/Tcl/8.3/${PACKAGE_DIR}/
     5
     6all: install
     7
     8pkg_index:
     9        ${.CURDIR}/pkg_mkindex.tcl ${.CURDIR}/${PACKAGE_NAME}${PACKAGE_VERSION}
     10
     11install: pkg_index
     12        mkdir -p ${PREFIX}
     13        install ${.CURDIR}/${PACKAGE_DIR}/${PACKAGE_NAME}.tcl ${PREFIX}
     14        install ${.CURDIR}/${PACKAGE_DIR}/pkgIndex.tcl ${PREFIX}
Note: See TracChangeset for help on using the changeset viewer.