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/4b28ab2fd40d
branches:  trunk
changeset: 332202:4b28ab2fd40d
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 7c2fee73af43 -r 4b28ab2fd40d 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