Change the software's Makefile to run `mkfontdir' in the destination
directory after install instead of the ${WRKSRC} after build. This works around a bug in Xorg's mkfontdir, which lists both -- the bdf-sources and the pcf-binary fonts -- in the generated fonts.dir.
This commit is contained in:
parent
d5a8ad9d47
commit
d547be1c47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138920
2 changed files with 18 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= gemini
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= http://www.brama.com/compute/unix/
|
||||
PKGNAMEPREFIX= koi8-u-
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
--- Makefile Sun Dec 31 11:22:34 1995
|
||||
+++ Makefile Sun Jan 21 11:54:00 2001
|
||||
+++ Makefile Mon Jul 11 12:37:08 2005
|
||||
@@ -53,5 +53,4 @@
|
||||
|
||||
all: $(SRC) $(ROMAN) $(SLANT) $(BOLD) $(BSLANT) $(FIXED)
|
||||
- mkfontdir .
|
||||
|
||||
src: $(SRC)
|
||||
@@ -63,6 +62,7 @@
|
||||
install:
|
||||
-mkdir $(DESTDIR)
|
||||
- for i in $(ROMAN) $(SLANT) $(BOLD) $(BSLANT) $(FIXED) fonts.dir fonts.alias;\
|
||||
- do install -c -m 444 $$i $(DESTDIR)/$$i; done
|
||||
+ ${BSD_INSTALL_DATA} $(ROMAN) $(SLANT) $(BOLD) $(BSLANT) $(FIXED) \
|
||||
+ fonts.alias $(DESTDIR)/
|
||||
+ mkfontdir $(DESTDIR)
|
||||
|
||||
package:
|
||||
@@ -75 +75 @@
|
||||
- bdftopcf -t $< | compress > $@
|
||||
+ bdftopcf -t $< | gzip -9 > $@
|
||||
|
|
Loading…
Reference in a new issue