From owner-svn-ports-head@freebsd.org Fri Mar 17 09:01:55 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71A84D10524; Fri, 17 Mar 2017 09:01:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E9221390; Fri, 17 Mar 2017 09:01:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2H91sZf038550; Fri, 17 Mar 2017 09:01:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2H91sBX038549; Fri, 17 Mar 2017 09:01:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201703170901.v2H91sBX038549@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 17 Mar 2017 09:01:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436327 - head/x11-servers/Xfstt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 09:01:55 -0000 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