1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/x11-fonts/doulos/Makefile

47 lines
1.1 KiB
Makefile

# Created by: bf <bf@FreeBSD.org>
# $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 <bsd.port.options.mk>
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 <bsd.port.mk>