2007-05-19 22:36:56 +02:00
|
|
|
# New ports collection makefile for: xfs
|
|
|
|
# Date Created: 17 Feb 2006
|
|
|
|
# Whom: Florent Thoumie <flz@FreeBSD.org>
|
2004-06-11 07:36:11 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTNAME= xfs
|
2007-10-08 14:04:00 +02:00
|
|
|
PORTVERSION= 1.0.5
|
2008-03-13 11:33:56 +01:00
|
|
|
PORTREVISION= 1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTEPOCH= 1
|
|
|
|
CATEGORIES= x11-fonts
|
2004-06-11 07:36:11 +02:00
|
|
|
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
2007-05-19 22:36:56 +02:00
|
|
|
COMMENT= X.Org font server
|
2004-06-11 07:36:11 +02:00
|
|
|
|
2007-05-19 22:36:56 +02:00
|
|
|
XORG_CAT= app
|
|
|
|
USE_XORG= libfs xfont xtrans
|
|
|
|
USE_RC_SUBR= xfs
|
|
|
|
ALL_TARGET= all config
|
2004-06-11 07:36:11 +02:00
|
|
|
|
|
|
|
MAN1= xfs.1
|
|
|
|
|
2007-07-02 19:42:22 +02:00
|
|
|
.if !defined(WITHOUT_XFS_CACHE)
|
|
|
|
USE_XORG+= fontcacheproto x11
|
|
|
|
CFLAGS+= -DFONTCACHE
|
|
|
|
.else
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
|
|
|
|
.endif
|
|
|
|
|
2004-06-11 07:36:11 +02:00
|
|
|
post-install:
|
2007-05-19 22:36:56 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/lib/X11/fs/config.default
|
|
|
|
@if [ ! -f ${PREFIX}/lib/X11/fs/config ]; then \
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/lib/X11/fs/config; \
|
|
|
|
fi
|
2004-06-11 07:36:11 +02:00
|
|
|
|
2007-05-19 22:36:56 +02:00
|
|
|
.include <bsd.port.mk>
|