aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/elisa10x8/Makefile
blob: 1409e1ae88a5f2d0b9a568b8f0d1a232ad07bb5c (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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    elisafont
# Date created:     26 Sep 1997
# Whom: Dai ISHIJIMA & ELISA Font Project <ishijima@tri.pref.osaka.jp>
#
# $FreeBSD$
#

PORTNAME=   elisa10x8
PORTVERSION=    1.0
CATEGORIES= japanese x11-fonts
MASTER_SITES=   ftp://ftp.tut.ac.jp/X11/Fonts/ \
        ftp://ftp.iij.ad.jp/pub/X/X11R6.3/%SUBDIR%/ \
        ftp://ftp.eu.net/X11/R6.3/%SUBDIR%/
MASTER_SITE_SUBDIR= xc/fonts/bdf/misc
DISTFILES=  elisau10.tgz \
        clR5x8.bdf
EXTRACT_ONLY=   elisau10.tgz

MAINTAINER= ishijima@tri.pref.osaka.jp

USE_X_PREFIX=   yes
NO_WRKSUBDIR=   yes

FONTSDIR=   lib/X11/fonts/local
MAKE_ENV=   DISTDIR=${DISTDIR} FONTSDIR=${FONTSDIR}
PLIST_SUB=  FONTSDIR=${FONTSDIR}

pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL

post-install:
    @(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/elisa8
    @${CP} ${WRKSRC}/elisa100.doc ${PREFIX}/share/doc/elisa8/
    @${CP} ${WRKSRC}/elisau10.doc ${PREFIX}/share/doc/elisa8/
    @${CP} ${WRKSRC}/hosoku.txt ${PREFIX}/share/doc/elisa8/
.endif

.include <bsd.port.mk>