1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/x11-fonts/gentium-basic/Makefile
Pav Lucistnik cb4aae4193 Gentium is a typeface family designed to enable the diverse ethnic
groups around the world who use the Latin script to produce readable,
high-quality publications. It supports a wide range of Latin-based
alphabets and includes glyphs that correspond to all the Latin ranges
of Unicode.

WWW: http://scripts.sil.org/gentium

PR:		ports/139340
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
2009-12-07 08:36:58 +00:00

71 lines
1.7 KiB
Makefile

# New ports collection makefile for: Gentium Font Family
# Date created: March 31 2004
# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk>
#
# $FreeBSD$
#
# This port is shamelessly copied from Joe Marcus Clarke's bitstream-vera
# port.
PORTNAME= gentium-basic
PORTVERSION= 1.1.0
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GentiumBasic_${PORTVERSION:C@\.@@g}_tar&filename=/
DISTNAME= ttf-sil-${PORTNAME}_${PORTVERSION:C@\.[[:digit:]]+$@@}.orig
MAINTAINER= m.seaman@infracaninophile.co.uk
COMMENT= Gentium Basic and Gentium Book Basic TrueType fonts
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
NO_BUILD= yes
WRKSRC= ${WRKDIR}/ttf-sil-${PORTNAME}-${PORTVERSION:C@\.[[:digit:]]+$@@}
PLIST_SUB= FONTSDIR="${FONTSDIR}" \
FONTNAME="${FONTNAME}"
SUB_LIST= "FONTSDIR=${FONTSDIR}"
SUB_FILES= pkg-message
#
# Local variables
#
FONTNAME= ${PORTNAME}
FONTSDIR?= lib/X11/fonts/${FONTNAME}
FONTSTGT= ${PREFIX}/${FONTSDIR}
DOCSLIST= FONTLOG.txt GENTIUM-FAQ.txt OFL-FAQ.txt
.SILENT:
#
# Install
#
do-install: install-fonts install-docs
install-fonts:
${MKDIR} ${FONTSTGT}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSTGT}
${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTSTGT}
${INSTALL_DATA} ${WRKSRC}/OFL.txt ${FONTSTGT}
install-docs:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@for doc in ${DOCSLIST} ; do \
${INSTALL_DATA} ${WRKSRC}/$$doc ${DOCSDIR} ; \
done
.endif
post-install:
${ECHO_MSG} "===> Running fc-cache"
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSTGT}
${ECHO_MSG}
${CAT} ${PKGMESSAGE}
${ECHO_MSG}
.include <bsd.port.mk>