aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/gnu-unifont/Makefile
blob: 6d05794e2d37bd9f544069505dbd36b7684963ff (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
# New ports collection makefile for:    gnu-unifont
# Date created:             Feb 23 2008
# Whom:                 nrg milk <bsdports@gmail.com>
#
# $FreeBSD$

PORTNAME=   gnu-unifont
PORTVERSION=    1.0.0
CATEGORIES= sysutils
MASTER_SITES=   http://chirashi-no-ura.net/files/
DISTNAME=   unifont.hex
EXTRACT_SUFX=   .tar.bz

MAINTAINER= bsdports@gmail.com
COMMENT=    Unicode font

BUILD_DEPENDS=  bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf

USE_PERL=   5.8
NO_BUILD=   yes
PLIST_FILES=    lib/X11/fonts/local/unifont.pcf.gz

do-install:
    ${CHMOD} +x ${FILESDIR}/hex2bdf
    ${CAT} ${WRKDIR}/unifont.hex | ${FILESDIR}/hex2bdf | ${LOCALBASE}/bin/bdftopcf | ${GZIP_CMD} > ${WRKDIR}/unifont.pcf.gz
    ${CP} ${WRKDIR}/unifont.pcf.gz ${LOCALBASE}/lib/X11/fonts/local/unifont.pcf.gz

.include <bsd.port.mk>