mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
0b4d835b3a
PR: 16381 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> Approved by: maintainer <chuckr@freebsd.org>
71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
--- fig2dev/Imakefile.orig Fri Jan 14 12:59:04 2000
|
|
+++ fig2dev/Imakefile Sat Jan 22 09:16:13 2000
|
|
@@ -27,7 +27,7 @@
|
|
XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
|
|
XCOMM and installed xfig. This will be made automatic in the future.
|
|
|
|
-XFIGLIBDIR = /usr/local/lib/X11/xfig
|
|
+XFIGLIBDIR = $(LIBDIR)/xfig
|
|
|
|
XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
|
|
XCOMM comment out NEED_STRERROR with an XCOMM comment.
|
|
@@ -38,7 +38,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 Change RGB if necessary, to point to your rgb.txt color database
|
|
XCOMM file (for X11). This is needed for the -g (background color) option.
|
|
@@ -54,11 +54,11 @@
|
|
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
|
|
XCOMM
|
|
|
|
-XCOMM #define USEXPM
|
|
+#define USEXPM
|
|
|
|
#ifdef USEXPM
|
|
XPMLIBDIR = $(USRLIBDIR)
|
|
-XPMINC = -I/usr/include/X11
|
|
+XPMINC = -I$(INCDIR)/X11
|
|
#endif
|
|
|
|
XCOMM For Linux machines or any machines that have a separate library for
|
|
@@ -87,8 +87,8 @@
|
|
|
|
#ifdef USEJPEG
|
|
#ifdef USEINSTALLEDJPEG
|
|
-JPEGLIBDIR = /usr/local/lib
|
|
-JPEGINCDIR = /usr/include/X11
|
|
+JPEGLIBDIR = %%LOCALBASE%%/lib
|
|
+JPEGINCDIR = %%LOCALBASE%%/include
|
|
#else
|
|
JPEGLIBDIR = ../jpeg
|
|
JPEGINCDIR = $(JPEGLIBDIR)
|
|
@@ -127,12 +127,12 @@
|
|
|
|
XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig.
|
|
|
|
-XCOMM #define I18N
|
|
+#define I18N
|
|
|
|
#ifdef I18N
|
|
I18N_DEFS = -DI18N
|
|
-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
|
|
-I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"'
|
|
+FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
|
|
+I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(FIG2DEV_LIBDIR)\"'
|
|
|
|
install::
|
|
[ -d $(FIG2DEV_LIBDIR) ] || mkdir $(FIG2DEV_LIBDIR)
|
|
@@ -177,7 +177,7 @@
|
|
DUSEJPEG = -DUSE_JPEG
|
|
|
|
#ifdef USEINSTALLEDJPEG
|
|
-JPEGLIBDIR = /usr/local/lib
|
|
+JPEGLIBDIR = %%LOCALBASE%%/lib
|
|
JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
|
|
#else
|
|
XCOMM this is relative to this directory (transfig/fig2dev)
|