aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-04 19:03:42 +0800
committermiwi <miwi@FreeBSD.org>2014-06-04 19:03:42 +0800
commitd140ba5f4c387b8423bddf5062ac3ec7dd15aa01 (patch)
treea90214622ccb79793717a8c6afac3dd41abccf1c /x11-fonts
parentfbab8905ad8f88ee95cd833c3d453ce0986cd9a8 (diff)
downloadfreebsd-ports-gnome-d140ba5f4c387b8423bddf5062ac3ec7dd15aa01.tar.gz
freebsd-ports-gnome-d140ba5f4c387b8423bddf5062ac3ec7dd15aa01.tar.zst
freebsd-ports-gnome-d140ba5f4c387b8423bddf5062ac3ec7dd15aa01.zip
- Stage support
PR: 190173 Submitted by
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/webfonts/Makefile23
1 files changed, 6 insertions, 17 deletions
diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile
index c8ac6fb7a068..e2fbfd831bed 100644
--- a/x11-fonts/webfonts/Makefile
+++ b/x11-fonts/webfonts/Makefile
@@ -44,7 +44,6 @@ SUB_FILES= pkg-message
FONTS_FILE= ${WRKDIR}/fonts.dir
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if defined(WITH_MSWINDOWS_LICENSE)
@@ -85,21 +84,11 @@ PLIST_SUB+= EXTRAFONTS="@comment "
# Install
#
do-install:
- ${MKDIR} ${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
- ${INSTALL_DATA} ${FONTS_FILE} ${FONTSDIR}
- ${INSTALL_DATA} ${FONTS_FILE} ${FONTSDIR}/fonts.scale
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/licen.txt ${DOCSDIR}/LICENSE
-
-#
-# Post-install
-#
-post-install:
- ${ECHO_MSG} "===> Running fc-cache"
- -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
- ${ECHO_MSG}
- ${CAT} ${PKGMESSAGE}
- ${ECHO_MSG}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${FONTS_FILE} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${FONTS_FILE} ${STAGEDIR}${FONTSDIR}/fonts.scale
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/licen.txt ${STAGEDIR}${DOCSDIR}/LICENSE
.include <bsd.port.post.mk>