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:
parent
7044a2ff98
commit
0652b197c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47597
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user