mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
6bc7b7ce5d
Fonts are now generating the fonts.scale and fonts.dir at install time font-alias is not needed anymore for the above reason extract font-util and encodings out of XORG_CAT=fonts because they do not install any fonts make XORG_CAT=fonts use USES=fonts
36 lines
785 B
Makefile
36 lines
785 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Andika
|
|
PORTVERSION= 1.004
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=${MEDIA_ID}&filename=/
|
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
|
COMMENT= Andika TrueType fonts
|
|
|
|
LICENSE= OFL11
|
|
|
|
USES= fonts
|
|
|
|
MEDIA_ID= ${PORTNAME}-${PORTVERSION}.zip
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S,.orig,,:S,_,-,}
|
|
|
|
PLIST_FILES= ${FONTSDIR}/Andika-R.ttf
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
DOCSLIST= FONTLOG.txt OFL-FAQ.txt README.txt
|
|
PORTDOCS= ${DOCSLIST:C,^.*/,,}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCSLIST:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|