1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/japanese/font-mona/files/patch-Makefile
MANTANI Nobutaka 1322f330bd - Install font files to ${FONTSDIR} instead of ${DATADIR}.
- Stop to make symbolic links from the font files to
  ${PREFIX}/share/fonts/misc/, which is found in the default
  font path, because recent libXfont does not follow symbolic
  links.
- Add pkg-message.in to show additional font path settings.
- Remove unnecessary pkg-install.in.
- Bump PORTREVISION.

PR:		225125 [1], 226519 [2]
Submitted by:	WATANABE Kazuhiro <CQG00620@nifty.ne.jp> [2]
Reported by:	Shigeharu TAKENO <shige@iee.niit.ac.jp> [1]
2018-03-11 14:57:29 +00:00

27 lines
705 B
Plaintext

--- Makefile.orig 2003-09-10 02:54:10 UTC
+++ Makefile
@@ -18,11 +18,10 @@ GZIP_SUFFIX = gz
#GZIP_SUFFIX = Z
DESTDIR =
-X11BINDIR = /usr/X11R6/bin
-X11FONTDIR = $(DESTDIR)/usr/X11R6/lib/X11/fonts/local
-BDFTOPCF = $(X11BINDIR)/bdftopcf
-MKDIRHIER = $(X11BINDIR)/mkdirhier # 'mkdir -p' may also work.
-MKFONTDIR = $(X11BINDIR)/mkfontdir
+X11FONTDIR = $(DESTDIR)$(FONTSDIR)
+BDFTOPCF = bdftopcf
+MKDIRHIER = mkdir -p # 'mkdir -p' may also work.
+MKFONTDIR = mkfontdir
MY_RPM_ROOT = /tmp/rpm-root
@@ -258,7 +257,6 @@ install: bdf
$(BDFTOPCF) dist/$$i.bdf | \
$(GZIP_CMD) -c > $(X11FONTDIR)/$$i.pcf.$(GZIP_SUFFIX); \
done
- $(MKFONTDIR) $(X11FONTDIR)
# append fonts.alias
install-alias: