aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/linux-f8-fontconfig/Makefile
blob: c4901354621890cfcab10e8d54e416f33438b1e8 (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
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    x11-fonts/linux-f8-fontconfig
# Date created:             2008-03-28
# Whom:                 bsam
#
# $FreeBSD$
#

PORTNAME=   fontconfig
PORTVERSION=    2.4.2
PORTREVISION=   1
CATEGORIES= x11-fonts linux
PKGNAMEPREFIX=  linux-f8-
DISTNAME=   ${PORTNAME}-${PORTVERSION}-${RPMVERSION}

MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT=    An XML-based font configuration API for X Windows (Linux Fedora 8)

CONFLICTS=  linux-fontconfig-[0-9]* linux-f10-fontconfig-[0-9]*

DEPRECATED= End of Life since Jan 7, 2009
EXPIRATION_DATE=2011-04-01

ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_RPM=  yes
USE_LINUX_APPS= expat
LINUX_DIST_VER= 8
RPMVERSION= 5.fc8
BRANDELF_DIRS=  usr/bin
USE_LDCONFIG=   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-extract:
        @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var \
            ${WRKSRC}/usr/bin/fc-cache \
            ${WRKSRC}/usr/share/man/man1/fc-cache.1.gz

post-install:
        @${LN} -s ${LOCALBASE}/etc/fonts ${PREFIX}/etc/

DESCR=      ${.CURDIR}/../${PORTNAME}/pkg-descr

.include <bsd.port.mk>