aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-02 14:27:37 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-02 14:27:37 +0000
commitb55912c4eb1c0950ceda6d1ce12b72457c209d5c (patch)
tree538d0d77127cd771788cd9af812d5f91e66379c3 /japanese
parent23557c7727c55f8f5dc1bbb07f8630ff0768ad46 (diff)
downloadports-b55912c4eb1c0950ceda6d1ce12b72457c209d5c.tar.gz
ports-b55912c4eb1c0950ceda6d1ce12b72457c209d5c.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mikachan-ttfonts/Makefile9
-rw-r--r--japanese/mikachan-ttfonts/pkg-install2
2 files changed, 5 insertions, 6 deletions
diff --git a/japanese/mikachan-ttfonts/Makefile b/japanese/mikachan-ttfonts/Makefile
index 4ac031a481bf..7ac3ccc019e0 100644
--- a/japanese/mikachan-ttfonts/Makefile
+++ b/japanese/mikachan-ttfonts/Makefile
@@ -13,7 +13,7 @@ COMMENT= Handwritten Japanese TrueType fonts by Mika-chan
EXTRACT_DEPENDS= lha:${PORTSDIR}/archivers/lha
-NO_CDROM= Don't sell distfile
+NO_CDROM= Do not sell distfile
EXTRACT_CMD= lha
EXTRACT_BEFORE_ARGS= pq
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mika.ttf
@@ -25,12 +25,11 @@ PLIST_SUB= FONTSDIR=${FONTSDIR}
FONTSDIR= lib/X11/fonts/TrueType
-NO_STAGE= yes
do-install:
- ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+ ${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
${INSTALL_DATA} \
${WRKDIR}/mika.ttf ${FILESDIR}/fonts.dir.mika \
- ${PREFIX}/${FONTSDIR}
- ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${STAGEDIR}${PREFIX}/${FONTSDIR}
+ ${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/japanese/mikachan-ttfonts/pkg-install b/japanese/mikachan-ttfonts/pkg-install
index b8a31fb1da6e..7d304a9cf669 100644
--- a/japanese/mikachan-ttfonts/pkg-install
+++ b/japanese/mikachan-ttfonts/pkg-install
@@ -4,7 +4,7 @@ if [ "$2" = "PRE-INSTALL" ]; then
if [ ! -d ${FONTDIR} ]; then
echo "*********************************************************"
echo "Please add ${FONTDIR} to your font path"
- echo "and load 'xtt' module in /etc/XF86Config."
+ echo "and load 'xtt' module in /etc/X11/xorg.conf ."
echo "*********************************************************"
mkdir $FONTDIR
fi