Linux Libertine is a font family with a serif typeface. These fonts

are free under the terms of GPL and OFL.

WWW: http://linuxlibertine.sourceforge.net/Libertine-EN.html

PR:		ports/120774
Submitted by:	Björn König <bkoenig at alpha-tierchen.de>
This commit is contained in:
Thierry Thomas 2008-04-01 20:51:13 +00:00
parent 9919b9bde4
commit 62bddacda2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210337
5 changed files with 77 additions and 0 deletions

View file

@ -88,6 +88,7 @@
SUBDIR += liberation-fonts-ttf
SUBDIR += libfontenc
SUBDIR += linux-fontconfig
SUBDIR += linuxlibertine
SUBDIR += manu-gothica
SUBDIR += mathfonts
SUBDIR += mgopen

View file

@ -0,0 +1,49 @@
# New ports collection makefile for: linuxlibertine
# Date created: 17 February 2008
# Whom: Björn König <bkoenig@alpha-tierchen.de>
# $FreeBSD$
#
PORTNAME= linuxlibertine
PORTVERSION= 2.7
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= LinLibertineFont-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Linux Libertine Open Fonts
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
PREFIX?= ${X11BASE}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
NO_BUILD= yes
.SILENT:
do-install: install-fonts install-docs
install-fonts:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.otf ${FONTSDIR}
install-docs:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Bugs ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/OFL.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Readme ${DOCSDIR}
.endif
post-install:
${ECHO_MSG} "===> Running fc-cache"
-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (LinLibertineFont-2.7.tgz) = a242d99faef2ae13fe2ecfb3b4f7fef6
SHA256 (LinLibertineFont-2.7.tgz) = 8591da48891b00175cd01605070cba46278fc5071800e6457681f42eae1db51b
SIZE (LinLibertineFont-2.7.tgz) = 3434433

View file

@ -0,0 +1,4 @@
Linux Libertine is a font family with a serif typeface. These fonts
are free under the terms of GPL and OFL.
WWW: http://linuxlibertine.sourceforge.net/Libertine-EN.html

View file

@ -0,0 +1,20 @@
%%FONTSDIR%%/LinLibertine_Bd-2.7.8.otf
%%FONTSDIR%%/LinLibertine_BI-2.7.2.ttf
%%FONTSDIR%%/LinLibertine_Bd-2.7.8.ttf
%%FONTSDIR%%/LinLibertineC_Re-2.7.3.otf
%%FONTSDIR%%/LinLibertine_It-2.7.8.ttf
%%FONTSDIR%%/LinLibertine_Re-2.7.9.10.ttf
%%FONTSDIR%%/LinLibertineU_Re-2.2.7.ttf
%%FONTSDIR%%/LinLibertine_It-2.7.8.otf
%%FONTSDIR%%/LinLibertine_BI-2.7.2.otf
%%FONTSDIR%%/LinLibertineC_Re-2.7.3.ttf
%%FONTSDIR%%/LinLibertine_Re-2.7.9.9.otf
%%PORTDOCS%%%%DOCSDIR%%/Bugs
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENCE.txt
%%PORTDOCS%%%%DOCSDIR%%/OFL.txt
%%PORTDOCS%%%%DOCSDIR%%/Readme
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
@dirrm %%FONTSDIR%%
@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true