paratype-ttf: convert to fonts.mk

This commit is contained in:
wiz 2019-04-06 08:56:01 +00:00
parent a7dfcb4b35
commit b60b2c6b24

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2017/08/01 14:58:58 wiz Exp $
# $NetBSD: Makefile,v 1.4 2019/04/06 08:56:01 wiz Exp $
DISTNAME= paratype-ttf-20140616
CATEGORIES= fonts
@ -13,15 +13,11 @@ COMMENT= Public Fonts for Minority Languages of Russia
LICENSE= paratype
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
FONTS_DIRS.ttf= ${PREFIX}/share/fonts/X11/TTF
INSTALLATION_DIRS+= share/doc/paratype-ttf share/fonts/X11/TTF
do-build:
INSTALLATION_DIRS+= share/doc/paratype-ttf
do-install:
${INSTALL_DATA} ${WRKSRC}/*txt ${DESTDIR}${PREFIX}/share/doc/paratype-ttf
${INSTALL_DATA} ${WRKSRC}/*ttf ${DESTDIR}${PREFIX}/share/fonts/X11/TTF
.include "../../mk/fonts.mk"
.include "../../mk/bsd.pkg.mk"