blob: bbb6a1aa52b3eeeb9ee5df54213bc6c634b1c1d6 (
plain)
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
|
# $FreeBSD$
PORTNAME= gohufont
PORTVERSION= 2.0
CATEGORIES= x11-fonts
MASTER_SITES= http://font.gohu.org/
MAINTAINER= rakuco@FreeBSD.org
COMMENT= Monospace bitmap font well suited for programming and terminal use
LICENSE= WTFPL
LICENSE_NAME= Do What The Fuck You Want To Public License, Version 2
LICENSE_FILE= ${WRKSRC}/COPYING-LICENSE
LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
FONTDIR= lib/X11/fonts/${PORTNAME}
NO_BUILD= yes
PLIST_SUB+= FONTDIR=${FONTDIR}
NO_STAGE= yes
do-install:
@${MKDIR} ${LOCALBASE}/${FONTDIR}
@${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${LOCALBASE}/${FONTDIR}
post-install:
@cd ${LOCALBASE}/${FONTDIR} && mkfontdir
@${CP} ${LOCALBASE}/${FONTDIR}/fonts.dir ${LOCALBASE}/${FONTDIR}/fonts.scale
@command fc-cache -f -v ${LOCALBASE}/${FONTDIR}
.include <bsd.port.mk>
|