aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vnxfonts/Makefile
blob: d043aeaca889a418a2a35fc033825464749d4482 (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
# ex:ts=8
# Ports collection makefile for:    VN-Xfonts
# Version required:     1.1.1
# Date created:         Tue Dec 3, 1996
# Whom:                 David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
#   version # is VISCII version supported + .<edit_revision>

PORTNAME=   vnxfonts
PORTVERSION=    1.1.1
CATEGORIES= vietnamese x11-fonts
MASTER_SITES=   ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/  \
        ftp://ftp.monash.edu.au/pub/vietnam/unix/
DISTNAME=   Xfonts
EXTRACT_SUFX=   .tar.Z

MAINTAINER=     obrien@FreeBSD.org

WRKSRC=     ${WRKDIR}/fonts/X
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

do-install:
    @${MKDIR} ${PREFIX}/lib/X11/fonts/vietnamese
    @cd ${WRKSRC} ; \
        ${INSTALL_DATA} fonts.dir *.pcf.Z  \
        ${PREFIX}/lib/X11/fonts/vietnamese
    @${INSTALL_DATA} ${FILESDIR}/fonts.alias \
        ${PREFIX}/lib/X11/fonts/vietnamese
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.post.mk>