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

35 lines
810 B
Makefile

# $OpenBSD: Makefile,v 1.3 2015/03/31 09:45:11 ajacoutot Exp $
COMMENT = high-quality libre OTF fonts (serif, 19th century book type)
DISTNAME = LinLibertineOTF_${V}_${D}
PKGNAME = linuxlibertine-fonts-otf-${V}
V = 5.3.0
D = 2012_07_02
REVISION = 0
CATEGORIES = fonts
HOMEPAGE = http://www.linuxlibertine.org/
# GPLv2 / SIL Open Font License (OFL) 1.0
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=linuxlibertine/}
EXTRACT_SUFX = .tgz
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
FONTSDIR = ${PREFIX}/share/fonts/linuxlibertine
DOCDIR = ${PREFIX}/share/doc/linuxlibertine-fonts-otf
do-install:
${INSTALL_DATA_DIR} ${FONTSDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIR}/*.otf ${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/README ${WRKDIR}/*.txt ${DOCDIR}
.include <bsd.port.mk>