culmus: use fonts.mk

This commit is contained in:
maya 2019-04-04 07:34:59 +00:00
parent 5fd029d020
commit c712908266

View file

@ -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 @@ HOMEPAGE= http://culmus.sourceforge.net/
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"