1 # Created by: jabley@clear.co.nz
2 # $FreeBSD: x11-servers/Xfstt/Makefile 340722 2014-01-22 17:00:46Z mat $
7 CATEGORIES= x11-servers
8 MASTER_SITES= ${MASTER_SITE_BERLIOS}
9 MASTER_SITE_SUBDIR= ${PORTNAME}
11 MAINTAINER= ports@FreeBSD.org
12 COMMENT= A TrueType font server for X11
14 USE_XORG= fontsproto xproto
16 CONFIGURE_ARGS= --localstatedir=/var --disable-nls
20 TTFONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
22 SUB_FILES= pkg-message
26 .for file in INSTALL doc/xfstt.1x src/Makefile.in
27 @${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
29 @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.sh \
33 ${INSTALL_SCRIPT} ${WRKSRC}/xfstt.sh ${PREFIX}/etc/rc.d
34 @${MKDIR} ${TTFONTDIR}
35 .if !defined(NOPORTDOCS)
37 .for _file in CHANGES INSTALL THANKS
38 ${INSTALL_DATA} ${WRKSRC}/${_file} ${DOCSDIR}
43 .include <bsd.port.mk>