1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

x11-fonts/liberation-fonts-ttf: Use release tarball with pregenerated fonts

This removes all build dependencies again.

Approved by:	thierry (maintainer)
This commit is contained in:
Tobias Kortkamp 2018-10-20 15:30:28 +00:00
parent 5a425da775
commit c0522b6afd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482561
2 changed files with 7 additions and 21 deletions

View File

@ -5,37 +5,23 @@ PORTNAME= liberation-fonts-ttf
PORTVERSION= 2.00.3
PORTEPOCH= 2
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/liberationfonts/liberation-fonts/files/2012634/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Liberation fonts from Red Hat to replace MS TTF fonts
LICENSE= OFL11
BUILD_DEPENDS= fontforge:print/fontforge \
fonttools-3.6:print/py-fonttools@py36
USE_GITHUB= yes
GH_ACCOUNT= liberationfonts
GH_PROJECT= liberation-fonts
USES= fonts gmake python:3.3+,build
USE_XORG= x11
USES= fonts
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
SCRIPT_F= scripts/setisFixedPitch-fonttools.py
FONTNAME= Liberation
pre-configure:
${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/${MAKEFILE}
${REINPLACE_CMD} -e 's|/usr/bin/python3| ${PYTHON_CMD}|' \
${WRKSRC}/${SCRIPT_F}
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC}/${PORTNAME}-${PORTVERSION} && \
${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1539961746
SHA256 (liberationfonts-liberation-fonts-2.00.3_GH0.tar.gz) = 1c8ffe862f7e0883c88dfd5a19e896a301153a8c478cd84d50d10599f273d701
SIZE (liberationfonts-liberation-fonts-2.00.3_GH0.tar.gz) = 4935828
TIMESTAMP = 1540043529
SHA256 (liberation-fonts-ttf-2.00.3.tar.gz) = e8855888cfccefec2d9bb80775624fdab8c7ef2876dbed94c56feb3131813132
SIZE (liberation-fonts-ttf-2.00.3.tar.gz) = 2351899