mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
ae3c2d150f
PR: 4699 Submitted by: Justin M. Seger <jseger@freebsd.scds.com>
39 lines
1.9 KiB
Plaintext
39 lines
1.9 KiB
Plaintext
--- makefile.orig Sat Mar 22 16:47:17 1997
|
|
+++ makefile Sun Oct 5 14:17:32 1997
|
|
@@ -120,7 +120,7 @@
|
|
merge:
|
|
${CC} -o merge merge.c
|
|
|
|
-LISP_LIB=cmpnew/collectfn.o lsp/gprof.lsp lsp/info.o lsp/profile.lsp gcl-tk/tkl.o gcl-tk/tinfo.o gcl-tk/demos/*.lsp gcl-tk/demos/*.lisp gcl-tk/demos/*.o
|
|
+LISP_LIB=cmpnew/collectfn.o lsp/gprof.lsp lsp/info.o lsp/profile.lsp
|
|
|
|
install-command:
|
|
rm -f ${PREFIX_DIR}/bin/gcl
|
|
@@ -141,21 +141,15 @@
|
|
-if [ -d "${PREFIX_DIR}/lib" ] ;then true; else mkdir ${PREFIX_DIR}/lib ; fi
|
|
-if [ -d "${PREFIX_DIR}/bin" ] ;then true; else mkdir ${PREFIX_DIR}/bin ; fi
|
|
-if [ -d "${INSTALL_LIB_DIR}" ] ; then true; else mkdir ${INSTALL_LIB_DIR} ;fi
|
|
+ -if [ -d "${PREFIX_DIR}/info" ] ; then true; else mkdir ${PREFIX_DIR}/info; fi
|
|
+ -if [ -d "${PREFIX_DIR}/info/gcl-2.2.2" ] ; then true; else mkdir ${PREFIX_DIR}/info/gcl-2.2.2; fi
|
|
make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "PREFIX_DIR=${PREFIX_DIR}"
|
|
rm -f ${PREFIX_DIR}/bin/gcl.exe
|
|
- tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
|
|
- gcl-tk/gcl.tcl gcl-tk/gcltkaux | (cd ${INSTALL_LIB_DIR} ;tar xvf -)
|
|
+ tar cvf - unixport/saved_gcl ${LISP_LIB} \
|
|
+ | (cd ${INSTALL_LIB_DIR} ;tar xvf -)
|
|
+ (cd info; tar cvf - *si.info* | (cd ${PREFIX_DIR}/info/gcl-2.2.2 ; tar xvf -))
|
|
ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
|
|
${PREFIX_DIR}/bin/gcl.exe
|
|
- -cat gcl-tk/gcltksrv | \
|
|
- sed -e "s:GCL_TK_DIR=.*:GCL_TK_DIR=${INSTALL_LIB_DIR}/gcl-tk:g" \
|
|
- -e "s:TK_LIBRARY=.*:TK_LIBRARY=${TK_LIBRARY}:g" > \
|
|
- ${INSTALL_LIB_DIR}/gcl-tk/gcltksrv
|
|
- -if [ "${TK_CONFIG_PREFIX}" != "unknown" ] ; then \
|
|
- chmod a+x ${INSTALL_LIB_DIR}/gcl-tk/gcltksrv ; fi
|
|
- -if [ "${TK_CONFIG_PREFIX}" != "unknown" ] ; then \
|
|
- (cd ${INSTALL_LIB_DIR}/gcl-tk/demos ; \
|
|
- echo '(load "../tkl.o")(TK::GET-AUTOLOADS (directory "*.lisp"))' | ${PREFIX_DIR}/bin/gcl) ; fi
|
|
(cd info ; make ; make install)
|
|
|
|
clean:
|