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

28 lines
549 B
Makefile

# $OpenBSD: Makefile,v 1.3 2015/03/31 09:45:10 ajacoutot Exp $
COMMENT= free UCS outline fonts
V= 20100919
DISTNAME= freefont-ttf-$V
REVISION= 1
CATEGORIES= fonts x11
HOMEPAGE= http://savannah.gnu.org/projects/freefont/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=freefont/}
WRKDIST= ${WRKDIR}/freefont-$V
NO_BUILD= Yes
PKG_ARCH= *
NO_TEST= Yes
FONTSDIR= ${PREFIX}/share/fonts/freefont
do-install:
${INSTALL_DATA_DIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
.include <bsd.port.mk>