aboutsummaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-17 09:01:54 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-17 09:01:54 +0000
commit386af00734b55456022012b7d52721585df5df17 (patch)
treeb21feec1c8d85b03e9489942442209042853b2ad /x11-servers
parent1ed4792c4bb93ada4ebb9e576e2e39e937d0dd57 (diff)
downloadports-386af00734b55456022012b7d52721585df5df17.tar.gz
ports-386af00734b55456022012b7d52721585df5df17.zip
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/Xfstt/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/x11-servers/Xfstt/Makefile b/x11-servers/Xfstt/Makefile
index 62a329e1dbbb..b4990285ef75 100644
--- a/x11-servers/Xfstt/Makefile
+++ b/x11-servers/Xfstt/Makefile
@@ -9,9 +9,8 @@ MASTER_SITES= http://archive.hadrons.org/software/xfstt/
MAINTAINER= ports@FreeBSD.org
COMMENT= TrueType font server for X11
-LICENSE= GPLv2
-
-OPTIONS_DEFINE= DOCS
+LICENSE= LGPL20+
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
USES= pkgconfig tar:xz
USE_XORG= fontsproto xproto
@@ -23,16 +22,20 @@ TTFONTDIR= ${PREFIX}/share/fonts/TrueType
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS
+
post-patch:
.for file in INSTALL doc/Makefile.in src/Makefile.in
- ${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|%%TTFONTDIR%%|${TTFONTDIR}|g' ${WRKSRC}/${file}
.endfor
post-install:
${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/xfstt.in \
> ${WRKSRC}/xfstt
${INSTALL_SCRIPT} ${WRKSRC}/xfstt ${STAGEDIR}${PREFIX}/etc/rc.d/
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for _file in INSTALL THANKS
${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DOCSDIR}
.endfor