pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b31ad64ee027
branches:  trunk
changeset: 321989:b31ad64ee027
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Apr 06 08:44:07 2019 +0000

description:
cyberbase-ttf: convert to fonts.mk

diffstat:

 fonts/cyberbase-ttf/Makefile       |   5 ++---
 fonts/cyberbit-ttf/Makefile        |   5 ++---
 fonts/cyberbit-ttf/Makefile.common |  13 +++++--------
 3 files changed, 9 insertions(+), 14 deletions(-)

diffs (66 lines):

diff -r 5220068a3c17 -r b31ad64ee027 fonts/cyberbase-ttf/Makefile
--- a/fonts/cyberbase-ttf/Makefile      Sat Apr 06 08:43:41 2019 +0000
+++ b/fonts/cyberbase-ttf/Makefile      Sat Apr 06 08:44:07 2019 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2018/01/07 21:56:35 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.10 2019/04/06 08:44:07 wiz Exp $
 
 PKGNAME=       cyberbase-ttf-2.0
 PKGREVISION=   8
@@ -7,7 +6,7 @@
 
 COMMENT=       Cyberbit minus CJK subset, for ISO-8859-x languages
 
-CONFLICTS=     cyberbit-ttf-*
+CONFLICTS=     cyberbit-ttf-[0-9]*
 
 .include "../../fonts/cyberbit-ttf/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 5220068a3c17 -r b31ad64ee027 fonts/cyberbit-ttf/Makefile
--- a/fonts/cyberbit-ttf/Makefile       Sat Apr 06 08:43:41 2019 +0000
+++ b/fonts/cyberbit-ttf/Makefile       Sat Apr 06 08:44:07 2019 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2018/01/07 21:56:35 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.11 2019/04/06 08:44:07 wiz Exp $
 
 PKGNAME=       cyberbit-ttf-2.0
 PKGREVISION=   8
@@ -7,7 +6,7 @@
 
 COMMENT=       Multilingual TrueType font from Bitstream
 
-CONFLICTS=     cyberbase-ttf-*
+CONFLICTS=     cyberbase-ttf-[0-9]*
 
 .include "../../fonts/cyberbit-ttf/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 5220068a3c17 -r b31ad64ee027 fonts/cyberbit-ttf/Makefile.common
--- a/fonts/cyberbit-ttf/Makefile.common        Sat Apr 06 08:43:41 2019 +0000
+++ b/fonts/cyberbit-ttf/Makefile.common        Sat Apr 06 08:44:07 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.29 2018/01/07 21:56:35 rillig Exp $
+# $NetBSD: Makefile.common,v 1.30 2019/04/06 08:44:07 wiz Exp $
 #
 # used by fonts/cyberbit-ttf/Makefile
 # used by fonts/cyberbase-ttf/Makefile
@@ -23,14 +23,11 @@
 DIST_SUBDIR=   cyberbit-ttf
 
 EXTRACT_ONLY=          ${FONT_FILE}
-#EXTRACT_OPTS_ZIP=     -Laq
 
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-AUTO_MKDIRS=   yes
+INSTALLATION_DIRS+=    share/doc/cyberbit-ttf
 
-do-install:
-       ${INSTALL_DATA} ${WRKDIR}/*.ttf \
-               ${DESTDIR}${PREFIX}/share/fonts/X11/TTF
+post-install:
        ${INSTALL_DATA} ${_DISTDIR}/ReadMe.htm \
                ${DESTDIR}${PREFIX}/share/doc/cyberbit-ttf
+
+.include "../../mk/fonts.mk"



Home | Main Index | Thread Index | Old Index