1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

1: Stagify.

2: use @fontsdir
3: add depends to makefontscale, bump version.
This commit is contained in:
Vanilla I. Shu 2014-07-04 14:56:54 +00:00
parent cc2a3e91df
commit fd7eddfebe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360631
2 changed files with 9 additions and 10 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= montecarlo_fonts
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://bok.net/MonteCarlo/downloads/ \
http://mirror.4bit.ws/
@ -12,21 +13,16 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A monospace font
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_XORG= x11
NO_BUILD= yes
FONTDIR= ${PREFIX}/lib/X11/fonts/montecarlo
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
PLIST_FILES= lib/X11/fonts/montecarlo/fonts.dir \
lib/X11/fonts/montecarlo//MonteCarloBold.pcf \
lib/X11/fonts/montecarlo//MonteCarloMedium.pcf
PLIST_DIRS= lib/X11/fonts/montecarlo
NO_STAGE= yes
do-install:
@${MKDIR} ${FONTDIR}
@${INSTALL_DATA} ${WRKSRC}/*.pcf ${FONTDIR}
@(cd ${FONTDIR}; mkfontdir)
@${MKDIR} ${STAGEDIR}${FONTDIR}
@${INSTALL_DATA} ${WRKSRC}/*.pcf ${STAGEDIR}${FONTDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
%%FONTDIR%%/MonteCarloBold.pcf
%%FONTDIR%%/MonteCarloMedium.pcf
@fontsdir %%FONTDIR%%