freebsd-ports/x11-fonts/xfs/Makefile
Florent Thoumie 1b84386966 Fix path for xfs default configuration file.
PR:		ports/131036
Submitted by:	Hiroshi Fujishima <hirobo@tonteki.org>
2009-01-28 16:37:59 +00:00

36 lines
777 B
Makefile

# New ports collection makefile for: xfs
# Date Created: 17 Feb 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xfs
PORTVERSION= 1.0.8
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
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>