freebsd-ports/x11-fonts/freefonts/Makefile
2014-05-18 13:11:44 +00:00

40 lines
1.3 KiB
Makefile

# Created by: erich@FreeBSD.org
# $FreeBSD$
PORTNAME= freefonts
PORTVERSION= 0.10
PORTREVISION= 5
CATEGORIES= x11-fonts
MASTER_SITES= http://download.gimp.org/pub/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/gnu/%SUBDIR%/ \
http://ftp.gwdg.de/pub/misc/grafik/gimp/%SUBDIR%/ \
http://mirrors.xmission.com/gimp/%SUBDIR%/
MASTER_SITE_SUBDIR= gimp/fonts
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Collection of ATM fonts (not all free) from the CICA archives
BUILD_DEPENDS= type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
# Some of the fonts are shareware. Some are freeware. Permission must
# be obtained before distributing at least four (mazama.license,
# muriel.license, roosthea.license, shf_____.license). Two have
# inconsistent licenses (tempofon.license and tempoita.license say
# "placed into the public domain and may [not be] sold")
RESTRICTED= License prohibits redistribution; see individual .license files
NO_WRKSUBDIR= yes
FONTDIR?= ${PREFIX}/lib/X11/fonts/freefont
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
do-build:
@cd ${WRKSRC}/freefont && ${LOCALBASE}/bin/type1inst -silent -quiet -nolog >/dev/null 2>&1
@${RM} ${WRKSRC}/freefont/Fontmap.bak
do-install:
@${MKDIR} ${STAGEDIR}${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/freefont/* ${STAGEDIR}${FONTDIR}
.include <bsd.port.mk>