aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/monafonts-ttf/Makefile
blob: 57bc544a1f0864d01070b33054ca3665a18aa785 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    Mona TrueType fonts
# Date created:     14 October 2003
# Whom:         MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   monafonts-ttf
PORTVERSION=    2.90
PORTREVISION=   1
CATEGORIES= japanese x11-fonts
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= monafont
DISTNAME=   monafont-ttf-${PORTVERSION}

MAINTAINER= nobutaka@FreeBSD.org
COMMENT=    X11 TrueType kanji fonts

USE_X_PREFIX=   yes
USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes
FONTSDIR=   lib/X11/fonts/TrueType
MAKE_ENV=   FONTSDIR=${FONTSDIR}
PLIST_SUB=  FONTSDIR=${FONTSDIR}

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

.include <bsd.port.mk>