aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-08-11 05:42:08 +0800
committerjkim <jkim@FreeBSD.org>2011-08-11 05:42:08 +0800
commitc3b6bc73a29387e6d782403b48d45990b7a80511 (patch)
tree9b035d1548a612837ad91555d19a49a71bdf421d
parentd8990c9dbe32d364a4ca36f74ae15f487c82eaeb (diff)
downloadfreebsd-ports-graphics-c3b6bc73a29387e6d782403b48d45990b7a80511.tar.gz
freebsd-ports-graphics-c3b6bc73a29387e6d782403b48d45990b7a80511.tar.zst
freebsd-ports-graphics-c3b6bc73a29387e6d782403b48d45990b7a80511.zip
Use PLIST_DIRS properly.
-rw-r--r--korean/nanumfonts-otf/Makefile2
-rw-r--r--korean/unfonts-core/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/korean/nanumfonts-otf/Makefile b/korean/nanumfonts-otf/Makefile
index 17baedffb3f..9d3f469473c 100644
--- a/korean/nanumfonts-otf/Makefile
+++ b/korean/nanumfonts-otf/Makefile
@@ -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
diff --git a/korean/unfonts-core/Makefile b/korean/unfonts-core/Makefile
index 4fa909b159f..ba1eda5d435 100644
--- a/korean/unfonts-core/Makefile
+++ b/korean/unfonts-core/Makefile
@@ -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