aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vnxfonts/Makefile
blob: 94263513dde9cd47b70270637b96ba1d04ebbbe8 (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
# 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
PORTREVISION=   2
CATEGORIES= vietnamese x11-fonts
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
DISTNAME=   Xfonts
EXTRACT_SUFX=   .tar.Z

MAINTAINER= obrien@FreeBSD.org
COMMENT=    X fonts for displaying Vietnamese

BUILD_DEPENDS=  bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
        mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
        mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale

WRKSRC=     ${WRKDIR}/fonts/X
MAKE_JOBS_UNSAFE=   yes

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.mk>