2003-03-29 02:50:56 +01:00
|
|
|
# New ports collection makefile for: M+ Fonts
|
2003-01-13 15:50:12 +01:00
|
|
|
# Date created: July 17 2002
|
|
|
|
# Whom: The 244th namelessness at 2ch.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mplusfonts
|
2004-01-16 02:55:58 +01:00
|
|
|
PORTVERSION= 2.1.3
|
2003-01-13 15:50:12 +01:00
|
|
|
CATEGORIES= japanese x11-fonts
|
2003-08-21 06:57:32 +02:00
|
|
|
MASTER_SITES= http://downloads.sourceforge.jp/mplus-fonts/5030/ \
|
2003-01-13 15:50:12 +01:00
|
|
|
http://wids.net/archive/mplusfonts/distfiles/
|
2003-03-29 02:50:56 +01:00
|
|
|
DISTNAME= mplus_bitmap_fonts-${PORTVERSION}
|
2003-01-13 15:50:12 +01:00
|
|
|
|
|
|
|
MAINTAINER= Ys@PixyGarden.net
|
2003-02-21 13:35:09 +01:00
|
|
|
COMMENT= 12x13 dots X11 kanji fonts with simple and readable design
|
2003-01-13 15:50:12 +01:00
|
|
|
|
2003-08-21 06:57:32 +02:00
|
|
|
NO_BUILD= yes
|
2003-01-13 15:50:12 +01:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
|
|
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
.endif
|
|
|
|
|
2003-03-29 02:50:56 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
DOCS= INSTALL_E LICENSE_E README_E \
|
2003-08-21 06:57:32 +02:00
|
|
|
INSTALL_J LICENSE_J README_J
|
2003-01-13 15:50:12 +01:00
|
|
|
|
|
|
|
FONTSDIR= ${PREFIX}/lib/X11/fonts/local
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR:S/${PREFIX}\///}
|
|
|
|
|
|
|
|
pre-install:
|
2003-03-29 02:50:56 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in e j
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/fonts_${i}/fonts.alias \
|
|
|
|
${DOCSDIR}/fonts.alias.${i}
|
2003-06-17 15:06:45 +02:00
|
|
|
@${CAT} ${DOCSDIR}/fonts.alias.${i} >> ${DOCSDIR}/fonts.alias
|
2003-03-29 02:50:56 +01:00
|
|
|
.endfor
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/fonts_e/euro/fonts.alias \
|
|
|
|
${DOCSDIR}/fonts.alias.euro
|
2003-06-17 15:06:45 +02:00
|
|
|
@${CAT} ${DOCSDIR}/fonts.alias.euro >> ${DOCSDIR}/fonts.alias
|
2003-01-13 15:50:12 +01:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
|
|
|
|
do-install:
|
2003-03-29 02:50:56 +01:00
|
|
|
cd ${WRKSRC} && \
|
2003-08-21 06:57:32 +02:00
|
|
|
DESTDIR="${FONTSDIR}" ${WRKSRC}/install_mplus_fonts
|
2003-01-13 15:50:12 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for i in ${DOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|