From owner-svn-ports-all@freebsd.org Sat Sep 12 23:17:13 2015 Return-Path: Delivered-To: svn-ports-all@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 98A07A02CB6; Sat, 12 Sep 2015 23:17:13 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 898C81FE3; Sat, 12 Sep 2015 23:17:13 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8CNHDYK001541; Sat, 12 Sep 2015 23:17:13 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8CNHDrM001535; Sat, 12 Sep 2015 23:17:13 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201509122317.t8CNHDrM001535@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Sat, 12 Sep 2015 23:17:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396786 - in head/japanese/font-ipa-uigothic: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2015 23:17:13 -0000 Author: hrs Date: Sat Sep 12 23:17:12 2015 New Revision: 396786 URL: https://svnweb.freebsd.org/changeset/ports/396786 Log: - Use post-install-DOCS-on. - Use %%FONTSDIR%% directly. Modified: head/japanese/font-ipa-uigothic/Makefile head/japanese/font-ipa-uigothic/files/pkg-install.in Modified: head/japanese/font-ipa-uigothic/Makefile ============================================================================== --- head/japanese/font-ipa-uigothic/Makefile Sat Sep 12 23:16:28 2015 (r396785) +++ head/japanese/font-ipa-uigothic/Makefile Sat Sep 12 23:17:12 2015 (r396786) @@ -42,6 +42,8 @@ do-install: ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} Modified: head/japanese/font-ipa-uigothic/files/pkg-install.in ============================================================================== --- head/japanese/font-ipa-uigothic/files/pkg-install.in Sat Sep 12 23:16:28 2015 (r396785) +++ head/japanese/font-ipa-uigothic/files/pkg-install.in Sat Sep 12 23:17:12 2015 (r396786) @@ -1,8 +1,6 @@ #!/bin/sh # $FreeBSD$ -FONTSDIR=%%FONTSDIR%% - catfontsdir () { while read _IN @@ -70,7 +68,7 @@ nfonts () case "$2" in POST-INSTALL) - cd ${FONTSDIR} + cd %%FONTSDIR%% touch fonts.dir (catfontsdir < fonts.dir; addentries) > fonts.dir.tmp nfonts < fonts.dir.tmp > fonts.dir @@ -78,7 +76,7 @@ POST-INSTALL) rm -f fonts.dir.tmp ;; POST-DEINSTALL) - cd ${FONTSDIR} + cd %%FONTSDIR%% catfontsdir < fonts.dir > fonts.dir.tmp nfonts < fonts.dir.tmp > fonts.dir cat fonts.dir.tmp >> fonts.dir