blob: 7692b6ef8b688417be884bbb76615fce3a5e8848 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: Xfstt
# Date created: 11 September 1998
# Whom: jabley@clear.co.nz
#
# $FreeBSD$
#
PORTNAME= xfstt
PORTVERSION= 1.6
PORTREVISION= 2
CATEGORIES= x11-servers
MASTER_SITES= http://download.berlios.de/xfstt/
MAINTAINER= ports@FreeBSD.org
COMMENT= A TrueType font server for X11
USE_XORG= fontsproto xproto
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var --disable-nls
MAN1= xfstt.1x
TTFONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
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>
|