1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/databases/xmbase-grok/files/patch-ac

66 lines
1.8 KiB
Plaintext
Raw Normal View History

1999-02-12 02:41:39 +00:00
--- Imakefile.orig Thu Jul 10 10:33:34 1997
+++ Imakefile Thu Feb 11 18:28:52 1999
@@ -10,11 +10,8 @@
* GLIB. The documentation (Manual.ps) is not installed, that's up to you.
*/
-GBIN = /usr/local/bin
-GLIB = /usr/local/lib
-
-CDEBUGFLAGS = -O2
-
+GBIN = ${X11BASE}/bin
+GLIB = ${X11BASE}/lib/X11/xmbase-grok
/*
* Do not change anyhting below.
1999-02-12 02:41:39 +00:00
@@ -23,7 +20,7 @@
#ifdef sgi
LIB = -lSgm -lXm $(XTOOLLIB) $(XLIB) $(SYSLIBS) $(XMEXTRA_LIBS) -lm
#else
-LIB = -lXm $(XTOOLLIB) $(XLIB) $(SYSLIBS) $(XMEXTRA_LIBS) -lm
+LIB = $(MOTIFLIB) $(XTOOLLIB) $(XLIB) $(SYSLIBS) $(XMEXTRA_LIBS) -lm
#endif
SRC = canvdraw.c cardwin.c chart.c chartdrw.c convert.c dbase.c\
@@ -55,10 +52,10 @@
AllTarget(grok)
NormalProgramTarget(grok,y.tab.o $(SRC:.c=.o),,,$(LIB))
InstallProgram(grok,$(GBIN))
-InstallProgram(grok.hlp,$(GLIB))
+InstallNonExecFile(grok.hlp,$(GLIB))
InstallMultiple(Manual.ps grok.hlp,$(GLIB))
InstallMultiple($(DEMO),$(GLIB)/grokdir)
-InstallNonExec(grok.xpm,$(LIBDIR)/pixmaps)
+InstallNonExec(grok.xpm,$(X11BASE)/include/X11/pixmaps)
$(SRC:.c=.o): config.h grok.h proto.h form.h
@@ -90,14 +87,18 @@
#---------------------------------------------------------------
-Manual.ps: doc/main.dvi
- dvips -f doc/main.dvi >Manual.ps
- -rm -f doc/jobname.cont doc/main.cont doc/main.log
-
-
-doc/main.dvi: $(DOC)
- cd doc; tex main.tex; tex main.tex
- -rm -f doc/jobname.cont doc/main.cont doc/main.log
+#
+# Don't want the need to have TeX installed for the make install target !
+# -Andreas
+#
+#Manual.ps: doc/main.dvi
+# dvips -f doc/main.dvi >Manual.ps
+# -rm -f doc/jobname.cont doc/main.cont doc/main.log
+#
+#
+#doc/main.dvi: $(DOC)
+# cd doc; tex main.tex; tex main.tex
+# -rm -f doc/jobname.cont doc/main.cont doc/main.log
clean::
-rm -f y.tab.h y.tab.c lex.yy.c grok y.output *.shar*