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:
parent
cc2a3e91df
commit
fd7eddfebe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360631
@ -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>
|
||||
|
3
x11-fonts/montecarlo_fonts/pkg-plist
Normal file
3
x11-fonts/montecarlo_fonts/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%FONTDIR%%/MonteCarloBold.pcf
|
||||
%%FONTDIR%%/MonteCarloMedium.pcf
|
||||
@fontsdir %%FONTDIR%%
|
Loading…
Reference in New Issue
Block a user