mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
0263b9d868
both current (fc4) and future linux (f8) distributions at one ports tree. The patch contains full changes to ports/Mk files and all ports involved. But only infrastructure is changed. The resulting packages are the same as before. Hence no need to bump PORTREVISIONs. The idea was taken from bsd.gnome.mk and others. More than 130 ports are switched to follow a new linux infrastructure introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new bsd.linux-apps.mk. Thanks for all who was involved and helped me with this work. And help from Alexander Leidinger was incredible. Other changes are coming. Stay tuned! PR: ports/132510 Submitted by: bsam (me) Exp-run by: portmgr (pav)
38 lines
932 B
Makefile
38 lines
932 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
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
USE_LINUX_RPM= yes
|
|
USE_LINUX_APPS= expat
|
|
LINUX_DIST_VER= 4
|
|
USE_LDCONFIG= 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>
|