diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2016-10-19 14:50:26 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2016-10-19 14:50:26 +0000 |
commit | 1675ff649cded4c85d65feb0f4c5cc87010242eb (patch) | |
tree | 3e3556f1e26a35be0250e7f749680b9fc30e9c6b /x11-fonts/linux-c7-fontconfig/Makefile | |
parent | 4fd1b570a8aec1244c7b8469c29c309a96a46804 (diff) | |
download | ports-1675ff649cded4c85d65feb0f4c5cc87010242eb.tar.gz ports-1675ff649cded4c85d65feb0f4c5cc87010242eb.zip |
Notes
Diffstat (limited to 'x11-fonts/linux-c7-fontconfig/Makefile')
-rw-r--r-- | x11-fonts/linux-c7-fontconfig/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-fonts/linux-c7-fontconfig/Makefile b/x11-fonts/linux-c7-fontconfig/Makefile new file mode 100644 index 000000000000..7542c31a0d11 --- /dev/null +++ b/x11-fonts/linux-c7-fontconfig/Makefile @@ -0,0 +1,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> |