pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/evermono-ttf evermono-ttf: convert to fonts.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcdac133e3ec
branches:  trunk
changeset: 394202:fcdac133e3ec
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Apr 06 08:46:04 2019 +0000

description:
evermono-ttf: convert to fonts.mk

diffstat:

 fonts/evermono-ttf/Makefile |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (27 lines):

diff -r 2ed2f6617179 -r fcdac133e3ec fonts/evermono-ttf/Makefile
--- a/fonts/evermono-ttf/Makefile       Sat Apr 06 08:44:07 2019 +0000
+++ b/fonts/evermono-ttf/Makefile       Sat Apr 06 08:46:04 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2017/08/16 20:45:36 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2019/04/06 08:46:04 wiz Exp $
 
 DISTNAME=      evermono
 VERSION=       7.0.0
@@ -17,14 +17,10 @@
 WRKSRC=                ${WRKDIR}/evermono-${VERSION}
 USE_LANGUAGES= # none
 
-FONTDIR=       ${PREFIX}/share/fonts/X11/TTF
-FONTS_DIRS.ttf=        ${FONTDIR}
+INSTALLATION_DIRS+=    ${FONTDIR} share/doc/evermono-ttf
 
-INSTALLATION_DIRS=     ${FONTDIR} share/doc/evermono-ttf
-
-do-build:
-do-install:
-       ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${FONTDIR}
+post-install:
        ${INSTALL_DATA} ${WRKSRC}/emono-licence.txt ${DESTDIR}${PREFIX}/share/doc/evermono-ttf/
 
+.include "../../mk/fonts.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index