diff options
author | adam <adam> | 2014-05-21 08:42:55 +0000 |
---|---|---|
committer | adam <adam> | 2014-05-21 08:42:55 +0000 |
commit | a355c06684a204b1c340f6dcb9c6f944e5128196 (patch) | |
tree | 10d6ee1ef68635b146a424f551f716519489564c /fonts | |
parent | 4d2eaed337ea4af46650ca2f257ac32a503826f2 (diff) | |
download | pkgsrc-a355c06684a204b1c340f6dcb9c6f944e5128196.tar.gz |
Search standard font paths on OS X
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/fontconfig/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile index dc6d7108fde..4aef3be05c0 100644 --- a/fonts/fontconfig/Makefile +++ b/fonts/fontconfig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.88 2014/04/01 21:21:28 wiz Exp $ +# $NetBSD: Makefile,v 1.89 2014/05/21 08:42:55 adam Exp $ DISTNAME= fontconfig-2.11.1 CATEGORIES= fonts @@ -29,16 +29,18 @@ PKG_SYSCONFSUBDIR= fontconfig .include "../../mk/bsd.prefs.mk" -GSFONTS= ${PREFIX}/share/fonts/urw,${PREFIX}/share/ghostscript/fonts +ADDFONTS= ${PREFIX}/share/fonts/urw,${PREFIX}/share/ghostscript/fonts .if ${X11BASE} != ${LOCALBASE} -CONFIGURE_ARGS+= --with-add-fonts=${X11BASE}/lib/X11/fonts,${GSFONTS} +ADDFONTS:= ${X11BASE}/lib/X11/fonts,${ADDFONTS} .else -CONFIGURE_ARGS+= --with-add-fonts=${LOCALBASE}/share/fonts/X11,${GSFONTS} +ADDFONTS:= ${LOCALBASE}/lib/X11/fonts,${ADDFONTS} .endif .if ${OPSYS} == "Darwin" +ADDFONTS:= ~/Library/Fonts,/Library/Fonts,/System/Library/Fonts,${ADDFONTS} CONFIGURE_ARGS+= --with-arch=${MACHINE_ARCH} .endif +CONFIGURE_ARGS+= --with-add-fonts=${ADDFONTS} SUBST_CLASSES+= prefix SUBST_STAGE.prefix= post-build @@ -73,8 +75,7 @@ CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} .endif post-install: - ${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf \ - ${DESTDIR}${TMPLDIR} + ${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf ${DESTDIR}${TMPLDIR} .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" |