1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix pkg-plist and do not dig an empty directory that's never used.

This commit is contained in:
Akinori MUSHA 2001-09-10 07:26:28 +00:00
parent 7044a2ff98
commit 0652b197c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47597
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ post-install:
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME}
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/ja/${PORTNAME}/README.euc-jp
# @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
# @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/${PORTNAME}/
.endif

View File

@ -15,9 +15,9 @@
%%FONTSDIR%%/nk20b-1.pcf.gz
%%FONTSDIR%%/vk20b.pcf.gz
%%FONTSDIR%%/vk20m.pcf.gz
share/doc/ja/kappa20/README.euc-jp
%%PORTDOCS%%share/doc/ja/kappa20/README.euc-jp
%%PORTDOCS%%@dirrm share/doc/ja/kappa20
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
@unexec if [ `wc -c %D/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/%%FONTSDIR%%/fonts.dir; fi
@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi
@dirrm share/doc/kappa20