1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/x11-fonts/fontconfig/Makefile

80 lines
2.3 KiB
Makefile
Raw Normal View History

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= fontconfig
PORTVERSION= 2.12.1
PORTREVISION?= 0
PORTEPOCH?= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.freedesktop.org/software/fontconfig/release/
MAINTAINER= gnome@FreeBSD.org
COMMENT= XML-based font configuration API for X Windows
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2
.if !defined(REFERENCE_PORT)
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libexpat.so:textproc/expat2
USES+= cpe gmake libtool pathfix pkgconfig
CPE_VENDOR= fontconfig_project
Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive amount of work by the FreeBSD GNOME Team and our testers. On top of the usual GNOME update, we have taken this opportunity to move GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of the GNOME Desktop also need to be changed. The bulk of the move was carried out by ahze, mezz, and pav, but it would not have been possible without cooperation from the FreeBSD KDE team who worked with us to make sure GNOME and KDE can still coexist happily. We would also like to send a shout out to kris and pointyhat for putting up with multiple test runs until we got something that was solid. Back to GNOME 2.16. This release brings a huge amount of new functionality to FreeBSD. The standard release notes can be read at http://www.gnome.org/start/2.16/ . But on top of what you will read there, jylefort and marcus have completed work on a port of HAL to FreeBSD. This will allow FreeBSD to take advantage of closer hardware interaction such as auto-mounting CD-ROMs, USB drives, and music players; auto-playing audio CDs; and managing laptop power consumption. But where would this all be without our loyal testers and contributors? Therefore, the FreeBSD GNOME team would like to thank the following users: Phillip Neumann <pneumann@gmail.com> tmclaugh mux Yuri Pankov <yuri.pankov@gmail.com> chinsan Thomas <freebsdlists@bsdunix.ch> Brian Gruber <knightbg@yahoo.com> Franz Klammer <klammer@webonaut.com> Dominique Goncalves <dominique.goncalves@gmail.com> Pascal Hofstee <caelian@gmail.com> Yasuda Keisuke <kysd@po.harenet.ne.jp> backyard <backyard1454-bsd@yahoo.com> Andris Raugulis <endrju@null.lv> <endrju@null.lv> Eric L. Chen <d9364104@mail.nchu.edu.tw> Pawel Worach <pawel.worach@gmail.com> QuiRK on #freebsd-gnome Shane Bell <decept0@gmail.com> luigi sajd on #freebsd-gnome sat Chris Coleman <chrisc@vmunix.com> kaeru on #freebsd-gnome crsd_ via irc.freenode.org/#FreeBSD-GNOME Joel Diaz <joeldiaz@mac.com> Enjoy! Approved by: portmgr (implicit, kris)
2006-10-14 08:35:50 +00:00
USE_LDCONFIG= yes
2013-12-27 15:52:50 +00:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-configdir=${PREFIX}/etc/fonts/conf.d \
--with-templatedir=${PREFIX}/etc/fonts/conf.avail \
--with-xmldir=${PREFIX}/etc/fonts \
2003-04-13 05:52:45 +00:00
--with-expat-includes=${LOCALBASE}/include \
--with-expat-lib=${LOCALBASE}/lib \
--with-default-hinting=${PREFERRED_HINTING} \
--with-default-fonts=${PREFIX}/share/fonts \
--with-add-fonts=${LOCALBASE}/lib/X11/fonts \
--with-cache-dir=/var/db/fontconfig \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--disable-docs
# D6155: static linked library linking added to support statically linked
# applications, e.g. x11/xforward static option
CONFIGURE_ARGS+= --enable-static
# Python is not required, because fc-blanks.h is available in distfile
CONFIGURE_ENV= PYTHON=":"
PKGINSTALL= ${WRKDIR}/pkg-install
INSTALL_TARGET=install-strip
PLIST_SUB= PREFERRED_HINTING=${PREFERRED_HINTING}
PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt
2003-01-24 05:12:09 +00:00
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= HINTING
HINTING_DESC= Preferred pixel hinting configuration
.for opt in NONE SLIGHT MEDIUM FULL
OPTIONS_SINGLE_HINTING+= HINTING_${opt}
HINTING_${opt}_DESC= ${opt:tl}
HINTING_${opt}_VARS= PREFERRED_HINTING=${opt:tl}
.endfor
OPTIONS_DEFAULT= HINTING_SLIGHT
post-install:
${INSTALL_MAN} ${WRKSRC}/fc-*/*.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/*.5 \
${STAGEDIR}${PREFIX}/man/man5
2013-12-27 15:52:50 +00:00
${INSTALL_DATA} ${WRKSRC}/fonts.conf \
${STAGEDIR}${PREFIX}/etc/fonts/fonts.conf.sample
@${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
s|%%LOCALBASE%%|${LOCALBASE}|' < ${FILESDIR}/pkg-install.in \
> ${PKGINSTALL}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
.endif