Index: head/japanese/font-mona-ttf/Makefile =================================================================== --- head/japanese/font-mona-ttf/Makefile (revision 521450) +++ head/japanese/font-mona-ttf/Makefile (revision 521451) @@ -1,38 +1,32 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PORTNAME= mona PORTVERSION= 2.90 +PORTREVISION= 1 CATEGORIES= japanese x11-fonts MASTER_SITES= SF/monafont/monafont/monafont-${PORTVERSION} PKGNAMEPREFIX= ja-font- PKGNAMESUFFIX= -ttf DISTNAME= monafont-ttf-${PORTVERSION} MAINTAINER= nobutaka@FreeBSD.org COMMENT= TrueType Kanji fonts +LICENSE= PD + USES= fonts:fc zip -FONTNAME= TTF +FONTPATHSPEC= ${FONTNAME}:pri=60 +FONTNAME= ${PORTNAME}${PKGNAMESUFFIX} NO_ARCH= yes NO_BUILD= yes NO_WRKSUBDIR= yes -SUB_FILES= pkg-install -SUB_LIST= DIRFILE="${DATADIR}/fonts.dir" -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${WRKDIR}/pkg-install -MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,} -PLIST_FILES= %%DATADIR%%/fonts.dir \ - %%DATADIR%%/mona.ttf \ - %%FONTSDIR%%/mona.ttf +PLIST_FILES= ${FONTSDIR:S,${PREFIX}/,,}/fonts.dir \ + ${FONTSDIR:S,${PREFIX}/,,}/mona.ttf do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/mona.ttf ${FILESDIR}/fonts.dir \ - ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${FONTSDIR} - cd ${STAGEDIR}${FONTSDIR} && \ - ${LN} -s ../../../${DATADIR_REL}/*.ttf . + ${INSTALL_DATA} ${WRKSRC}/mona.ttf ${FILESDIR}/fonts.dir \ + ${STAGEDIR}${FONTSDIR} .include Index: head/japanese/font-mona-ttf/files/pkg-install.in =================================================================== --- head/japanese/font-mona-ttf/files/pkg-install.in (revision 521450) +++ head/japanese/font-mona-ttf/files/pkg-install.in (nonexistent) @@ -1,22 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - cd %%FONTSDIR%% - touch fonts.dir - sed -e '/mona\.ttf/d' fonts.dir > fonts.dir.tmp - numfonts=$(echo $(cat fonts.dir.tmp %%DIRFILE%% | wc -l) - 2 | bc) - echo ${numfonts} > fonts.dir - sed -e 1d fonts.dir.tmp >> fonts.dir - sed -e 1d %%DIRFILE%% >> fonts.dir - rm -f fonts.dir.tmp fonts.alias.tmp -;; -DEINSTALL) - cd %%FONTSDIR%% - touch fonts.dir - sed -e '/mona\.ttf/d' fonts.dir > fonts.dir.tmp - numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 2 | bc) - echo ${numfonts} > fonts.dir - sed -e 1d fonts.dir.tmp >> fonts.dir -;; -esac Property changes on: head/japanese/font-mona-ttf/files/pkg-install.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property