View | Details | Raw Unified | Return to bug 220616 | Differences between
and this patch

Collapse All | Expand All

(-)x11-fonts/gnu-unifont/Makefile (-12 / +19 lines)
Lines 1-26 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	gnu-unifont
3
PORTNAME=	unifont
4
PORTVERSION=	7.0.03
4
PORTVERSION=	10.0.05
5
PORTREVISION=	1
6
PORTEPOCH=	1
5
PORTEPOCH=	1
7
CATEGORIES=	x11-fonts
6
CATEGORIES=	x11-fonts
8
MASTER_SITES=	GNU/unifont/unifont-${PORTVERSION}
7
MASTER_SITES=	GNU/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
DISTNAME=	unifont-${PORTVERSION}.pcf
8
PKGNAMEPREFIX=	gnu-
10
EXTRACT_SUFX=	.gz
9
DISTFILES=	${FONTFILES:S|$|-${PORTVERSION}${FONTSUFFIX}|}
11
EXTRACT_ONLY=
10
EXTRACT_ONLY=
12
11
13
MAINTAINER=	bsdports@gmail.com
12
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	Unicode Font
13
COMMENT?=	GNU Unicode font
15
14
16
USES=		fonts
15
LICENSE=	GPLv2+
17
16
17
FONTFILES?=	${PORTNAME}
18
FONTSUFFIX?=	.pcf.gz
19
20
FONTSDIR=	${PREFIX}/share/fonts/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
21
NO_ARCH=	yes
18
NO_BUILD=	yes
22
NO_BUILD=	yes
19
PLIST_FILES=	${FONTSDIR}/unifont.pcf.gz
23
PLIST_FILES=	${FONTFILES:S|^|${FONTSDIR}/|:S|$|${FONTSUFFIX}|}
24
USES=		fonts
20
25
21
do-install:
26
do-install:
22
	${MKDIR} ${STAGEDIR}${FONTSDIR}
27
	${MKDIR} ${STAGEDIR}${FONTSDIR}
23
	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
28
.for i in ${FONTFILES}
24
		${STAGEDIR}${FONTSDIR}/unifont.pcf.gz
29
	${INSTALL_DATA} ${DISTDIR}/${i}-${PORTVERSION}${FONTSUFFIX} \
30
	    ${STAGEDIR}${FONTSDIR}/${i}${FONTSUFFIX}
31
.endfor
25
32
26
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)x11-fonts/gnu-unifont/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (unifont-7.0.03.pcf.gz) = cffed831498eb67933acbf2a7e398d64a7e3bf97a784a10fc999db51891cc515
1
TIMESTAMP = 1501090695
2
SIZE (unifont-7.0.03.pcf.gz) = 1358950
2
SHA256 (unifont-10.0.05.pcf.gz) = a77d9c3e9905038bbae08a7e825d29d4ce9fb6c356bea28b155454ceecedb2f2
3
SIZE (unifont-10.0.05.pcf.gz) = 1360625
(-)x11-fonts/gnu-unifont-ttf/Makefile (-23 / +8 lines)
Lines 1-30 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	gnu-unifont-ttf
3
MASTERDIR=	${.CURDIR}/../gnu-unifont
4
PORTVERSION=	7.0.03
5
PORTREVISION=	1
6
PORTEPOCH=	1
7
CATEGORIES=	x11-fonts
8
MASTER_SITES=	GNU/unifont/unifont-${PORTVERSION}
9
DISTNAME=	unifont-${PORTVERSION}
10
4
11
MAINTAINER=	bsdports@gmail.com
5
PKGNAMESUFFIX=	-ttf
12
COMMENT=	Unicode TrueType Font
13
6
14
USES=		fonts
7
COMMENT=	GNU Unicode TrueType font
15
8
16
NO_BUILD=	yes
9
FONTFILES=	${PORTNAME} ${PORTNAME}_csur ${PORTNAME}_upper
17
WRKSRC_SUBDIR=	font/precompiled
10
FONTSUFFIX=	.ttf
18
11
19
do-install:
12
DESCR=		${.CURDIR}/pkg-descr
20
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
13
DISTINFO_FILE=	${.CURDIR}/distinfo
21
	${INSTALL_DATA} ${WRKSRC}/unifont-${PORTVERSION}.ttf \
22
		${STAGEDIR}${FONTSDIR}/unifont.ttf
23
	${INSTALL_DATA} ${WRKSRC}/unifont_csur-${PORTVERSION}.ttf \
24
		${STAGEDIR}${FONTSDIR}/unifont_csur.ttf
25
	${INSTALL_DATA} ${WRKSRC}/unifont_upper-${PORTVERSION}.ttf \
26
		${STAGEDIR}${FONTSDIR}/unifont_upper.ttf
27
	${INSTALL_DATA} ${WRKSRC}/unifont_upper_csur-${PORTVERSION}.ttf \
28
		${STAGEDIR}${FONTSDIR}/unifont_upper_csur.ttf
29
14
30
.include <bsd.port.mk>
15
.include "${MASTERDIR}/Makefile"
(-)x11-fonts/gnu-unifont-ttf/distinfo (-2 / +7 lines)
Lines 1-2 Link Here
1
SHA256 (unifont-7.0.03.tar.gz) = 3b5f2f3aa1bee9fdd3b23b17c0a3206948c3148dfd3ca0404696ea06d63c72cd
1
TIMESTAMP = 1501090695
2
SIZE (unifont-7.0.03.tar.gz) = 18372349
2
SHA256 (unifont-10.0.05.ttf) = a850db8a860ab6e01524a9da1740d157a4594efdba5c21d9cf3f3d277f10cd47
3
SIZE (unifont-10.0.05.ttf) = 12292756
4
SHA256 (unifont_csur-10.0.05.ttf) = 396eaa2e8db63000d0e987cf9d8e9d0112b9e667f85db99d8dfc060ddeed5b1e
5
SIZE (unifont_csur-10.0.05.ttf) = 750796
6
SHA256 (unifont_upper-10.0.05.ttf) = 1469942032a062d96d550cb3f00390a3004ce9041a193d193532da6a928e6f01
7
SIZE (unifont_upper-10.0.05.ttf) = 1375648
(-)x11-fonts/gnu-unifont-ttf/pkg-plist (-4 lines)
Lines 1-4 Link Here
1
%%FONTSDIR%%/unifont.ttf
2
%%FONTSDIR%%/unifont_csur.ttf
3
%%FONTSDIR%%/unifont_upper.ttf
4
%%FONTSDIR%%/unifont_upper_csur.ttf

Return to bug 220616