Convert to USES=fonts
This commit is contained in:
parent
4ff4a2663a
commit
7753d29565
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381656
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= padauk
|
||||
PORTVERSION= 2.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=Mh_Padauk_zip&filename=/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}0
|
||||
@ -10,14 +11,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}0
|
||||
MAINTAINER= buganini@gmail.com
|
||||
COMMENT= Unicode font supporting all the Myanmar characters
|
||||
|
||||
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
FETCH_BEFORE_ARGS= -o ${DISTFILES}
|
||||
NO_BUILD= yes
|
||||
USES= zip
|
||||
USES= fonts zip
|
||||
|
||||
FONTSDIR= lib/X11/fonts/Myanmar
|
||||
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
|
||||
|
@ -2,5 +2,3 @@
|
||||
%%FONTSDIR%%/Padauk-book.ttf
|
||||
%%FONTSDIR%%/Padauk-bookbold.ttf
|
||||
%%FONTSDIR%%/Padauk.ttf
|
||||
@exec %D/bin/fc-cache -f -v %%FONTSDIR%%
|
||||
@dirrm %%FONTSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user