diff options
-rw-r--r-- | x11-servers/Xfstt/Makefile | 13 | ||||
-rw-r--r-- | x11-servers/Xfstt/files/pkg-message.in (renamed from x11-servers/Xfstt/pkg-message) | 4 |
2 files changed, 10 insertions, 7 deletions
diff --git a/x11-servers/Xfstt/Makefile b/x11-servers/Xfstt/Makefile index 7692b6ef8b68..a1e1dd8074df 100644 --- a/x11-servers/Xfstt/Makefile +++ b/x11-servers/Xfstt/Makefile @@ -7,9 +7,10 @@ PORTNAME= xfstt PORTVERSION= 1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-servers -MASTER_SITES= http://download.berlios.de/xfstt/ +MASTER_SITES= ${MASTER_SITE_BERLIOS} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A TrueType font server for X11 @@ -23,6 +24,8 @@ MAN1= xfstt.1x TTFONTDIR= ${PREFIX}/lib/X11/fonts/TrueType +SUB_FILES= pkg-message + post-patch: .for file in INSTALL doc/xfstt.1x src/Makefile.in @${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file} @@ -33,10 +36,10 @@ post-patch: post-install: ${INSTALL_SCRIPT} ${WRKSRC}/xfstt.sh ${PREFIX}/etc/rc.d @${MKDIR} ${TTFONTDIR} -.if !defined{NOPORTDOCS} +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in CHANGES INSTALL THANKS - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for _file in CHANGES INSTALL THANKS + ${INSTALL_DATA} ${WRKSRC}/${_file} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} diff --git a/x11-servers/Xfstt/pkg-message b/x11-servers/Xfstt/files/pkg-message.in index f2959097cd4b..8b6524bcfd75 100644 --- a/x11-servers/Xfstt/pkg-message +++ b/x11-servers/Xfstt/files/pkg-message.in @@ -1,13 +1,13 @@ ****************************************************************** You will have to install your TrueType fonts in - PREFIX/lib/X11/fonts/TrueType + %%PREFIX%%/lib/X11/fonts/TrueType Remember to run the "xfstt --sync" command if you add fonts while the font server is running. You should also add the following line to the "Files" -Section of /etc/XF86Config: +Section of /etc/X11/xorg.conf: FontPath "unix/:7101" ****************************************************************** |