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

29 lines
628 B
Makefile

# $OpenBSD: Makefile,v 1.3 2015/03/31 09:45:10 ajacoutot Exp $
COMMENT= free TrueType Persian fonts
DISTNAME= freefarsi-ttf-1.0.0b
REVISION= 1
CATEGORIES= fonts x11
HOMEPAGE= http://sourceforge.net/projects/fpf/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
# The original distfile contains .sfd files, the Debian package contains
# .ttf files. These are the files we install.
MASTER_SITES= http://distfiles.nl/
PKG_ARCH= *
NO_BUILD= Yes
NO_TEST= Yes
FONTSDIR= ${PREFIX}/share/fonts/freefarsi
do-install:
${INSTALL_DATA_DIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
.include <bsd.port.mk>