Convert to USES=fonts
This commit is contained in:
parent
aaae4499eb
commit
3f1d8b884e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381750
2 changed files with 2 additions and 8 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= hasklig
|
||||
PORTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= https://github.com/i-tu/Hasklig/releases/download/${PORTVERSION}/
|
||||
DISTNAME= Hasklig-${PORTVERSION}
|
||||
|
@ -10,16 +11,10 @@ DISTNAME= Hasklig-${PORTVERSION}
|
|||
MAINTAINER= 6yearold@gmail.com
|
||||
COMMENT= Haskell code font with monospaced ligatures
|
||||
|
||||
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
USES= zip
|
||||
USES= fonts zip
|
||||
NO_BUILD= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
||||
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${FONTSDIR}
|
||||
cd ${WRKDIR} && ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTSDIR}
|
||||
|
|
|
@ -5,4 +5,3 @@
|
|||
%%FONTSDIR%%/Hasklig-Medium.otf
|
||||
%%FONTSDIR%%/Hasklig-Regular.otf
|
||||
%%FONTSDIR%%/Hasklig-Semibold.otf
|
||||
@fc %%FONTSDIR%%
|
||||
|
|
Loading…
Reference in a new issue