From owner-svn-ports-head@FreeBSD.ORG Sat Feb 15 13:04:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9394171; Sat, 15 Feb 2014 13:04:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D32D415AD; Sat, 15 Feb 2014 13:04:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1FD4WgF012729; Sat, 15 Feb 2014 13:04:32 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1FD4UBP012712; Sat, 15 Feb 2014 13:04:30 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402151304.s1FD4UBP012712@svn.freebsd.org> From: Antoine Brodin Date: Sat, 15 Feb 2014 13:04:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344383 - in head/japanese: kanji18 kanji18/files kanji26 kanji26/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-head@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 15 Feb 2014 13:04:33 -0000 Author: antoine Date: Sat Feb 15 13:04:30 2014 New Revision: 344383 URL: http://svnweb.freebsd.org/changeset/ports/344383 QAT: https://qat.redports.org/buildarchive/r344383/ Log: - Stage support - Move obsolete pkg-req to inside pkg-install/pkg-deinstall Deleted: head/japanese/kanji18/pkg-req head/japanese/kanji26/pkg-req Modified: head/japanese/kanji18/Makefile head/japanese/kanji18/files/DEINSTALL.tmpl head/japanese/kanji18/files/INSTALL.tmpl head/japanese/kanji18/files/Makefile.in head/japanese/kanji18/pkg-plist head/japanese/kanji26/Makefile head/japanese/kanji26/files/DEINSTALL.tmpl head/japanese/kanji26/files/INSTALL.tmpl head/japanese/kanji26/files/Makefile.in head/japanese/kanji26/pkg-plist Modified: head/japanese/kanji18/Makefile ============================================================================== --- head/japanese/kanji18/Makefile Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji18/Makefile Sat Feb 15 13:04:30 2014 (r344383) @@ -3,7 +3,7 @@ PORTNAME= kanji PORTVERSION?= 1.0 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES= japanese x11-fonts MASTER_SITES= ${MASTER_SITE_PORTS_JP} MASTER_SITE_SUBDIR= ${DISTNAME} @@ -16,16 +16,15 @@ COMMENT= X11 ${PKGNAMESUFFIX}-dot Kanji EXTRACT_DEPENDS= gunshar:${PORTSDIR}/archivers/sharutils BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \ + bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir DIST_SUBDIR= ${DISTNAME} FONTSDIR= lib/X11/fonts/local NO_WRKSUBDIR= yes -NO_STAGE= yes -.include - EXTRACT_CMD= ${GZCAT} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= | ${AWK} '/bin\/sh/{P=1} {if (P==1) print;}' | \ @@ -38,6 +37,8 @@ README_FILE?= 573.z RESIZESED_FILE?= 18to16.sed RESIZED_ALIAS_FILE?= kanji16.alias +OPTIONS_DEFINE= DOCS + post-extract: @(cd $(WRKSRC); ${CAT} ${DISTNAME}.?? | uudecode) @${CP} -p ${FILESDIR}/Makefile.in ${WRKDIR}/Makefile @@ -54,18 +55,12 @@ pre-install: -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ < ${FILESDIR}/$${file}.tmpl > ${WRKSRC}/$${file}; \ done - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGREQ} ${PKGNAME} INSTALL post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/${DISTNAME} - @${INSTALL_DATA} ${WRKSRC}/${RESIZESED_FILE} ${PREFIX}/share/doc/${DISTNAME}/ - @${INSTALL_DATA} ${WRKSRC}/README.${DISTNAME} ${PREFIX}/share/doc/${DISTNAME}/ - @${INSTALL_DATA} ${WRKSRC}/${RESIZED_ALIAS_FILE} ${PREFIX}/share/doc/${DISTNAME}/ - @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.alias ${PREFIX}/share/doc/${DISTNAME}/ -.endif - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME} + ${INSTALL_DATA} ${WRKSRC}/${RESIZESED_FILE} ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME} + ${INSTALL_DATA} ${WRKSRC}/README.${DISTNAME} ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME} + ${INSTALL_DATA} ${WRKSRC}/${RESIZED_ALIAS_FILE} ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME} + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.alias ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME} -.include +.include Modified: head/japanese/kanji18/files/DEINSTALL.tmpl ============================================================================== --- head/japanese/kanji18/files/DEINSTALL.tmpl Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji18/files/DEINSTALL.tmpl Sat Feb 15 13:04:30 2014 (r344383) @@ -1,7 +1,41 @@ #!/bin/sh +grepv() { + awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 +} + if [ "x$2" = "xPOST-DEINSTALL" ]; then + FONTDIR=${PKG_PREFIX}/%%FONTSDIR%% cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir + + # font alias entry here! + TMPFILE=/tmp/install-fonts-alias-$$ + cat <<- EOF > ${TMPFILE} + kanji18 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + kanji18b -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + kanji18i -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + kanji18bi -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + EOF + echo "Updating ${FONTDIR}/fonts.alias" + cd ${FONTDIR} + touch fonts.alias + cp fonts.alias fonts.alias.orig + grepv ${TMPFILE} fonts.alias.orig > fonts.alias + if [ ! -s fonts.alias ]; then rm -f fonts.alias; fi + rm -f fonts.alias.orig ${TMPFILE} + %%LOCALBASE%%/bin/xset fp rehash || ( echo "**********************************************************" @@ -13,3 +47,5 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir fi fi + + Modified: head/japanese/kanji18/files/INSTALL.tmpl ============================================================================== --- head/japanese/kanji18/files/INSTALL.tmpl Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji18/files/INSTALL.tmpl Sat Feb 15 13:04:30 2014 (r344383) @@ -1,7 +1,40 @@ #!/bin/sh +grepv() { + awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 +} + if [ "x$2" = "xPOST-INSTALL" ]; then + FONTDIR=${PKG_PREFIX}/%%FONTSDIR%% cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir + + # font alias entry here! + TMPFILE=/tmp/install-fonts-alias-$$ + cat <<- EOF > ${TMPFILE} + kanji18 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + kanji18b -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + kanji18i -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + kanji18bi -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 + -jis-fixed-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-fixed-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-medium-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-bold-r-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-r-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-medium-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-medium-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + -jis-gothic-bold-i-normal--18-130-100-100-c-180-jisx0208.1983-0 -jis-gothic-bold-i-normal--18-170-75-75-c-180-jisx0208.1983-0 + EOF + echo "Updating ${FONTDIR}/fonts.alias" + cd ${FONTDIR} + touch fonts.alias + cp fonts.alias fonts.alias.orig + (grepv ${TMPFILE} fonts.alias.orig ; cat ${TMPFILE}) > fonts.alias + rm -f fonts.alias.orig ${TMPFILE} + %%LOCALBASE%%/bin/xset fp rehash || ( echo "**********************************************************" @@ -10,3 +43,4 @@ if [ "x$2" = "xPOST-INSTALL" ]; then echo "**********************************************************" ) fi + Modified: head/japanese/kanji18/files/Makefile.in ============================================================================== --- head/japanese/kanji18/files/Makefile.in Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji18/files/Makefile.in Sat Feb 15 13:04:30 2014 (r344383) @@ -27,8 +27,8 @@ ${PCF_ALL}: ${.TARGET:S/.pcf.gz/.bdf/} bdftopcf $> | ${GZIP_CMD} -c > $@ install: - mkdir -p ${PREFIX}/${FONTSDIR} - ${BSD_INSTALL_DATA} ${PCF_ALL} ${PREFIX}/${FONTSDIR} + mkdir -p ${DESTDIR}${PREFIX}/${FONTSDIR} + ${BSD_INSTALL_DATA} ${PCF_ALL} ${DESTDIR}${PREFIX}/${FONTSDIR} clean:: rm ${MADE_BOLD} ${MADE_ITALIC} ${PCF_ALL} Modified: head/japanese/kanji18/pkg-plist ============================================================================== --- head/japanese/kanji18/pkg-plist Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji18/pkg-plist Sat Feb 15 13:04:30 2014 (r344383) @@ -1,4 +1,3 @@ -%%FONTSDIR%%/fonts.alias %%FONTSDIR%%/kanji18.pcf.gz %%FONTSDIR%%/kanji18b.pcf.gz %%FONTSDIR%%/kanji18bi.pcf.gz @@ -8,4 +7,3 @@ %%PORTDOCS%%share/doc/kanji18/kanji16.alias %%PORTDOCS%%share/doc/kanji18/kanji18.alias %%PORTDOCS%%@dirrm share/doc/kanji18 -@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi Modified: head/japanese/kanji26/Makefile ============================================================================== --- head/japanese/kanji26/Makefile Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji26/Makefile Sat Feb 15 13:04:30 2014 (r344383) @@ -13,5 +13,4 @@ README_FILE?= 793.gz RESIZESED_FILE?= 26to24.sed RESIZED_ALIAS_FILE?= kanji24.alias -NO_STAGE= yes .include "${MASTERDIR}/Makefile" Modified: head/japanese/kanji26/files/DEINSTALL.tmpl ============================================================================== --- head/japanese/kanji26/files/DEINSTALL.tmpl Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji26/files/DEINSTALL.tmpl Sat Feb 15 13:04:30 2014 (r344383) @@ -1,7 +1,41 @@ #!/bin/sh +grepv() { + awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 +} + if [ "x$2" = "xPOST-DEINSTALL" ]; then + FONTDIR=${PKG_PREFIX}/%%FONTSDIR%% cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir + + # font alias entry here! + TMPFILE=/tmp/install-fonts-alias-$$ + cat <<- EOF > ${TMPFILE} + kanji26 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + kanji26b -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + kanji26i -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + kanji26bi -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + EOF + echo "Updating ${FONTDIR}/fonts.alias" + cd ${FONTDIR} + touch fonts.alias + cp fonts.alias fonts.alias.orig + grepv ${TMPFILE} fonts.alias.orig > fonts.alias + if [ ! -s fonts.alias ]; then rm -f fonts.alias; fi + rm -f fonts.alias.orig ${TMPFILE} + %%LOCALBASE%%/bin/xset fp rehash || ( echo "**********************************************************" @@ -13,3 +47,5 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir fi fi + + Modified: head/japanese/kanji26/files/INSTALL.tmpl ============================================================================== --- head/japanese/kanji26/files/INSTALL.tmpl Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji26/files/INSTALL.tmpl Sat Feb 15 13:04:30 2014 (r344383) @@ -1,7 +1,40 @@ #!/bin/sh +grepv() { + awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 +} + if [ "x$2" = "xPOST-INSTALL" ]; then + FONTDIR=${PKG_PREFIX}/%%FONTSDIR%% cd ${PKG_PREFIX}/%%FONTSDIR%%; %%LOCALBASE%%/bin/mkfontdir + + # font alias entry here! + TMPFILE=/tmp/install-fonts-alias-$$ + cat <<- EOF > ${TMPFILE} + kanji26 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + kanji26b -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + kanji26i -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + kanji26bi -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 + -jis-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-fixed-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-bold-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-r-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-medium-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + -jis-mincho-bold-i-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-bold-i-normal--26-250-75-75-c-260-jisx0208.1983-0 + EOF + echo "Updating ${FONTDIR}/fonts.alias" + cd ${FONTDIR} + touch fonts.alias + cp fonts.alias fonts.alias.orig + (grepv ${TMPFILE} fonts.alias.orig ; cat ${TMPFILE}) > fonts.alias + rm -f fonts.alias.orig ${TMPFILE} + %%LOCALBASE%%/bin/xset fp rehash || ( echo "**********************************************************" @@ -10,3 +43,4 @@ if [ "x$2" = "xPOST-INSTALL" ]; then echo "**********************************************************" ) fi + Modified: head/japanese/kanji26/files/Makefile.in ============================================================================== --- head/japanese/kanji26/files/Makefile.in Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji26/files/Makefile.in Sat Feb 15 13:04:30 2014 (r344383) @@ -27,8 +27,8 @@ ${PCF_ALL}: ${.TARGET:S/.pcf.gz/.bdf/} bdftopcf $> | ${GZIP_CMD} -c > $@ install: - mkdir -p ${PREFIX}/${FONTSDIR} - ${BSD_INSTALL_DATA} ${PCF_ALL} ${PREFIX}/${FONTSDIR} + mkdir -p ${DESTDIR}${PREFIX}/${FONTSDIR} + ${BSD_INSTALL_DATA} ${PCF_ALL} ${DESTDIR}${PREFIX}/${FONTSDIR} clean:: rm ${MADE_BOLD} ${MADE_ITALIC} ${PCF_ALL} Modified: head/japanese/kanji26/pkg-plist ============================================================================== --- head/japanese/kanji26/pkg-plist Sat Feb 15 13:02:53 2014 (r344382) +++ head/japanese/kanji26/pkg-plist Sat Feb 15 13:04:30 2014 (r344383) @@ -7,4 +7,3 @@ %%PORTDOCS%%share/doc/kanji26/kanji24.alias %%PORTDOCS%%share/doc/kanji26/kanji26.alias %%PORTDOCS%%@dirrm share/doc/kanji26 -@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi