diff options
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/linuxlibertine/Makefile | 49 | ||||
-rw-r--r-- | x11-fonts/linuxlibertine/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/linuxlibertine/pkg-descr | 4 | ||||
-rw-r--r-- | x11-fonts/linuxlibertine/pkg-plist | 20 |
5 files changed, 77 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index d9f012e79db5..62ec27e3c303 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -88,6 +88,7 @@ SUBDIR += liberation-fonts-ttf SUBDIR += libfontenc SUBDIR += linux-fontconfig + SUBDIR += linuxlibertine SUBDIR += manu-gothica SUBDIR += mathfonts SUBDIR += mgopen diff --git a/x11-fonts/linuxlibertine/Makefile b/x11-fonts/linuxlibertine/Makefile new file mode 100644 index 000000000000..648ec9bf7843 --- /dev/null +++ b/x11-fonts/linuxlibertine/Makefile @@ -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> diff --git a/x11-fonts/linuxlibertine/distinfo b/x11-fonts/linuxlibertine/distinfo new file mode 100644 index 000000000000..0782b6c3e30f --- /dev/null +++ b/x11-fonts/linuxlibertine/distinfo @@ -0,0 +1,3 @@ +MD5 (LinLibertineFont-2.7.tgz) = a242d99faef2ae13fe2ecfb3b4f7fef6 +SHA256 (LinLibertineFont-2.7.tgz) = 8591da48891b00175cd01605070cba46278fc5071800e6457681f42eae1db51b +SIZE (LinLibertineFont-2.7.tgz) = 3434433 diff --git a/x11-fonts/linuxlibertine/pkg-descr b/x11-fonts/linuxlibertine/pkg-descr new file mode 100644 index 000000000000..a6a65deb6310 --- /dev/null +++ b/x11-fonts/linuxlibertine/pkg-descr @@ -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 diff --git a/x11-fonts/linuxlibertine/pkg-plist b/x11-fonts/linuxlibertine/pkg-plist new file mode 100644 index 000000000000..c43cced05e14 --- /dev/null +++ b/x11-fonts/linuxlibertine/pkg-plist @@ -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 |