aboutsummaryrefslogtreecommitdiff
path: root/graphics/tgif-nls
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2001-12-03 12:54:48 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2001-12-03 12:54:48 +0000
commit821c5b66a21cf6d9549af0c9b343040b727dfbb0 (patch)
tree4737a210b2a5038d2aaa1a83be6737f77ff0f524 /graphics/tgif-nls
parent2ffd2151d8b8803e39ce5b7514bbfbc3f9ac9569 (diff)
downloadports-821c5b66a21cf6d9549af0c9b343040b727dfbb0.tar.gz
ports-821c5b66a21cf6d9549af0c9b343040b727dfbb0.zip
Notes
Diffstat (limited to 'graphics/tgif-nls')
-rw-r--r--graphics/tgif-nls/Makefile1
-rw-r--r--graphics/tgif-nls/files/patch-ab23
-rw-r--r--graphics/tgif-nls/files/patch-ac9
3 files changed, 21 insertions, 12 deletions
diff --git a/graphics/tgif-nls/Makefile b/graphics/tgif-nls/Makefile
index 08b790fbf768..747d0d7a5675 100644
--- a/graphics/tgif-nls/Makefile
+++ b/graphics/tgif-nls/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tgif
PORTVERSION= 4.1.41
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://bourbon.cs.umd.edu/pub/tgif/ \
ftp://ftp.cs.ucla.edu/pub/tgif/ \
diff --git a/graphics/tgif-nls/files/patch-ab b/graphics/tgif-nls/files/patch-ab
index 2e938471520c..76ee24c3ad1e 100644
--- a/graphics/tgif-nls/files/patch-ab
+++ b/graphics/tgif-nls/files/patch-ab
@@ -1,5 +1,5 @@
---- Tgif.tmpl.orig Wed Oct 24 07:09:18 2001
-+++ Tgif.tmpl Wed Oct 24 07:10:48 2001
+--- Tgif.tmpl.orig Mon Dec 3 09:25:01 2001
++++ Tgif.tmpl Mon Dec 3 09:28:36 2001
@@ -41,6 +41,9 @@
XIMPDEFINES =
#endif
@@ -10,6 +10,15 @@
PROGRAMS = tgif XCOMM prtgif frontend11.o testdrive
TGIFDIR = $(LIBDIR)/tgif
XCOMM CDEBUGFLAGS= -g -Wall
+@@ -48,7 +51,7 @@
+ XCOMM BINDIR = /u/halfmoon/bin
+ XCOMM MANPATH = /u/halfmoon/man
+ XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif
+-LOCALEDIR = /usr/share/locale
++LOCALEDIR = $(PREFIX)/share/locale
+ DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
+ -DLOCALEDIR=\"$(LOCALEDIR)\" \@@\
+ -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\
@@ -61,14 +64,16 @@
MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
-D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP \@@\
@@ -29,13 +38,3 @@
SYS_LIBRARIES = -lm
+EXTRA_INCLUDES += -I$(LOCALBASE)/include
+EXTRA_LIBRARIES += -L$(LOCALBASE)/lib -lintl
-
---- po/Po.tmpl.orig Sat Jun 17 02:35:00 2000
-+++ po/Po.tmpl Sat Jun 17 02:35:26 2000
-@@ -8,5 +8,5 @@
- MKINSTALLDIRS = install -d
-
- DESTDIR =
--SYSNLSDIR = /usr/share/locale
-+SYSNLSDIR = $(PREFIX)/share/locale
- NLSDIR = $(DESTDIR)$(SYSNLSDIR)
diff --git a/graphics/tgif-nls/files/patch-ac b/graphics/tgif-nls/files/patch-ac
new file mode 100644
index 000000000000..01fd642f23a7
--- /dev/null
+++ b/graphics/tgif-nls/files/patch-ac
@@ -0,0 +1,9 @@
+--- po/Po.tmpl.orig Sat Jun 17 02:35:00 2000
++++ po/Po.tmpl Sat Jun 17 02:35:26 2000
+@@ -8,5 +8,5 @@
+ MKINSTALLDIRS = install -d
+
+ DESTDIR =
+-SYSNLSDIR = /usr/share/locale
++SYSNLSDIR = $(PREFIX)/share/locale
+ NLSDIR = $(DESTDIR)$(SYSNLSDIR)