Import lang/erlang-runtime17 version 17.4.1
[dports.git] / x11-fonts / freefonts / Makefile
1 # Created by: erich@FreeBSD.org
2 # $FreeBSD$
3
4 PORTNAME=       freefonts
5 PORTVERSION=    0.10
6 PORTREVISION=   5
7 CATEGORIES=     x11-fonts
8 MASTER_SITES=   http://download.gimp.org/pub/%SUBDIR%/ \
9                 ftp://ftp.sunet.se/pub/gnu/%SUBDIR%/   \
10                 http://ftp.gwdg.de/pub/misc/grafik/gimp/%SUBDIR%/ \
11                 http://mirrors.xmission.com/gimp/%SUBDIR%/
12 MASTER_SITE_SUBDIR=     gimp/fonts
13
14 MAINTAINER=     olgeni@FreeBSD.org
15 COMMENT=        Collection of ATM fonts (not all free) from the CICA archives
16
17 BUILD_DEPENDS=  type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
18
19 # Some of the fonts are shareware. Some are freeware. Permission must
20 # be obtained before distributing at least four (mazama.license,
21 # muriel.license, roosthea.license, shf_____.license). Two have
22 # inconsistent licenses (tempofon.license and tempoita.license say
23 # "placed into the public domain and may [not be] sold")
24
25 RESTRICTED=     License prohibits redistribution; see individual .license files
26
27 NO_WRKSUBDIR=   yes
28
29 FONTDIR?=       ${PREFIX}/lib/X11/fonts/freefont
30 PLIST_SUB=      FONTDIR="${FONTDIR:S|${PREFIX}/||}"
31
32 do-build:
33         @cd ${WRKSRC}/freefont && ${LOCALBASE}/bin/type1inst -silent -quiet -nolog >/dev/null 2>&1
34         @${RM} ${WRKSRC}/freefont/Fontmap.bak
35
36 do-install:
37         @${MKDIR} ${STAGEDIR}${FONTDIR}
38         ${INSTALL_DATA} ${WRKSRC}/freefont/* ${STAGEDIR}${FONTDIR}
39
40 .include <bsd.port.mk>