mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
bdaf48957b
. do REINPLACE at post-patch instead of post-install; [2] . don't let the linux fc-cache mess up the native cache file (delete [3] the binary and the man); . add some comments to the Makefile. PR: 110632 [1] Submitted by: Karol Kwiatkowski <karol.kwiat at gmail.com> [1] Suggested by: pav [2], netchild [3] Approved by: portmgr (pav)
39 lines
994 B
Makefile
39 lines
994 B
Makefile
# New ports collection makefile for: linux-fontconfig
|
|
# Date created: 2003-11-19
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fontconfig
|
|
PORTVERSION= 2.2.3
|
|
PORTREVISION= 7
|
|
CATEGORIES= x11-fonts linux
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-13
|
|
|
|
MAINTAINER= freebsd-emulation@FreeBSD.org
|
|
COMMENT= Linux/i386 binary of Fontconfig
|
|
|
|
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USE_LINUX_RPM= yes
|
|
LINUX_DIST_VER= 4
|
|
INSTALLS_SHLIB= yes
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
BRANDELF_DIRS= usr/bin
|
|
|
|
# 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-extract:
|
|
@${RM} ${WRKSRC}/etc/fonts/fonts.conf \
|
|
${WRKSRC}/usr/bin/fc-cache \
|
|
${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
|
|
|
|
# Here is our configuration file
|
|
post-patch:
|
|
@${CAT} ${FILESDIR}/fonts.conf | ${SED} 's:/usr/X11R6:${LOCALBASE}:g' > ${WRKSRC}/etc/fonts/fonts.conf
|
|
|
|
.include <bsd.port.mk>
|