aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2014-06-10 00:10:07 +0000
committerMikhail Teterin <mi@FreeBSD.org>2014-06-10 00:10:07 +0000
commitcec608df974e61be7814c276bed4684784600056 (patch)
tree42b8f048c9088cfeed8262771491d18027ab7b7a /x11-fonts
parent8f8af7b64264b3cf4ccb33a7b3ffef78e830e374 (diff)
downloadports-cec608df974e61be7814c276bed4684784600056.tar.gz
ports-cec608df974e61be7814c276bed4684784600056.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/geminifonts/Makefile4
-rw-r--r--x11-fonts/geminifonts/files/patch-gz7
2 files changed, 5 insertions, 6 deletions
diff --git a/x11-fonts/geminifonts/Makefile b/x11-fonts/geminifonts/Makefile
index 141d0e2b4611..9ae683b66a79 100644
--- a/x11-fonts/geminifonts/Makefile
+++ b/x11-fonts/geminifonts/Makefile
@@ -18,8 +18,6 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-NO_STAGE= yes
-
USES= perl5
USE_PERL5= build
USE_XORG= x11
@@ -29,7 +27,7 @@ MAKE_ARGS+= -j 2
post-patch:
${REINPLACE_CMD} -e 's/\.Z/.gz/g' \
- -e 's|DESTDIR =.*|DESTDIR=${LOCALBASE}/lib/X11/fonts/koi8-u-gemini|' \
+ -e 's|DESTDIR =.*|MDESTDIR=${STAGEDIR}${LOCALBASE}/lib/X11/fonts/koi8-u-gemini|' \
${WRKSRC}/Makefile
post-install:
diff --git a/x11-fonts/geminifonts/files/patch-gz b/x11-fonts/geminifonts/files/patch-gz
index 9ca25d421b66..a5589cd13926 100644
--- a/x11-fonts/geminifonts/files/patch-gz
+++ b/x11-fonts/geminifonts/files/patch-gz
@@ -8,12 +8,13 @@
src: $(SRC)
@@ -63,6 +62,7 @@
install:
- -mkdir $(DESTDIR)
+- -mkdir $(DESTDIR)
++ -mkdir $(MDESTDIR)
- 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)
++ fonts.alias $(MDESTDIR)/
++ mkfontdir $(MDESTDIR)
package:
@@ -75 +75 @@