freebsd-ports/x11-fonts/linux-c6-fontconfig/Makefile
Tijl Coosemans bb5cf6c4f3 Address some portlint warnings in the Linux infrastructure ports.
Eliminate LINUXNAME from port Makefiles.  This was just a helper variable
without special meaning outside port Makefiles but several developers have
copied it to new ports where it was then unused, apparently thinking that
it did have some special meaning.
2019-06-08 15:59:46 +00:00

30 lines
710 B
Makefile

# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$
PORTNAME= fontconfig
PORTVERSION= 2.8.0
DISTVERSIONSUFFIX= -5.el6
PORTREVISION= 3
CATEGORIES= x11-fonts linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= XML-based font configuration API for X Windows (Linux CentOS ${LINUX_DIST_VER})
USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX= expat
USE_LINUX_RPM= yes
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS
post-patch:
@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc
${LN} -s ${LOCALBASE}/etc/fonts ${STAGEDIR}${PREFIX}/etc/
${MKDIR} ${STAGEDIR}${PREFIX}/var/db/fontconfig
.include <bsd.port.mk>