$NetBSD: patch-aa,v 1.4 2010/01/29 16:39:49 joerg Exp $ --- Makefile.orig Sun Jan 4 23:47:29 1998 +++ Makefile Tue Dec 29 18:38:29 1998 @@ -5,19 +5,19 @@ ### EDIT THE NEXT FIVE LINES ONLY ### # The directory where the tkhylafax library will be installed -TCLLIB_DEST = /usr/local/lib/tkhylafax-3.1 +TCLLIB_DEST = ${DESTDIR}${PREFIX}/share/tkhylafax-3.1 # The directory where the tkhylafax command will be installed -TCLPRG_DEST = /usr/local/bin +TCLPRG_DEST = ${DESTDIR}${PREFIX}/bin # The directory where the man page will be installed -TCLMAN_DEST = /usr/local/man/man1 +TCLMAN_DEST = ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 # The full path to tclsh -TCLSH = /usr/local/bin/tclsh +TCLSH = ${LOCALBASE}/bin/tclsh # The full path to wish. -WISH = /usr/local/bin/wish +WISH = ${LOCALBASE}/bin/wish ### DON'T EDIT ANYTHING BELOW THIS LINE ### TCLLIB_FILES = \ @@ -41,7 +41,9 @@ TCLPRG_FILE = tkhylafax TCLMAN_FILE = tkhylafax -all: lib install.man tkhylafax +all: + +install: lib install.man tkhylafax echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH); $(TCLLIB_DEST):