blob: 7542c31a0d11e5bd139dc47badcc453a53177d19 (
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
|
# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= fontconfig
PORTVERSION= 2.10.95
CATEGORIES= x11-fonts linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= XML-based font configuration API for X Windows (Linux CentOS ${LINUX_DIST_VER})
CONFLICTS= linux-f10-${PORTNAME}-[0-9]* linux-c6-${PORTNAME}-[0-9]*
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
RPMVERSION= 7.el7
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX= expat
USE_LINUX_RPM= yes
# We will use some other configuration file, so delete a linux one
# Don't let the linux fc-cache mess up the native cache file
post-patch:
@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts \
${WRKSRC}/usr/share/fontconfig ${WRKSRC}/var \
${WRKSRC}/usr/bin/fc-cache \
${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc
${LN} -s ${LOCALBASE}/etc/fonts ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>
|