aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/ubuntu-font
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2014-04-25 23:28:13 +0800
committerkevlo <kevlo@FreeBSD.org>2014-04-25 23:28:13 +0800
commite4d397c2a39b95c180423f171cd180fd4b19ced7 (patch)
treef80222e00e65a2c97258f97fd8c4f9f8ba37ac92 /x11-fonts/ubuntu-font
parentb6c4f2134c6decf8c66008ae0686625fdf0ae6bf (diff)
downloadfreebsd-ports-gnome-e4d397c2a39b95c180423f171cd180fd4b19ced7.tar.gz
freebsd-ports-gnome-e4d397c2a39b95c180423f171cd180fd4b19ced7.tar.zst
freebsd-ports-gnome-e4d397c2a39b95c180423f171cd180fd4b19ced7.zip
Stage support.
Diffstat (limited to 'x11-fonts/ubuntu-font')
-rw-r--r--x11-fonts/ubuntu-font/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/x11-fonts/ubuntu-font/Makefile b/x11-fonts/ubuntu-font/Makefile
index 9187b620233a..1cbfcec7d143 100644
--- a/x11-fonts/ubuntu-font/Makefile
+++ b/x11-fonts/ubuntu-font/Makefile
@@ -29,18 +29,10 @@ SUB_FILES= pkg-message
SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/${DISTNAME}
-NO_STAGE= yes
do-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} *.txt ${DOCSDIR}
-.endif
- ${MKDIR} ${FONTSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${FONTSDIR}
-
-post-install:
- @${ECHO_MSG} "===> Running fc-cache"
- -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} *.txt ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>