mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
Use PLIST_DIRS properly.
This commit is contained in:
parent
7a1dfa66e6
commit
0e62938ac1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279455
@ -41,6 +41,7 @@ FONTLIST= NanumBrush \
|
||||
NanumMyeongjoExtraBold \
|
||||
NanumPen
|
||||
|
||||
PLIST_DIRS= ${FONTSDIR}
|
||||
.for f in ${FONTLIST}
|
||||
PLIST_FILES+= ${FONTSDIR}/${f}.${FONTTYPE}
|
||||
.endfor
|
||||
@ -60,7 +61,6 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/fonts.scale ${PREFIX}/${FONTSDIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_CMD} "@dirrm ${FONTSDIR}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@exec fc-cache -s %D/${FONTSDIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec fc-cache -s %D/${FONTSDIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@-${LOCALBASE}/bin/fc-cache -s ${PREFIX}/${FONTSDIR} 2>/dev/null
|
||||
|
@ -38,6 +38,7 @@ FONTLIST?= UnBatang \
|
||||
UnPilgi \
|
||||
UnPilgiBold
|
||||
|
||||
PLIST_DIRS= ${FONTSDIR}
|
||||
.for f in ${FONTLIST}
|
||||
PLIST_FILES+= ${FONTSDIR}/${f}.ttf
|
||||
.endfor
|
||||
@ -57,7 +58,6 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/fonts.scale ${PREFIX}/${FONTSDIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_CMD} "@dirrm ${FONTSDIR}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@exec fc-cache -s %D/${FONTSDIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec fc-cache -s %D/${FONTSDIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@-${LOCALBASE}/bin/fc-cache -s ${PREFIX}/${FONTSDIR} 2>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user