diff options
author | pawel <pawel@FreeBSD.org> | 2013-10-06 00:52:12 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-10-06 00:52:12 +0800 |
commit | bebd8ef5ce7c14734cf71bde393decc69bff73ae (patch) | |
tree | ef8d301e100234219e816e79a4ba5a4492d3183e /x11-fonts | |
parent | f58de01d74db38687316751b37ce184041dec7b8 (diff) | |
download | freebsd-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/Makefile | 13 |
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} |