# Created by: bf # $FreeBSD$ PORTNAME= DoulosSIL PORTVERSION= 4.112 CATEGORIES= x11-fonts MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=${MEDIA_ID}&filename=/ \ LOCAL/bf MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory MAINTAINER= bf@FreeBSD.org COMMENT= Doulos SIL TrueType font collection LICENSE= OFL11 USES= zip XORG_CAT= font FONTROOTDIR= ${PREFIX}/lib/X11/fonts INSTALLS_TTF= yes MEDIA_ID= ${DISTNAME}${EXTRACT_SUFX} NO_BUILD= yes PLIST_FILES= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-R.ttf OPTIONS_DEFINE= DOCS .include PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}" SUB_FILES= pkg-message do-configure: @${DO_NADA} do-install: @${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR} @(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}) .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .endif .include