blob: 5401193bfa362ac1e2793a45982d964e3b717d5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $FreeBSD$
PORTNAME= comfortaa-ttf
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= http://openfontlibrary.org/assets/downloads/comfortaa/38318a69b56162733bf82bc0170b7521/
DISTNAME= comfortaa
MAINTAINER= rakuco@FreeBSD.org
COMMENT= Stylish, modern and free sans-serif true type font
LICENSE= OFL
LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_ZIP= yes
FONTDIR= lib/X11/fonts/Comfortaa
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= FONTDIR=${FONTDIR}
SUB_FILES= pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
WRKSRC= ${WRKDIR}/Comfortaa
do-build:
@cd ${WRKSRC}/ && \
${LOCALBASE}/bin/mkfontscale && \
${LOCALBASE}/bin/mkfontdir
do-install:
${MKDIR} ${PREFIX}/${FONTDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|