mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
1b8dc801cc
PR: 25559 Submitted by: maintainer
27 lines
930 B
Plaintext
27 lines
930 B
Plaintext
--- Imakefile.orig Thu Feb 13 23:04:51 1997
|
|
+++ Imakefile Wed Feb 28 00:15:00 2001
|
|
@@ -24,7 +24,7 @@
|
|
FontObj(3270gt24) FontObj(3270gt24b) \
|
|
FontObj(3270gt32) FontObj(3270gt32b)
|
|
|
|
- FONTINSTDIR = $(FONTDIR)/misc
|
|
+ FONTINSTDIR = $(FONTDIR)/local
|
|
|
|
LIBX3270DIR = $(LIBDIR)/x3270
|
|
HOSTSFILE = ibm_hosts
|
|
@@ -104,7 +104,13 @@
|
|
install:: $(DESTDIR)$(FONTINSTDIR)/fonts.dir
|
|
$(DESTDIR)$(FONTINSTDIR)/fonts.dir::
|
|
-chmod u+w $(DESTDIR)$(FONTINSTDIR) $(DESTDIR)$(FONTINSTDIR)/fonts.dir
|
|
- $(BINDIR)/$(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR)
|
|
+ if [ -x $(BINDIR)/$(MKFONTDIR) ]; then \
|
|
+ $(BINDIR)/$(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR); \
|
|
+ elif [ -x $(MKFONTDIR) ]; then \
|
|
+ $(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR); \
|
|
+ else \
|
|
+ echo "*** mkfontdir not found -- please run manually ***"; \
|
|
+ fi
|
|
chmod u=rwx,go=rx $(DESTDIR)$(FONTINSTDIR)
|
|
chmod a=r $(DESTDIR)$(FONTINSTDIR)/fonts.dir
|
|
|