freebsd-ports/lang/gcl/files/patch-ab
1999-11-25 18:34:01 +00:00

27 lines
1.3 KiB
Plaintext

--- makefile.orig Tue Nov 9 17:03:29 1999
+++ makefile Mon Nov 15 17:14:36 1999
@@ -175,21 +175,22 @@
-if [ -d "${prefix}/lib" ] ;then true; else mkdir ${prefix}/lib ; fi
-if [ -d "${prefix}/bin" ] ;then true; else mkdir ${prefix}/bin ; fi
-if [ -d "${INSTALL_LIB_DIR}" ] ; then true; else mkdir ${INSTALL_LIB_DIR} ;fi
+ -if [ -d "${prefix}/info" ];then true; else mkdir ${prefix}/info ; fi
make install-command "INSTALL_LIB_DIR=${INSTALL_LIB_DIR}" "prefix=${prefix}"
rm -f ${prefix}/bin/gcl.exe
- tar cvf - unixport/saved_gcl info/*info* doc/*.el ${LISP_LIB} \
+ tar cvf - unixport/saved_gcl doc/*.el ${LISP_LIB} \
gcl-tk/gcl.tcl gcl-tk/gcltkaux | (cd ${INSTALL_LIB_DIR} ;tar xvf -)
ln ${SYMB} ${INSTALL_LIB_DIR}/unixport/saved_gcl \
${prefix}/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}/bin/gcl) ; fi
(cd info ; make ; make install)
clean: