svn commit: r482482 - head/x11-fonts/liberation-fonts-ttf
Thierry Thomas
thierry at FreeBSD.org
Sat Oct 20 10:26:44 UTC 2018
Author: thierry
Date: Sat Oct 20 10:26:43 2018
New Revision: 482482
URL: https://svnweb.freebsd.org/changeset/ports/482482
Log:
- Upstream switched to GitHub
- Upgrade to 2.00.3 and build it.
Modified:
head/x11-fonts/liberation-fonts-ttf/Makefile
head/x11-fonts/liberation-fonts-ttf/distinfo
head/x11-fonts/liberation-fonts-ttf/pkg-plist
Modified: head/x11-fonts/liberation-fonts-ttf/Makefile
==============================================================================
--- head/x11-fonts/liberation-fonts-ttf/Makefile Sat Oct 20 10:19:29 2018 (r482481)
+++ head/x11-fonts/liberation-fonts-ttf/Makefile Sat Oct 20 10:26:43 2018 (r482482)
@@ -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 at 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 at 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>
Modified: head/x11-fonts/liberation-fonts-ttf/distinfo
==============================================================================
--- head/x11-fonts/liberation-fonts-ttf/distinfo Sat Oct 20 10:19:29 2018 (r482481)
+++ head/x11-fonts/liberation-fonts-ttf/distinfo Sat Oct 20 10:26:43 2018 (r482482)
@@ -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
Modified: head/x11-fonts/liberation-fonts-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/liberation-fonts-ttf/pkg-plist Sat Oct 20 10:19:29 2018 (r482481)
+++ head/x11-fonts/liberation-fonts-ttf/pkg-plist Sat Oct 20 10:26:43 2018 (r482482)
@@ -1,4 +1,3 @@
-%%FONTSDIR%%/AUTHORS
%%FONTSDIR%%/LiberationMono-Bold.ttf
%%FONTSDIR%%/LiberationMono-BoldItalic.ttf
%%FONTSDIR%%/LiberationMono-Italic.ttf
More information about the svn-ports-all
mailing list