1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/xfig-devel/files/patch-Imakefile
2005-11-17 21:16:27 +00:00

115 lines
3.7 KiB
Plaintext

--- Imakefile.orig Mon Nov 14 15:30:02 2005
+++ Imakefile Mon Nov 14 15:56:59 2005
@@ -49,16 +49,16 @@
XCOMM Uncomment the following definition for XAW3D if you want to use
XCOMM the 3d Athena Widget Set (highly recommended!)
-XCOMM #define XAW3D
+#define XAW3D
XCOMM Uncomment the following if you have David Hawkey's Xaw3D version 1.5E which has
XCOMM some new features, including "Tips", which replace xfig's "help balloons"
-XCOMM #define XAW3D1_5E
+#define XAW3D1_5E
#ifdef XAW3D1_5E
DUSEXAW3D = -DXAW3D -DXAW3D1_5E
- XAWLIB = -lXaw3d15e
+ XAWLIB = -lXaw3d
#else
XAW_SRC = w_menuentry.c SmeCascade.c SmeBSB.c SimpleMenu.c
XAW_OBJ = w_menuentry.o SmeCascade.o SmeBSB.o SimpleMenu.o
@@ -71,9 +71,9 @@
XCOMM Redefine the following if your PNG library, zlib library and/or include file
XCOMM are in different places
-PNGLIBDIR = $(USRLIBDIR)
-PNGINC = -I/usr/local/include
-ZLIBDIR = $(USRLIBDIR)
+PNGLIBDIR = $(LOCALBASE)/lib
+PNGINC = -I$(LOCALBASE)/include
+/* ZLIBDIR = $(USRLIBDIR) */
XCOMM If don't want JPEG support, comment out the #define USEJPEG line
XCOMM Uncomment the #define for USEJPEG if you want to be able to import
@@ -92,8 +92,8 @@
#ifdef USEJPEG
#ifdef USEINSTALLEDJPEG
-JPEGLIBDIR = /usr/local/lib
-JPEGINC = -I/usr/include/X11
+JPEGLIBDIR = $(LOCALBASE)/lib
+JPEGINC = -I$(LOCALBASE)/X11
#else
JPEGLIBDIR = ../jpeg
JPEGINC = -I$(JPEGLIBDIR)
@@ -116,7 +116,7 @@
#ifdef USEXPM
XPMLIBDIR = $(USRLIBDIR)
-XPMINC = -I/usr/include/X11
+XPMINC = -I$(INCDIR)/X11
#endif
XCOMM Uncomment the following definiton if you want to use the small icons
@@ -157,7 +157,7 @@
XCOMM inline functions. With the "INLINE" keyword, you should notice that
XCOMM the display will be a bit faster in complex figures
-XCOMM USEINLINE = -DUSE_INLINE
+USEINLINE = -DUSE_INLINE
XCOMM use (and change) the following if you want the multi-key data base file
XCOMM somewhere other than the standard X11 library directory
@@ -169,7 +169,7 @@
XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
-XFIGDOCDIR = /usr/share/doc/xfig
+XFIGDOCDIR = $(DOCSDIR)
XCOMM MANDIR tells where the standard man pages should go (no need to change it
XCOMM if you want the man pages installed in the standard place on your system
@@ -239,7 +239,7 @@
#endif /* USEJPEG */
#ifdef I18N
-I18N_DEFS = -DI18N -DSETLOCALE
+I18N_DEFS = -DI18N /* -DSETLOCALE */
I18N_SRC = w_i18n.c
I18N_OBJ = w_i18n.o
#endif
@@ -256,11 +256,13 @@
$(HAVE_NO_STRCASECMP) \
$(NEED_STRERROR)
+/*
#ifdef InstallManPage
#undef InstallManPage
#endif
#define InstallManPage(file,dest) @@\
InstallManPageLong(file,dest,file)
+*/
#ifdef USESMALLICONS
DUSESMALLICONS = -DUSE_SMALL_ICONS
@@ -469,13 +471,13 @@
else (set -x; $(MKDIRHIER) $(DESTDIR)$(OBJLIBDIR)/$$d/$$f/$$dd/$$l ); fi ; \
(cd $$l ; \
for m in * ; do \
- $(INSTALL) -m 644 -c $$m $(DESTDIR)$(OBJLIBDIR)/$$d/$$f/$$dd/$$l ; \
+ $(INSTALL) -m 644 -c -- $$m $(DESTDIR)$(OBJLIBDIR)/$$d/$$f/$$dd/$$l ; \
done ) ) ; \
- else ( $(INSTALL) -m 644 -c $$l $(DESTDIR)$(OBJLIBDIR)/$$d/$$f/$$dd ) ; fi ; \
+ else ( $(INSTALL) -m 644 -c -- $$l $(DESTDIR)$(OBJLIBDIR)/$$d/$$f/$$dd ) ; fi ; \
done) ) ; \
- else ( $(INSTALL) -m 644 -c $$dd $(DESTDIR)$(OBJLIBDIR)/$$d/$$f ) ; fi ; \
+ else ( $(INSTALL) -m 644 -c -- $$dd $(DESTDIR)$(OBJLIBDIR)/$$d/$$f ) ; fi ; \
done) ); \
- else ($(INSTALL) -m 644 -c $$f $(DESTDIR)$(OBJLIBDIR)/$$d ) ; fi ; \
+ else ($(INSTALL) -m 644 -c -- $$f $(DESTDIR)$(OBJLIBDIR)/$$d ) ; fi ; \
done ) ; \
done ; ) ; \
else echo No Object Libraries to install ; \