mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
9f36cadb87
PR: 196349 Submitted by: Ming-Yen Hsu <myhsu at kimo dot com>
31 lines
653 B
Makefile
31 lines
653 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= noto
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://www.google.com/get/noto/pkgs/
|
|
|
|
DISTNAME= ${PORTNAME:S|n|N|}-hinted
|
|
|
|
MAINTAINER= kevlo@FreeBSD.org
|
|
COMMENT= Google font family
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= zip
|
|
NO_BUILD= yes
|
|
|
|
FONTDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
|
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}"
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${FONTDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.otf ${STAGEDIR}${FONTDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTDIR}
|
|
|
|
.include <bsd.port.mk>
|