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

30 lines
684 B
Makefile

# $OpenBSD: Makefile,v 1.3 2015/03/31 09:45:10 ajacoutot Exp $
COMMENT= monospace font designed for coders
DISTNAME= Inconsolata
PKGNAME= inconsolata-font-0.1
REVISION= 1
CATEGORIES= fonts x11
HOMEPAGE= http://www.levien.com/type/myfonts/inconsolata.html
MASTER_SITES= http://distfiles.nl/
EXTRACT_SUFX= .otf
EXTRACT_ONLY=
# SIL Open Font License
# http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL
PERMIT_PACKAGE_CDROM= Yes
PKG_ARCH= *
NO_BUILD= Yes
NO_TEST= Yes
FONTSDIR= ${PREFIX}/share/fonts/Inconsolata/
do-install:
${INSTALL_DATA_DIR} ${FONTSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${FONTSDIR}
.include <bsd.port.mk>