pkgsrc-Changes-HG archive

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

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



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

description:
culmus: use fonts.mk

diffstat:

 fonts/culmus/Makefile |  21 ++-------------------
 1 files changed, 2 insertions(+), 19 deletions(-)

diffs (33 lines):

diff -r 3282baf2332e -r 7e43929a984c fonts/culmus/Makefile
--- a/fonts/culmus/Makefile     Thu Apr 04 07:34:42 2019 +0000
+++ b/fonts/culmus/Makefile     Thu Apr 04 07:34:59 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/07/03 06:00:25 maya Exp $
+# $NetBSD: Makefile,v 1.2 2019/04/04 07:34:59 maya Exp $
 
 DISTNAME=      culmus-0.132
 CATEGORIES=    fonts
@@ -9,22 +9,5 @@
 COMMENT=       Culmus Hebrew fonts
 LICENSE=       gnu-gpl-v2
 
-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