Convert to USES=fonts

This commit is contained in:
Baptiste Daroussin 2015-03-20 16:42:34 +00:00
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

View file

@ -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}

View file

@ -5,4 +5,3 @@
%%FONTSDIR%%/Hasklig-Medium.otf
%%FONTSDIR%%/Hasklig-Regular.otf
%%FONTSDIR%%/Hasklig-Semibold.otf
@fc %%FONTSDIR%%