diff options
author | bsam <bsam@FreeBSD.org> | 2014-07-03 02:31:49 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2014-07-03 02:31:49 +0800 |
commit | 80579ba9ba5824a52ceb5a30a4b6fa7cdf3eac58 (patch) | |
tree | 35abf4155c6fdadd60200117c5ad57af0d312f4e /x11-fonts/profont | |
parent | 0fddb8ddf931fe30e7f52dabcec4e30a72e53c51 (diff) | |
download | freebsd-ports-gnome-80579ba9ba5824a52ceb5a30a4b6fa7cdf3eac58.tar.gz freebsd-ports-gnome-80579ba9ba5824a52ceb5a30a4b6fa7cdf3eac58.tar.zst freebsd-ports-gnome-80579ba9ba5824a52ceb5a30a4b6fa7cdf3eac58.zip |
x11-fonts/paratype,x11-fonts/profont: STAGEify
Diffstat (limited to 'x11-fonts/profont')
-rw-r--r-- | x11-fonts/profont/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/x11-fonts/profont/Makefile b/x11-fonts/profont/Makefile index 409661475889..434a1a7752ba 100644 --- a/x11-fonts/profont/Makefile +++ b/x11-fonts/profont/Makefile @@ -3,30 +3,26 @@ PORTNAME= profont PORTVERSION= 400 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= http://www.tobiasjung.net/dl/ DISTNAME= ${PORTNAME}-x11 MAINTAINER= ports@FreeBSD.org -COMMENT= Profont - The ultimate programming font. +COMMENT= Ultimate programming font BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - fc-cache:${PORTSDIR}/x11-fonts/fontconfig + mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale FONTDIR= lib/X11/fonts/${PORTNAME} PLIST_SUB+= FONTDIR=${FONTDIR} -NO_STAGE= yes do-build: ${GZIP_CMD} ${WRKSRC}/*.pcf do-install: - ${MKDIR} ${LOCALBASE}/${FONTDIR} - ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${LOCALBASE}/${FONTDIR} - -post-install: - @cd ${LOCALBASE}/${FONTDIR}; mkfontdir - @${CP} ${LOCALBASE}/${FONTDIR}/fonts.dir ${LOCALBASE}/${FONTDIR}/fonts.scale || true - @command fc-cache -f -v ${LOCALBASE}/${FONTDIR} || true + @${MKDIR} ${STAGEDIR}${LOCALBASE}/${FONTDIR} + ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${STAGEDIR}${LOCALBASE}/${FONTDIR} + (cd ${STAGEDIR}${LOCALBASE}/${FONTDIR}; mkfontdir; mkfontscale) .include <bsd.port.mk> |