aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vnxfonts/Makefile
blob: 5498589280193b91b1b52af6423cd8c3a81e0b19 (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
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$

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= ports@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

NO_STAGE=   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>