source: trunk/dports/graphics/xfig/files/patch-Imakefile @ 70347

Last change on this file since 70347 was 70347, checked in by ryandesign@…, 7 years ago

xfig: update to 3.2.5b (#22967, #25458), install additional documentation, add dependency on xorg-libXi (#22946), remove references to /usr/X11R6 (#17985, #19013)

File size: 2.7 KB
Line 
1--- Imakefile.orig      2009-03-30 10:53:05.000000000 -0500
2+++ Imakefile   2009-12-21 15:31:35.000000000 -0600
3@@ -30,9 +30,12 @@
4 XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
5 XCOMM for it relative to the BINDIR variable.
6 XCOMM
7-XCOMM BINDIR = /usr/bin
8-XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p
9-MKDIRHIER = mkdirhier
10+BINDIR = __PREFIX/bin
11+DESTDIR = __DESTROOT
12+MKDIRHIER = mkdirhier
13+XCOMM MKDIRHIER = mkdirhier
14+
15+EXTRA_LDOPTIONS = -L__PREFIX/lib
16 
17 XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the
18 XCOMM app-defaults resource files to go.  You will have to use the environment
19@@ -45,7 +48,7 @@
20 XCOMM different tree than the "correct" tree that your X system expects. The usual
21 XCOMM purpose of DESTDIR is to test an install process by installing in a benign area.
22 
23-XCOMM XAPPLOADDIR = /home/user/xfig
24+XAPPLOADDIR = __PREFIX/lib/X11/app-defaults
25 
26 XCOMM Comment out the following definition for XAW3D if you don't to want to use
27 XCOMM the 3d Athena Widget Set
28@@ -75,9 +78,9 @@
29 XCOMM Redefine the following if your PNG library, zlib library and/or include file
30 XCOMM are in different places
31 
32-PNGLIBDIR = $(USRLIBDIR)
33-PNGINC = -I/usr/local/include
34-ZLIBDIR = $(USRLIBDIR)
35+PNGLIBDIR = __PREFIX/lib
36+PNGINC = -I__PREFIX/include
37+ZLIBDIR = __PREFIX/lib
38 
39 XCOMM If don't want JPEG support, comment out the #define USEJPEG line
40 XCOMM Uncomment the #define for USEJPEG if you want to be able to import
41@@ -96,8 +99,8 @@
42 
43 #ifdef USEJPEG
44     #ifdef USEINSTALLEDJPEG
45-       JPEGLIBDIR = /usr/local/lib
46-       JPEGINC = -I/usr/include/X11
47+       JPEGLIBDIR = __PREFIX/lib
48+       JPEGINC = -I__PREFIX/include
49     #else
50        JPEGLIBDIR = ../jpeg
51        JPEGINC = -I$(JPEGLIBDIR)
52@@ -119,8 +122,8 @@
53 #define USEXPM_ICON
54 
55 #ifdef USEXPM
56-XPMLIBDIR = /usr/local/lib
57-XPMINC = -I/usr/local/include/X11
58+XPMLIBDIR = __PREFIX/lib
59+XPMINC = -I__PREFIX/include/X11
60 #endif
61 
62 XCOMM Uncomment the following definiton if you want to use the small icons
63@@ -169,16 +172,15 @@
64 XCOMM XFIGLIBDIR = $(LIBDIR)
65 
66 XCOMM use this if you want the multi-key data base file in the standard X11 tree
67-XFIGLIBDIR = $(LIBDIR)/xfig
68+XFIGLIBDIR = __PREFIX/lib/xfig
69 
70 XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
71 XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
72-XFIGDOCDIR = /usr/local/xfig/doc
73+XFIGDOCDIR = __PREFIX/share/doc/xfig
74 
75 XCOMM MANDIR tells where the standard man pages should go (no need to change it
76 XCOMM if you want the man pages installed in the standard place on your system
77-MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
78-XCOMM MANDIR = /usr/local/xfig/man
79+MANDIR = __PREFIX/share/man/man$(MANSUFFIX)
80 
81 XCOMM If your system doesn't have strstr undefine the following definition
82 XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR
Note: See TracBrowser for help on using the repository browser.