aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/linux-c7-fontconfig/Makefile
blob: 19e7ff1370db384fdafdb3b07324dae33c248898 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	fontconfig
PORTVERSION=	2.13.0
DISTVERSIONSUFFIX=	-4.3.el7
CATEGORIES=	x11-fonts linux

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	XML-based font configuration API for X Windows (Linux CentOS ${LINUX_DIST_VER})
WWW=		https://www.freedesktop.org/wiki/Software/fontconfig/

USES=		cpe linux:c7
USE_LDCONFIG=	yes
USE_LINUX=	expat freetype
USE_LINUX_RPM=	yes

CPE_VENDOR=	fontconfig_project

CONFLICTS=	linux-c6-${PORTNAME}
DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

post-patch:
	@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/lib/fontconfig \
		${WRKSRC}/usr/share/fontconfig

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc
	${LN} -s ${LOCALBASE}/etc/fonts ${STAGEDIR}${PREFIX}/etc/
	${MKDIR} ${STAGEDIR}${PREFIX}/var/db/fontconfig

.include <bsd.port.mk>