1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Take maintainership & clean up

- Switch MASTER_SITES to the website listed on the homepage.
- Set NO_ARCH.
- Simplify do-install.
- Update homepage.
- Update pkg-plist as apparently the latest archive got updated without a
  version bump upstream.
This commit is contained in:
Mateusz Piotrowski 2019-10-23 15:24:44 +00:00
parent fd5075438c
commit 958081b663
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515263
4 changed files with 18 additions and 12 deletions

View File

@ -3,13 +3,12 @@
PORTNAME= ubuntu-font
PORTVERSION= 0.83
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= http://font.ubuntu.com/download/
MASTER_SITES= https://assets.ubuntu.com/v1/
DISTNAME= 0cef8205-${ARCHIVE_NAME}
DISTNAME= ${PORTNAME}-family-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Ubuntu font family
LICENSE= UFL
@ -18,16 +17,21 @@ LICENSE_NAME= Ubuntu Font License (UFL)
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= fonts zip
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${ARCHIVE_NAME}
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
ARCHIVE_NAME= ${PORTNAME}-family-${PORTVERSION}
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.txt ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (ubuntu-font-family-0.83.zip) = 456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42
SIZE (ubuntu-font-family-0.83.zip) = 2092263
TIMESTAMP = 1571843036
SHA256 (0cef8205-ubuntu-font-family-0.83.zip) = 61a2b342526fd552f19fef438bb9211a8212de19ad96e32a1209c039f1d68ecf
SIZE (0cef8205-ubuntu-font-family-0.83.zip) = 2190387

View File

@ -8,4 +8,4 @@ Both the final font Truetype/OpenType files and the design files used
to produce the font family are distributed under an open licence and
you are expressly encouraged to experiment, modify, share and improve.
WWW: http://font.ubuntu.com/
WWW: https://design.ubuntu.com/font/

View File

@ -7,6 +7,7 @@
%%FONTSDIR%%/Ubuntu-MI.ttf
%%FONTSDIR%%/Ubuntu-R.ttf
%%FONTSDIR%%/Ubuntu-RI.ttf
%%FONTSDIR%%/Ubuntu-Th.ttf
%%FONTSDIR%%/UbuntuMono-B.ttf
%%FONTSDIR%%/UbuntuMono-BI.ttf
%%FONTSDIR%%/UbuntuMono-R.ttf