aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-11 14:24:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-11 14:24:20 +0000
commit36c3688fa1522b5c57c505aaf123b27e8f976d0d (patch)
tree995e8e504cad0f8bce0e50e3e6eb670bf6f58946 /x11-fonts
parent628f1929e2a7a03e58e2199893d1fe3d9d642d3a (diff)
downloadports-36c3688fa1522b5c57c505aaf123b27e8f976d0d.tar.gz
ports-36c3688fa1522b5c57c505aaf123b27e8f976d0d.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/terminus-font/Makefile11
-rw-r--r--x11-fonts/terminus-font/pkg-plist4
2 files changed, 3 insertions, 12 deletions
diff --git a/x11-fonts/terminus-font/Makefile b/x11-fonts/terminus-font/Makefile
index 24349fe75e03..b2428e723e4f 100644
--- a/x11-fonts/terminus-font/Makefile
+++ b/x11-fonts/terminus-font/Makefile
@@ -31,7 +31,6 @@ TD1_DESC= Variant with centered '~'
SUB_LIST= FONTDIR="${PREFIX}/${FONTDIR}"
SUB_FILES= pkg-message
-NO_STAGE= yes
.include <bsd.port.options.mk>
ALL_TARGET= pcf
@@ -77,13 +76,7 @@ post-build:
@${GZIP_CMD} ${WRKSRC}/*.pcf
do-install:
- @${MKDIR} ${PREFIX}/${FONTDIR}
- @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/${FONTDIR}
-
-post-install:
- @cd ${PREFIX}/${FONTDIR}; mkfontdir
- @${CP} ${PREFIX}/${FONTDIR}/fonts.dir ${PREFIX}/${FONTDIR}/fonts.scale || true
- @command fc-cache -f -v ${PREFIX}/${FONTDIR} || true
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}
+ @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${PREFIX}/${FONTDIR}
.include <bsd.port.mk>
diff --git a/x11-fonts/terminus-font/pkg-plist b/x11-fonts/terminus-font/pkg-plist
index fccb9c97cf73..a843dc15d791 100644
--- a/x11-fonts/terminus-font/pkg-plist
+++ b/x11-fonts/terminus-font/pkg-plist
@@ -1,5 +1,3 @@
-%%FONTDIR%%/fonts.dir
-%%FONTDIR%%/fonts.scale
%%FONTDIR%%/ter-524b.pcf.gz
%%FONTDIR%%/ter-k12b.pcf.gz
%%FONTDIR%%/ter-216b.pcf.gz
@@ -234,4 +232,4 @@
%%FONTDIR%%/ter-u18n.pcf.gz
%%FONTDIR%%/ter-x18b.pcf.gz
%%FONTDIR%%/ter-x18n.pcf.gz
-@dirrm %%FONTDIR%%
+@fcfontsdir %%FONTDIR%%