Index: head/japanese/font-kaname12/Makefile =================================================================== --- head/japanese/font-kaname12/Makefile (revision 465515) +++ head/japanese/font-kaname12/Makefile (revision 465516) @@ -1,44 +1,37 @@ # Created by: Mita Yoshio # $FreeBSD$ PORTNAME= kaname12 PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= japanese x11-fonts MASTER_SITES= LOCAL/hrs PKGNAMEPREFIX= ja-font- DISTNAME= kaname_k12_bdf DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ knm_new_linux${EXTRACT_SUFX} MAINTAINER= CQG00620@nifty.ne.jp COMMENT= 12-dot Kanji font BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf USES= fonts -FONTNAME= misc NO_ARCH= yes NO_WRKSUBDIR= yes -SUB_FILES= Makefile pkg-install -SUB_LIST= FONTSALIAS="${DATADIR}/fonts.alias" +SUB_FILES= Makefile pkg-message MAKEFILE= ${WRKDIR}/Makefile PORTDOCS= readme readme.kaname_bdf kaname.doc \ readme.knm gijutsu-siryou.doc -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${WRKDIR}/pkg-install OPTIONS_DEFINE= DOCS pre-build: apply-slist post-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${FONTSDIR} - cd ${STAGEDIR}${FONTSDIR} && \ - ${LN} -s ../../../${DATADIR_REL}/*.pcf.gz . + ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${STAGEDIR}${FONTSDIR} post-install-DOCS-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-doc .include Index: head/japanese/font-kaname12/files/pkg-install.in =================================================================== --- head/japanese/font-kaname12/files/pkg-install.in (revision 465515) +++ head/japanese/font-kaname12/files/pkg-install.in (nonexistent) @@ -1,23 +0,0 @@ -#!/bin/sh - -grepv() { - awk -v SRC=$1 'BEGIN{while (getline < SRC) {ENTRY[$0]=1}} (ENTRY[$0] != 1) {print}' $2 -} - -case $2 in -POST-INSTALL) - cd %%FONTSDIR%% - touch fonts.alias - cp fonts.alias fonts.alias.orig - (grepv %%FONTSALIAS%% fonts.alias.orig; cat %%FONTSALIAS%%) \ - > fonts.alias - rm -f fonts.alias.orig -;; -DEINSTALL) - cd %%FONTSDIR%% - touch fonts.alias - cp fonts.alias fonts.alias.orig - grepv %%FONTSALIAS%% fonts.alias.orig > fonts.alias - rm -f fonts.alias.orig -;; -esac Property changes on: head/japanese/font-kaname12/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 Index: head/japanese/font-kaname12/files/Makefile.in =================================================================== --- head/japanese/font-kaname12/files/Makefile.in (revision 465515) +++ head/japanese/font-kaname12/files/Makefile.in (revision 465516) @@ -1,30 +1,30 @@ PCF= kaname-latin1.pcf.gz knm12p.pcf.gz knm12pb.pcf.gz \ knmhn12x.pcf.gz knmzn12x.pcf.gz knmzn12xb.pcf.gz DOCS= readme readme.kaname_bdf kaname.doc readme.knm \ gijutsu-siryou.doc .PATH: fonts doc.orig knmhn12x.pcf.gz: knmhn12x.bdf bdftopcf ${.ALLSRC} | gzip -9 > ${.TARGET} .for F in ${PCF} -${DESTDIR}%%DATADIR%%/$F: $F - mkdir -p ${DESTDIR}%%DATADIR%% +${DESTDIR}%%FONTSDIR%%/$F: $F + mkdir -p ${DESTDIR}%%FONTSDIR%% ${BSD_INSTALL_DATA} ${.ALLSRC} ${.TARGET} -install: ${DESTDIR}%%DATADIR%%/$F +install: ${DESTDIR}%%FONTSDIR%%/$F all: ${F} .endfor .for F in ${DOCS} ${DESTDIR}%%DOCSDIR%%/$F: $F mkdir -p ${DESTDIR}%%DOCSDIR%% ${BSD_INSTALL_DATA} ${.ALLSRC} ${.TARGET} install-doc: ${DESTDIR}%%DOCSDIR%%/$F .endfor all install install-doc: @true Index: head/japanese/font-kaname12/files/pkg-message.in =================================================================== --- head/japanese/font-kaname12/files/pkg-message.in (nonexistent) +++ head/japanese/font-kaname12/files/pkg-message.in (revision 465516) @@ -0,0 +1,15 @@ +******************************************************************* +You can start using the font(s) by following these instructions: + +Either type the following in an X terminal: + + xset fp+ %%FONTSDIR%% + xset fp rehash + +Or, more permanently, add the following line to the "Files" section +of your X.Org configuration file (typically /etc/X11/xorg.conf): + + FontPath "%%FONTSDIR%%/" + +then restart X. +******************************************************************* Property changes on: head/japanese/font-kaname12/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/font-kaname12/pkg-plist =================================================================== --- head/japanese/font-kaname12/pkg-plist (revision 465515) +++ head/japanese/font-kaname12/pkg-plist (revision 465516) @@ -1,13 +1,7 @@ -%%DATADIR%%/fonts.alias +%%FONTSDIR%%/fonts.alias %%FONTSDIR%%/kaname-latin1.pcf.gz %%FONTSDIR%%/knm12p.pcf.gz %%FONTSDIR%%/knm12pb.pcf.gz %%FONTSDIR%%/knmhn12x.pcf.gz %%FONTSDIR%%/knmzn12x.pcf.gz %%FONTSDIR%%/knmzn12xb.pcf.gz -%%DATADIR%%/kaname-latin1.pcf.gz -%%DATADIR%%/knm12p.pcf.gz -%%DATADIR%%/knm12pb.pcf.gz -%%DATADIR%%/knmhn12x.pcf.gz -%%DATADIR%%/knmzn12x.pcf.gz -%%DATADIR%%/knmzn12xb.pcf.gz