Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 09:01:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436327 - head/x11-servers/Xfstt
Message-ID:  <201703170901.v2H91sBX038549@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Mar 17 09:01:54 2017
New Revision: 436327
URL: https://svnweb.freebsd.org/changeset/ports/436327

Log:
  - Fix LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/x11-servers/Xfstt/Makefile

Modified: head/x11-servers/Xfstt/Makefile
==============================================================================
--- head/x11-servers/Xfstt/Makefile	Fri Mar 17 09:00:32 2017	(r436326)
+++ head/x11-servers/Xfstt/Makefile	Fri Mar 17 09:01:54 2017	(r436327)
@@ -9,9 +9,8 @@ MASTER_SITES=	http://archive.hadrons.org
 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/TrueTyp
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703170901.v2H91sBX038549>