aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-10-06 00:52:12 +0800
committerpawel <pawel@FreeBSD.org>2013-10-06 00:52:12 +0800
commitbebd8ef5ce7c14734cf71bde393decc69bff73ae (patch)
treeef8d301e100234219e816e79a4ba5a4492d3183e /x11-fonts
parentf58de01d74db38687316751b37ce184041dec7b8 (diff)
downloadfreebsd-ports-graphics-bebd8ef5ce7c14734cf71bde393decc69bff73ae.tar.gz
freebsd-ports-graphics-bebd8ef5ce7c14734cf71bde393decc69bff73ae.tar.zst
freebsd-ports-graphics-bebd8ef5ce7c14734cf71bde393decc69bff73ae.zip
Add support for STAGEDIR
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/freefont-ttf/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/x11-fonts/freefont-ttf/Makefile b/x11-fonts/freefont-ttf/Makefile
index ece0334dbb9..bac3f580c5a 100644
--- a/x11-fonts/freefont-ttf/Makefile
+++ b/x11-fonts/freefont-ttf/Makefile
@@ -18,24 +18,19 @@ LICENSE= GPLv3
USE_ZIP= yes
WRKSRC= ${WRKDIR}/freefont-${PORTVERSION}
-INSTALLDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
+INSTALLDIR= ${STAGEDIR}${PREFIX}/lib/X11/fonts/${PORTNAME}
PORTDOCS= AUTHORS ChangeLog CREDITS README
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-build:
cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontscale
cd ${WRKSRC} && ${LOCALBASE}/bin/mkfontdir
do-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
- ${MKDIR} ${INSTALLDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${INSTALLDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} fonts.dir fonts.scale *.ttf ${INSTALLDIR}
8b9d035'>Upgrade to 0.76.vanilla2003-04-27