Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / intlfonts / Makefile
blob92e5af72c3bcc03ca9bc3350293b73648ad881cf
1 # $NetBSD: Makefile,v 1.32 2013/04/06 13:24:19 rodent Exp $
3 DISTNAME= intlfonts-1.2.1
4 PKGREVISION= 5
5 CATEGORIES= fonts x11
6 MASTER_SITES= ${MASTER_SITE_GNU:=intlfonts/intlfonts-1.2.1-split/}
7 # not redundant here -- needed in the DISTFILES line below
8 EXTRACT_SUFX= .tar.gz
9 DISTFILES= ${FONT_SETS:=${EXTRACT_SUFX}} ${MISC_FILES}
11 MAINTAINER= pkgsrc-users@NetBSD.org
12 COMMENT= Free X11 fonts (BDF format) for all characters that Emacs can handle
14 FONT_SETS= Asian \
15 Chinese \
16 Ethiopic \
17 European \
18 Japanese \
19 Misc
21 USE_TOOLS+= bdftopcf
23 # Use the X font set for Korean, as there isn't anything better
24 FONT_SETS+= Korean.X
26 # These are extra files that not many folks will likely need or want
27 # They are all bigger than 24 dots -- you'll only want them if you
28 # want to display text in really big fonts.
30 EXTRA_FONTS= Chinese.BIG \
31 European.BIG \
32 Japanese.BIG
34 # Type1/TrueType fonts for Latin1, Thai and Vietnamese
35 # XXX need "fonts.scale" for them
37 EXTRA_FONTS+= Type1 \
38 TrueType
39 CONFIGURE_ARGS+= --with-type1 --with-truetype
41 MISC_FILES= README.split
43 DIST_SUBDIR= ${PKGNAME_NOREV}
44 EXTRACT_ONLY= ${FONT_SETS:=${EXTRACT_SUFX}}
46 GNU_CONFIGURE= yes
47 CONFIGURE_ARGS+=--with-fontdir=${FONTS_DIR} \
48 --enable-compress=gzip
49 INSTALL_MAKE_FLAGS+= fontdir=${DESTDIR}${FONTS_DIR}
51 FONTS_DIR= ${PREFIX}/lib/X11/fonts/intlfonts
53 FONTS_DIRS.x11+= ${FONTS_DIR}
54 FONTS_DIRS.x11+= ${FONTS_DIR}/bdf
55 FONTS_DIRS.type1+= ${FONTS_DIR}/Type1
56 FONTS_DIRS.ttf+= ${FONTS_DIR}/TrueType
57 REQD_DIRS+= ${FONTS_DIR}
58 REQD_DIRS+= ${FONTS_DIR}/bdf
59 REQD_DIRS+= ${FONTS_DIR}/Type1
60 REQD_DIRS+= ${FONTS_DIR}/TrueType
62 .include "../../mk/bsd.prefs.mk"
64 .if !defined(NO_EXTRA_FONTS)
65 FONT_SETS+= ${EXTRA_FONTS}
66 PLIST_SRC= PLIST PLIST.extrafonts
67 .endif
69 post-extract:
70 .for file in ${MISC_FILES}
71 ${CP} ${_DISTDIR}/${file} ${WRKSRC}
72 .endfor
74 .include "../../mk/bsd.pkg.mk"