blob: 0fd6709fc00d114b0131369f65795f21a17f6397 (
plain) (
tree)
|
|
# Created by: jabley@clear.co.nz
# $FreeBSD$
PORTNAME= xfstt
PORTVERSION= 1.6
PORTREVISION= 3
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A TrueType font server for X11
USE_XORG= fontsproto xproto
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --disable-nls
MAN1= xfstt.1x
TTFONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
SUB_FILES= pkg-message
NO_STAGE= yes
post-patch:
.for file in INSTALL doc/xfstt.1x src/Makefile.in
@${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
.endfor
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.sh \
> ${WRKSRC}/xfstt.sh
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/xfstt.sh ${PREFIX}/etc/rc.d
@${MKDIR} ${TTFONTDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for _file in CHANGES INSTALL THANKS
${INSTALL_DATA} ${WRKSRC}/${_file} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|