1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/x11-fonts/xfs/Makefile
Baptiste Daroussin a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00

31 lines
707 B
Makefile

# $FreeBSD$
PORTNAME= xfs
PORTVERSION= 1.1.3
PORTEPOCH= 1
CATEGORIES= x11-fonts
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org font server
XORG_CAT= app
USES= gmake
USE_XORG= libfs xfont 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:
${INSTALL_SCRIPT} ${WRKSRC}/config/config ${STAGEDIR}${PREFIX}/etc/X11/fs/config.default
${INSTALL_SCRIPT} ${WRKSRC}/config/config ${STAGEDIR}${PREFIX}/etc/X11/fs/config; \
.include <bsd.port.mk>