1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/x11-fonts/xfs/Makefile
2021-08-18 06:31:59 +00:00

31 lines
719 B
Makefile

PORTNAME= xfs
PORTVERSION= 1.2.0
PORTEPOCH= 1
CATEGORIES= x11-fonts
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org font server
USES= cpe gmake xorg xorg-cat:app
CPE_VENDOR= x.org
CPE_PRODUCT= x_font_server
USE_XORG= libfs xfont2 xorgproto xtrans
USE_RC_SUBR= xfs
CONFIGURE_ARGS= --without-xmlto --without-fop
post-patch:
${REINPLACE_CMD} '/^config_DATA/d' ${WRKSRC}/config/Makefile.in
.if defined(WITHOUT_XFS_CACHE)
${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
.endif
post-build:
@cd ${WRKSRC}/config/ && ${MAKE_CMD} config
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/fs
${INSTALL_SCRIPT} ${WRKSRC}/config/config \
${STAGEDIR}${PREFIX}/etc/X11/fs/config.sample
.include <bsd.port.mk>