freebsd-ports/x11-fonts/xfs/Makefile
Dima Panov 6fb174b2bb - Unbroke build with textproc/xmlto installed
Approved by:	x11 (miwi)
2010-05-09 16:01:23 +00:00

37 lines
813 B
Makefile

# New ports collection makefile for: xfs
# Date Created: 17 Feb 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xfs
PORTVERSION= 1.1.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fonts
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org font server
XORG_CAT= app
USE_XORG= libfs xfont xtrans
USE_RC_SUBR= xfs
ALL_TARGET= all config
CONFIGURE_ENV+= ac_cv_path_XMLTO=""
MAN1= xfs.1
post-patch:
${REINPLACE_CMD} '/^config_DATA/d' ${WRKSRC}/Makefile.in
.if defined(WITHOUT_XFS_CACHE)
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
.endif
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/etc/X11/fs/config.default
@if [ ! -f ${PREFIX}/etc/X11/fs/config ]; then \
${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/etc/X11/fs/config; \
fi
.include <bsd.port.mk>