Tweak x11-fonts/xfs version 1.2.0,1
[dports.git] / x11-fonts / xfs / Makefile
1
2 PORTNAME=       xfs
3 PORTVERSION=    1.2.0
4 PORTEPOCH=      1
5 CATEGORIES=     x11-fonts
6
7 MAINTAINER=     x11@FreeBSD.org
8 COMMENT=        X.Org font server
9
10 USES=           cpe gmake xorg xorg-cat:app
11 CPE_VENDOR=     x
12 CPE_PRODUCT=    x_font_server
13 USE_XORG=       libfs xfont2 xorgproto xtrans
14 USE_RC_SUBR=    xfs
15 CONFIGURE_ARGS= --without-xmlto --without-fop
16
17 post-patch:
18         ${REINPLACE_CMD} '/^config_DATA/d' ${WRKSRC}/config/Makefile.in
19 .if defined(WITHOUT_XFS_CACHE)
20         ${REINPLACE_CMD} -e 's|^cache|XCOMM &|' ${WRKSRC}/config.cpp
21 .endif
22
23 post-build:
24         @cd ${WRKSRC}/config/ && ${MAKE_CMD} config
25
26 post-install:
27         @${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/fs
28         ${INSTALL_SCRIPT} ${WRKSRC}/config/config \
29                 ${STAGEDIR}${PREFIX}/etc/X11/fs/config.sample
30
31 .include <bsd.port.mk>