From owner-svn-ports-head@FreeBSD.ORG Wed May 1 03:19:10 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 83215818; Wed, 1 May 2013 03:19:10 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5C33815DD; Wed, 1 May 2013 03:19:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r413JA7m037211; Wed, 1 May 2013 03:19:10 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r413JA2D037209; Wed, 1 May 2013 03:19:10 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201305010319.r413JA2D037209@svn.freebsd.org> From: Hiroki Sato Date: Wed, 1 May 2013 03:19:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316985 - head/japanese/font-takao 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.14 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: Wed, 01 May 2013 03:19:10 -0000 Author: hrs Date: Wed May 1 03:19:09 2013 New Revision: 316985 URL: http://svnweb.freebsd.org/changeset/ports/316985 Log: - Trim old-style header. - Use OPTIONS_DEFINE. - Style clean-ups. Modified: head/japanese/font-takao/Makefile head/japanese/font-takao/pkg-descr Modified: head/japanese/font-takao/Makefile ============================================================================== --- head/japanese/font-takao/Makefile Wed May 1 03:12:55 2013 (r316984) +++ head/japanese/font-takao/Makefile Wed May 1 03:19:09 2013 (r316985) @@ -1,14 +1,11 @@ -# New ports collection makefile for: font-takao -# Date created: 19 February 2010 -# Whom: hrs # $FreeBSD$ -# -PORTNAME= font-takao +PORTNAME= takao PORTVERSION= 003.02.01 CATEGORIES= japanese x11-fonts MASTER_SITES= http://launchpadlibrarian.net/40218948/ -DISTNAME= takao-fonts-ttf-${PORTVERSION} +PKGNAMEPREFIX= ja-font- +DISTNAME= ${PORTNAME}-fonts-ttf-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= An improved IPA Japanese fonts @@ -22,6 +19,7 @@ SUB_FILES= pkg-install SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR} PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \ LOCAL_FONTSDIR=${LOCAL_FONTSDIR} +DATADIR= ${PREFIX}/share/font-${PORTNAME} PORTDOCS= IPA_Font_License_Agreement_v1.0.txt \ README \ README.ja \ @@ -30,6 +28,10 @@ PORTDOCS= IPA_Font_License_Agreement_v1. LOCAL_FONTSDIR= share/fonts X_FONTSDIR= lib/X11/fonts +OPTIONS_DEFINE= DOCS + +.include + post-extract: cd ${WRKSRC} && for F in *.ttf; do ${MV} $${F} $${F%.ttf}.otf; done @@ -44,14 +46,14 @@ do-install: ${LN} -s -f \ ${DATADIR}/Takao*.otf \ ${PREFIX}/${X_FONTSDIR}/OTF/ - ${INSTALL_DATA} ${FILESDIR}/20-unhint-takao.conf \ - ${FILESDIR}/62-fonts-takao.conf \ + ${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \ + ${FILESDIR}/62-fonts-${PORTNAME}.conf \ ${PREFIX}/etc/fonts/conf.avail - ${LN} -s -f ../conf.avail/20-unhint-takao.conf \ - ${PREFIX}/etc/fonts/conf.d/20-unhint-takao.conf - ${LN} -s -f ../conf.avail/62-fonts-takao.conf \ - ${PREFIX}/etc/fonts/conf.d/62-fonts-takao.conf -.if !defined(NOPORTDOCS) + ${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \ + ${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf + ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ + ${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif Modified: head/japanese/font-takao/pkg-descr ============================================================================== --- head/japanese/font-takao/pkg-descr Wed May 1 03:12:55 2013 (r316984) +++ head/japanese/font-takao/pkg-descr Wed May 1 03:19:09 2013 (r316985) @@ -2,4 +2,4 @@ Takao Fonts are a community developed de main purpose of this project is to secure the possibility to maintain the fonts by the community. -WWW: https://launchpad.net/takao-fonts +WWW: https://launchpad.net/takao-fonts