aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-10-05 16:52:12 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-10-05 16:52:12 +0000
commitdfc33c10af014a95ed4141eed272f8fffa1d93d0 (patch)
treeef8d301e100234219e816e79a4ba5a4492d3183e /x11-fonts
parent7c71d503f05831e1179ca940efaad669af91527d (diff)
downloadports-dfc33c10af014a95ed4141eed272f8fffa1d93d0.tar.gz
ports-dfc33c10af014a95ed4141eed272f8fffa1d93d0.zip
Notes
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 ece0334dbb95..bac3f580c5a9 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}