From bebd8ef5ce7c14734cf71bde393decc69bff73ae Mon Sep 17 00:00:00 2001 From: pawel Date: Sat, 5 Oct 2013 16:52:12 +0000 Subject: Add support for STAGEDIR --- x11-fonts/freefont-ttf/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'x11-fonts') 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 - 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} -- cgit ame='h' onchange='this.form.submit();'> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines