Convert to USES=fonts
Convert to PLIST_FILES
This commit is contained in:
parent
149ff68acf
commit
a026356d99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381624
2 changed files with 5 additions and 18 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= alef
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= http://alef.hagilda.com/
|
||||
DISTNAME= Alef
|
||||
|
@ -13,31 +13,22 @@ COMMENT= Free multi-lingual font designed for screens
|
|||
LICENSE= OFL11
|
||||
LICENSE_FILE= ${WRKSRC}/OFL-license.txt
|
||||
|
||||
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
||||
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
||||
|
||||
USES= zip
|
||||
USES= fonts zip
|
||||
USE_XORG= x11
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
||||
|
||||
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
||||
PLIST_FILES= ${FONTSDIR}/Alef-Bold.ttf \
|
||||
${FONTSDIR}/Alef-Regular.ttf
|
||||
|
||||
PORTDOCS= COMING-SOON.txt readme.txt
|
||||
|
||||
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
|
||||
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
${MV} ${WRKSRC}/--COMING-SOON--.txt ${WRKSRC}/COMING-SOON.txt
|
||||
|
||||
do-build:
|
||||
${MKFONTSCL_CMD} ${WRKSRC}/TTF
|
||||
${MKFONTDIR_CMD} ${WRKSRC}/TTF
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/TTF/* ${STAGEDIR}${FONTSDIR}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
%%FONTSDIR%%/Alef-Bold.ttf
|
||||
%%FONTSDIR%%/Alef-Regular.ttf
|
||||
%%FONTSDIR%%/fonts.dir
|
||||
%%FONTSDIR%%/fonts.scale
|
Loading…
Reference in a new issue