Ticket #50266: tgif.patch
File tgif.patch, 2.5 KB (added by jmroot (Joshua Root), 9 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name tgif 5 version 4.1.42 6 revision 2 5 version 4.2.5 7 6 description Basic vector drawing package 8 7 categories graphics x11 9 8 maintainers mac.com:mdales 10 homepage http://bourbon.usc.edu :8001/tgif/9 homepage http://bourbon.usc.edu/tgif/ 11 10 platforms darwin 12 11 master_sites ftp://bourbon.usc.edu/pub/tgif/ 13 12 distname tgif-QPL-${version} 14 checksums md5 83b1cd01b1570fbf71ea5994af87f42e 13 checksums rmd160 e1d29c6a83f16e8d0204ecdb3bbb986bcb703260 \ 14 sha256 2f24e9fecafae6e671739bd80691a06c9d032bdd1973ca164823e72ab1c567ba 15 15 use_xmkmf yes 16 16 patchfiles patch-Tgif.tmpl patch-Imakefile 17 17 -
files/patch-Tgif.tmpl
1 --- /tmp/Tgif.tmpl Wed Jan 15 14:54:28 2003 2 +++ Tgif.tmpl Wed Jan 15 14:55:17 2003 3 @@ -39,9 +39,10 @@ 1 --- Tgif.tmpl.orig 2014-09-28 22:01:20.000000000 -0700 2 +++ Tgif.tmpl 2014-09-28 22:03:01.000000000 -0700 3 @@ -38,11 +38,12 @@ PROGRAMS = tgif XCOMM prtgif frontend11. 4 TGIFDIR = $(LIBDIR)/tgif 4 5 XCOMM CDEBUGFLAGS= -g -Wall 5 6 XCOMM INSTPGMFLAGS= -s 6 -XCOMM BINDIR = /u/halfmoon/bin7 -XCOMM MANPATH = /u/halfmoon/man8 -XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif9 +BINDIR = PREFIX/bin10 +MANPATH = PREFIX/share/man11 +DOCDIR = PREFIX/lib/X11/doc12 +TGIFDIR = PREFIX/lib/X11/tgif7 -XCOMM BINDIR = ${HOME}/bin 8 -XCOMM MANPATH = ${HOME}/man 9 -XCOMM TGIFDIR = ${HOME}/lib/X11/tgif 10 +BINDIR = PREFIX/bin 11 +MANPATH = PREFIX/share/man 12 +DOCDIR = PREFIX/lib/X11/doc 13 +TGIFDIR = PREFIX/lib/X11/tgif 13 14 XCOMM MOREDEFINES = -D_HAS_STREAMS_SUPPORT -DENABLE_NLS -D_TGIF_DBG 14 15 -LOCALEDIR = /usr/share/locale 15 16 +LOCALEDIR = PREFIX/share/locale 16 17 DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\ 17 18 -DLOCALEDIR=\"$(LOCALEDIR)\" \@@\ 18 @@ -65,5 +65,5 @@ 19 LOCAL_LIBRARIES = $(XLIB) 19 -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\ 20 @@ -62,7 +63,7 @@ XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 DEPLIBS = $(DEPXLIB) $(DEPXTOOLLIB) $(DEPXMULIB) 22 LOCAL_LIBRARIES = $(XLIB) $(XTOOLLIB) $(XMULIB) 20 23 XCOMM LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB) 21 -SYS_LIBRARIES = -ldl -lm 22 +SYS_LIBRARIES = -l m23 XCOMM SYS_LIBRARIES = -lm 24 -SYS_LIBRARIES = -ldl -lm -lz -lpthread -lidn 25 +SYS_LIBRARIES = -lz 26 XCOMM SYS_LIBRARIES = -lm -lz 24 27 28 XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ XCOMM