aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2001-12-03 20:54:48 +0800
committertaoka <taoka@FreeBSD.org>2001-12-03 20:54:48 +0800
commit7de6fe6f24c59f1d6e1a6dc43498e99117658ce0 (patch)
tree21472212ae3439b746616a36b56c5f224277f93f /graphics
parenta2f993ebecddfe1bc7a8c01939ee0e682d81e8f3 (diff)
downloadfreebsd-ports-gnome-7de6fe6f24c59f1d6e1a6dc43498e99117658ce0.tar.gz
freebsd-ports-gnome-7de6fe6f24c59f1d6e1a6dc43498e99117658ce0.tar.zst
freebsd-ports-gnome-7de6fe6f24c59f1d6e1a6dc43498e99117658ce0.zip
The directories installed tgif.mo and searched in tgif command
are mismatched. patch-ab is divided into patch-ab and patch-ac to be assigned to one file, where the former was modified to fix the above problem. Approved by: maintainer
Diffstat (limited to 'graphics')
-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)