summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2019-04-04 07:34:42 +0000
committermaya <maya@pkgsrc.org>2019-04-04 07:34:42 +0000
commiteeaba14625fcba81a5a5ad1514852e6f2fad93f3 (patch)
tree6ac523a20a92e343ea2ee5ccd6b686b584859ccf
parent806f8227fc7f37dc948a886d724b2f4d9bf437cf (diff)
downloadpkgsrc-eeaba14625fcba81a5a5ad1514852e6f2fad93f3.tar.gz
overpass: use fonts.mk
-rw-r--r--fonts/overpass/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/fonts/overpass/Makefile b/fonts/overpass/Makefile
index 083a717e957..d2b7e5f99b2 100644
--- a/fonts/overpass/Makefile
+++ b/fonts/overpass/Makefile
@@ -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/Overpass/
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"