ajacoutot 5f6f503865 Move fontpath from /usr/local/lib/X11/fonts to /usr/local/share/fonts to match
XDG_DATA_DIR (where Desktop tools will look for by default).

discussed with sthen@ and matthieu@
ok sthen@
2015-03-31 09:45:09 +00:00

27 lines
549 B
Makefile

# $OpenBSD: Makefile,v 1.7 2015/03/31 09:45:12 ajacoutot Exp $
COMMENT= chinese big5/gb truetype fonts
DISTNAME= zh-arphicttf-2.11
PKGNAME= zh-fonts-arphicttf-2.11
REVISION= 4
CATEGORIES= fonts chinese x11
PERMIT_PACKAGE_CDROM= Yes
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
WRKDIST= ${WRKDIR}/arphic
FONTDIR= ${PREFIX}/share/fonts/TrueType
FONTS= bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf
do-install:
${INSTALL_DATA_DIR} ${FONTDIR}
cd ${WRKSRC}/font; ${INSTALL_DATA} ${FONTS} ${FONTDIR}
.include <bsd.port.mk>