aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2014-06-22 13:17:11 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2014-06-22 13:17:11 +0000
commit26969760b758f7b89e83d5daa3c498624bae7276 (patch)
tree51a94ab5fbb8db917a3b83980a2bcc6e794707a4 /japanese
parentffc72665c6acec839cda4336ee2b0927e2fdc071 (diff)
downloadports-26969760b758f7b89e83d5daa3c498624bae7276.tar.gz
ports-26969760b758f7b89e83d5daa3c498624bae7276.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/monafonts-ttf/Makefile6
-rw-r--r--japanese/monafonts-ttf/pkg-install7
2 files changed, 5 insertions, 8 deletions
diff --git a/japanese/monafonts-ttf/Makefile b/japanese/monafonts-ttf/Makefile
index 014acd22845a..3a337d103924 100644
--- a/japanese/monafonts-ttf/Makefile
+++ b/japanese/monafonts-ttf/Makefile
@@ -18,10 +18,8 @@ FONTSDIR= lib/X11/fonts/TrueType
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
-NO_STAGE= yes
do-install:
- ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- ${INSTALL_DATA} ${WRKDIR}/mona.ttf ${FILESDIR}/fonts.dir.mona ${PREFIX}/${FONTSDIR}
- ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/mona.ttf ${FILESDIR}/fonts.dir.mona ${STAGEDIR}${PREFIX}/${FONTSDIR}
.include <bsd.port.mk>
diff --git a/japanese/monafonts-ttf/pkg-install b/japanese/monafonts-ttf/pkg-install
index 3fa40e973f84..288173d8301c 100644
--- a/japanese/monafonts-ttf/pkg-install
+++ b/japanese/monafonts-ttf/pkg-install
@@ -2,11 +2,10 @@
FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
if [ "$2" = "PRE-INSTALL" ]; then
if [ ! -d ${FONTDIR} ]; then
- echo "*********************************************************"
+ echo "**************************************************************"
echo "Please add ${FONTDIR} to your font path"
- echo "and load 'xtt' module in /etc/XF86Config."
- echo "*********************************************************"
- mkdir $FONTDIR
+ echo "in /etc/X11/xorg.conf."
+ echo "**************************************************************"
fi
exit 0
fi