mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
0138b922be
for disabling this that also comments out relevant entries in default config file.
39 lines
777 B
Makefile
39 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.4
|
|
PORTREVISION= 4
|
|
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
|
|
|
|
.if !defined(WITHOUT_XFS_CACHE)
|
|
USE_XORG+= fontcacheproto x11
|
|
CFLAGS+= -DFONTCACHE
|
|
.else
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
|
|
.endif
|
|
|
|
post-install:
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|