aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mplusfonts/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-03-29 09:50:56 +0800
committeredwin <edwin@FreeBSD.org>2003-03-29 09:50:56 +0800
commit2f3cfb452bd624c3c2fa2aa67997e0c073826adc (patch)
tree9152888e41b1ddb0736740fd2883033bdf21d9c0 /japanese/mplusfonts/Makefile
parentbb8e2f2f1407cdc847f9312cbf25115390b25609 (diff)
downloadfreebsd-ports-gnome-2f3cfb452bd624c3c2fa2aa67997e0c073826adc.tar.gz
freebsd-ports-gnome-2f3cfb452bd624c3c2fa2aa67997e0c073826adc.tar.zst
freebsd-ports-gnome-2f3cfb452bd624c3c2fa2aa67997e0c073826adc.zip
Update: japanese/mplusfonts
Update for M+ Bitmap Fonts 1.2.0a. This version includes latin fonts and install script that 1.0.4 don't includes. This port build for nothing in 'do-build' target, and it run install script that includes fonts build in 'do-install' target. PR: ports/50344 Submitted by: "H.Miyamoto" <Ys@PixyGarden.net>
Diffstat (limited to 'japanese/mplusfonts/Makefile')
-rw-r--r--japanese/mplusfonts/Makefile34
1 files changed, 16 insertions, 18 deletions
diff --git a/japanese/mplusfonts/Makefile b/japanese/mplusfonts/Makefile
index f22ebab321ed..4c944f9135fc 100644
--- a/japanese/mplusfonts/Makefile
+++ b/japanese/mplusfonts/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: M+ Fonts_J
+# New ports collection makefile for: M+ Fonts
# Date created: July 17 2002
# Whom: The 244th namelessness at 2ch.net
#
@@ -6,12 +6,11 @@
#
PORTNAME= mplusfonts
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.2.0a
CATEGORIES= japanese x11-fonts
-MASTER_SITES= http://downloads.sourceforge.jp/mplus-fonts/2050/ \
+MASTER_SITES= http://downloads.sourceforge.jp/mplus-fonts/2464/ \
http://wids.net/archive/mplusfonts/distfiles/
-DISTNAME= mplus_fonts_J-${PORTVERSION}
+DISTNAME= mplus_bitmap_fonts-${PORTVERSION}
MAINTAINER= Ys@PixyGarden.net
COMMENT= 12x13 dots X11 kanji fonts with simple and readable design
@@ -25,34 +24,33 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
-FONTNAME= mplus_j12b mplus_j12b_iso8859 mplus_j12b_jisx0201 \
- mplus_j12r mplus_j12r_iso8859 mplus_j12r_jisx0201
-DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
-DOCS= LICENSE README_J
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
+DOCS= INSTALL_E LICENSE_E README_E \
+ INSTALL_J LICENSE_J README_J
FONTSDIR= ${PREFIX}/lib/X11/fonts/local
PLIST_SUB= FONTSDIR=${FONTSDIR:S/${PREFIX}\///}
do-build:
-.for file in ${FONTNAME}
- cd ${WRKSRC} && \
- bdftopcf ${file}.bdf | ${GZIP_CMD} > ${file}.pcf.gz
-.endfor
pre-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in e j
+ @${INSTALL_DATA} ${WRKSRC}/fonts_${i}/fonts.alias \
+ ${DOCSDIR}/fonts.alias.${i}
+.endfor
+ @${INSTALL_DATA} ${WRKSRC}/fonts_e/euro/fonts.alias \
+ ${DOCSDIR}/fonts.alias.euro
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
do-install:
- ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTSDIR}
+ cd ${WRKSRC} && \
+ ${WRKSRC}/install_mplus_fonts ${FONTSDIR}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
-post-install:
- @(cd ${FONTSDIR} ; mkfontdir)
-
.include <bsd.port.post.mk>