pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/overpass



Module Name:    pkgsrc
Committed By:   maya
Date:           Thu Apr  4 07:34:42 UTC 2019

Modified Files:
        pkgsrc/fonts/overpass: Makefile

Log Message:
overpass: use fonts.mk


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/fonts/overpass/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/overpass/Makefile
diff -u pkgsrc/fonts/overpass/Makefile:1.2 pkgsrc/fonts/overpass/Makefile:1.3
--- pkgsrc/fonts/overpass/Makefile:1.2  Tue Mar  5 21:17:17 2019
+++ pkgsrc/fonts/overpass/Makefile      Thu Apr  4 07:34:42 2019
@@ -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 @@ HOMEPAGE=      https://github.com/RedHatBrand
 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