pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/overpass overpass: use fonts.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc8bcce11a18
branches:  trunk
changeset: 321917:fc8bcce11a18
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Apr 04 07:34:42 2019 +0000

description:
overpass: use fonts.mk

diffstat:

 fonts/overpass/Makefile |  22 ++--------------------
 1 files changed, 2 insertions(+), 20 deletions(-)

diffs (34 lines):

diff -r a809562e460b -r fc8bcce11a18 fonts/overpass/Makefile
--- a/fonts/overpass/Makefile   Thu Apr 04 07:34:11 2019 +0000
+++ b/fonts/overpass/Makefile   Thu Apr 04 07:34:42 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/03/05 21:17:17 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2019/04/04 07:34:42 maya Exp $
 
 DISTNAME=      Overpass-3.0.3
 CATEGORIES=    fonts
@@ -9,23 +9,5 @@
 COMMENT=       Font family inspired by Highway Gothic
 LICENSE=       ofl-v1.1 AND gnu-lgpl-v2.1
 
-USE_LANGUAGES= # none
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-
-TTF_FONTS_DIR=         ${PREFIX}/share/fonts/X11/TTF
-OTF_FONTS_DIR=         ${PREFIX}/share/fonts/X11/OTF
-
-INSTALLATION_DIRS=     ${TTF_FONTS_DIR} ${OTF_FONTS_DIR}
-
-do-install:
-       for font in `find ${WRKSRC} -name '*.ttf'`; \
-       do \
-               ${INSTALL_DATA} $${font} ${DESTDIR}${TTF_FONTS_DIR}; \
-       done; \
-       for font in `find ${WRKSRC} -name '*.otf'`; \
-       do \
-               ${INSTALL_DATA} $${font} ${DESTDIR}${OTF_FONTS_DIR}; \
-       done;
-
+.include "../../mk/fonts.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index