2013-09-21 01:51:14 +02:00
|
|
|
# Created by: bf <bf@FreeBSD.org>
|
2011-10-14 22:44:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= DoulosSILCompact
|
|
|
|
PORTVERSION= 4.110
|
2011-10-18 07:15:44 +02:00
|
|
|
PORTREVISION= 1
|
2011-10-14 22:44:00 +02:00
|
|
|
CATEGORIES= x11-fonts
|
2011-10-18 07:15:44 +02:00
|
|
|
#unfortunately, the SIL server embeds timestamps in the distfile, so we use a static local copy
|
|
|
|
.if defined(MAINTAINER_MODE)
|
|
|
|
MASTER_SITES= http://scripts.sil.org/ttw/fonts2go.cgi?family=DoulosSIL&pkg=Compact&ver=${PORTVERSION}&filename=/
|
|
|
|
.else
|
|
|
|
MASTER_SITES= LOCAL/bf
|
|
|
|
.endif
|
2011-10-14 22:44:00 +02:00
|
|
|
MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
|
|
|
|
|
2014-07-02 20:10:06 +02:00
|
|
|
MAINTAINER= bf@FreeBSD.org
|
2011-10-14 22:44:00 +02:00
|
|
|
COMMENT= Doulos SIL TrueType font collection, compact variant
|
|
|
|
|
2013-11-05 07:46:58 +01:00
|
|
|
LICENSE= OFL11
|
2011-10-14 22:44:00 +02:00
|
|
|
|
2014-03-10 19:09:41 +01:00
|
|
|
USES= zip
|
2011-10-14 22:44:00 +02:00
|
|
|
XORG_CAT= font
|
|
|
|
|
|
|
|
FONTROOTDIR= ${PREFIX}/lib/X11/fonts
|
|
|
|
INSTALLS_TTF= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_FILES= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-R.ttf
|
2014-07-02 20:10:06 +02:00
|
|
|
|
2014-07-15 19:14:33 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2014-07-02 20:10:06 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2011-10-14 22:44:00 +02:00
|
|
|
PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt feat_set_tuned.xml
|
|
|
|
|
|
|
|
SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
|
|
|
do-install:
|
2014-07-02 20:03:51 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
|
2014-07-02 20:10:06 +02:00
|
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR})
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-07-02 20:03:51 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-07-02 20:10:06 +02:00
|
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
|
|
.endif
|
2011-10-14 22:44:00 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|