aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/freefonts/Makefile
blob: 73e97d2820da7b50c6958efc8e4c31e81892f585 (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
# Created by: erich@FreeBSD.org
# $FreeBSD$

PORTNAME=   freefonts
PORTVERSION=    0.10
PORTREVISION=   4
CATEGORIES= x11-fonts
MASTER_SITES=   ftp://ftp.gimp.org/pub/%SUBDIR%/ \
        ftp://ftp.fh-heilbronn.de/mirrors/ftp.gimp.org/%SUBDIR%/ \
        ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org/%SUBDIR%/ \
        ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/%SUBDIR%,}
MASTER_SITE_SUBDIR= gimp/fonts

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    A collection of ATM fonts (not all free) from the CICA archives

BUILD_DEPENDS=  type1inst:${PORTSDIR}/x11-fonts/p5-type1inst

RESTRICTED= see accompanying .license files
NO_WRKSUBDIR=   yes

do-build:
    @cd ${WRKSRC}/freefont && ${LOCALBASE}/bin/type1inst -silent -quiet -nolog >/dev/null 2>&1
    @${RM} ${WRKSRC}/freefont/Fontmap.bak

do-install:
    @${MKDIR} ${PREFIX}/lib/X11/fonts/freefont
    @${INSTALL_DATA} ${WRKSRC}/freefont/* ${PREFIX}/lib/X11/fonts/freefont

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>