pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/ubuntu-fonts ubuntu-fonts: convert to fonts.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/29fd8212ea37
branches: trunk
changeset: 332207:29fd8212ea37
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Apr 06 08:58:11 2019 +0000
description:
ubuntu-fonts: convert to fonts.mk
diffstat:
fonts/ubuntu-fonts/Makefile | 30 ++++--------------------------
1 files changed, 4 insertions(+), 26 deletions(-)
diffs (54 lines):
diff -r b225a5141b5e -r 29fd8212ea37 fonts/ubuntu-fonts/Makefile
--- a/fonts/ubuntu-fonts/Makefile Sat Apr 06 08:57:04 2019 +0000
+++ b/fonts/ubuntu-fonts/Makefile Sat Apr 06 08:58:11 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/04/12 08:07:48 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2019/04/06 08:58:11 wiz Exp $
VERSION= 0.83
PKGNAME= ubuntu-fonts-${VERSION}
@@ -12,28 +12,8 @@
COMMENT= TrueType font family from Ubuntu
LICENSE= ubuntu-font-license
-NO_CONFIGURE= yes
-NO_BUILD= yes
-
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
-FONTDIR= ${PREFIX}/share/fonts/X11/TTF
-FONTS_DIRS.ttf= ${FONTDIR}
-
-INSTALLATION_DIRS= ${DOCDIR} ${FONTDIR}
-
-INSTALL_FONTS= Ubuntu-B.ttf \
- Ubuntu-BI.ttf \
- Ubuntu-C.ttf \
- Ubuntu-L.ttf \
- Ubuntu-LI.ttf \
- Ubuntu-M.ttf \
- Ubuntu-MI.ttf \
- Ubuntu-R.ttf \
- Ubuntu-RI.ttf \
- UbuntuMono-B.ttf \
- UbuntuMono-BI.ttf \
- UbuntuMono-R.ttf \
- UbuntuMono-RI.ttf
+INSTALLATION_DIRS+= ${DOCDIR}
INSTALL_DOCS= CONTRIBUTING.txt \
FONTLOG.txt \
@@ -43,12 +23,10 @@
TRADEMARKS.txt \
copyright.txt
-do-install:
-.for fontfile in ${INSTALL_FONTS}
- ${INSTALL_DATA} ${WRKSRC}/${fontfile} ${DESTDIR}${FONTDIR}
-.endfor
+post-install:
.for docfile in ${INSTALL_DOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCDIR}
.endfor
+.include "../../mk/fonts.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index