diff options
author | thierry <thierry@FreeBSD.org> | 2018-10-20 18:26:43 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2018-10-20 18:26:43 +0800 |
commit | bb4f2a0211630feb829104585b9585f9a000ad73 (patch) | |
tree | 3a457712877809f2eb376a2ca1badce277b76d33 /x11-fonts | |
parent | e19ed1242345236ae18f3a7fb28902c9a82c578a (diff) | |
download | freebsd-ports-gnome-bb4f2a0211630feb829104585b9585f9a000ad73.tar.gz freebsd-ports-gnome-bb4f2a0211630feb829104585b9585f9a000ad73.tar.zst freebsd-ports-gnome-bb4f2a0211630feb829104585b9585f9a000ad73.zip |
- Upstream switched to GitHub
- Upgrade to 2.00.3 and build it.
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/liberation-fonts-ttf/Makefile | 27 | ||||
-rw-r--r-- | x11-fonts/liberation-fonts-ttf/distinfo | 5 | ||||
-rw-r--r-- | x11-fonts/liberation-fonts-ttf/pkg-plist | 1 |
3 files changed, 22 insertions, 11 deletions
diff --git a/x11-fonts/liberation-fonts-ttf/Makefile b/x11-fonts/liberation-fonts-ttf/Makefile index f74fd01569ca..fe7803e89390 100644 --- a/x11-fonts/liberation-fonts-ttf/Makefile +++ b/x11-fonts/liberation-fonts-ttf/Makefile @@ -2,29 +2,40 @@ # $FreeBSD$ PORTNAME= liberation-fonts-ttf -PORTVERSION= 2.00.1 +PORTVERSION= 2.00.3 PORTEPOCH= 2 CATEGORIES= x11-fonts -MASTER_SITES= https://releases.pagure.org/liberation-fonts/ \ - LOCAL/thierry MAINTAINER= thierry@FreeBSD.org COMMENT= Liberation fonts from Red Hat to replace MS TTF fonts LICENSE= OFL11 -USES= fonts +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 +NO_ARCH= yes SUB_FILES= pkg-message +SCRIPT_F= scripts/setisFixedPitch-fonttools.py + FONTNAME= Liberation -INSTDAT= AUTHORS -NO_BUILD= yes + +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} && \ - ${INSTALL_DATA} ${INSTDAT} *.ttf ${STAGEDIR}${FONTSDIR} + cd ${WRKSRC}/${PORTNAME}-${PORTVERSION} && \ + ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR} .include <bsd.port.mk> diff --git a/x11-fonts/liberation-fonts-ttf/distinfo b/x11-fonts/liberation-fonts-ttf/distinfo index c786ef21c42a..e1847ba6dec1 100644 --- a/x11-fonts/liberation-fonts-ttf/distinfo +++ b/x11-fonts/liberation-fonts-ttf/distinfo @@ -1,2 +1,3 @@ -SHA256 (liberation-fonts-ttf-2.00.1.tar.gz) = 7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504 -SIZE (liberation-fonts-ttf-2.00.1.tar.gz) = 2285857 +TIMESTAMP = 1539961746 +SHA256 (liberationfonts-liberation-fonts-2.00.3_GH0.tar.gz) = 1c8ffe862f7e0883c88dfd5a19e896a301153a8c478cd84d50d10599f273d701 +SIZE (liberationfonts-liberation-fonts-2.00.3_GH0.tar.gz) = 4935828 diff --git a/x11-fonts/liberation-fonts-ttf/pkg-plist b/x11-fonts/liberation-fonts-ttf/pkg-plist index 1ca76d4b77f3..764d1b301efa 100644 --- a/x11-fonts/liberation-fonts-ttf/pkg-plist +++ b/x11-fonts/liberation-fonts-ttf/pkg-plist @@ -1,4 +1,3 @@ -%%FONTSDIR%%/AUTHORS %%FONTSDIR%%/LiberationMono-Bold.ttf %%FONTSDIR%%/LiberationMono-BoldItalic.ttf %%FONTSDIR%%/LiberationMono-Italic.ttf |