1 # Created by: jabley@clear.co.nz
7 CATEGORIES= x11-servers
8 MASTER_SITES= http://archive.hadrons.org/software/xfstt/
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= TrueType font server for X11
15 USES= tar:xz pkgconfig
16 USE_XORG= fontsproto xproto
19 CONFIGURE_ARGS= --localstatedir=/var --disable-nls
21 TTFONTDIR= ${PREFIX}/share/fonts/TrueType
23 SUB_FILES= pkg-message
26 .for file in INSTALL doc/Makefile.in src/Makefile.in
27 ${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
31 ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.in \
33 ${INSTALL_SCRIPT} ${WRKSRC}/xfstt ${STAGEDIR}${PREFIX}/etc/rc.d/
34 ${MKDIR} ${STAGEDIR}${DOCSDIR}
35 .for _file in INSTALL THANKS
36 ${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}
39 .include <bsd.port.mk>