pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/vlgothic-ttf vlgothic-ttf: switch to fonts.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d055c55a4f72
branches:  trunk
changeset: 394135:d055c55a4f72
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Apr 04 08:21:11 2019 +0000

description:
vlgothic-ttf: switch to fonts.mk

diffstat:

 fonts/vlgothic-ttf/Makefile |  15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diffs (28 lines):

diff -r e5bd5de0b600 -r d055c55a4f72 fonts/vlgothic-ttf/Makefile
--- a/fonts/vlgothic-ttf/Makefile       Thu Apr 04 08:07:54 2019 +0000
+++ b/fonts/vlgothic-ttf/Makefile       Thu Apr 04 08:21:11 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2017/11/26 10:44:42 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2019/04/04 08:21:11 maya Exp $
 
 DISTNAME=      VLGothic-20141206
 PKGNAME=       ${DISTNAME:tl:S/-/-ttf-/}
@@ -11,16 +11,7 @@
 COMMENT=       Free Japanese TrueType fonts named 'VLGothic'
 LICENSE=       modified-bsd AND mplusfont
 
-NO_BUILD=      YES
-NO_CONFIGURE=  YES
-
-FONTDIR=       ${PREFIX}/share/fonts/X11/TTF
-FONTS_DIRS.ttf+=${FONTDIR}
-WRKSRC=                ${WRKDIR}/${DISTNAME:C/-[^-]*$//}
+WRKSRC=                ${WRKDIR}/VLGothic
 
-do-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${FONTDIR}
-       ${INSTALL_DATA} ${WRKSRC}/VL-Gothic-Regular.ttf ${DESTDIR}${FONTDIR}
-       ${INSTALL_DATA} ${WRKSRC}/VL-PGothic-Regular.ttf ${DESTDIR}${FONTDIR}
-
+.include "../../mk/fonts.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index