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