aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/unicode-uhoai/Makefile
blob: e6d6fb5ce26f55dc1f39e2547b260e5090e6ae9a (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
# ex:ts=8
# Ports collection makefile for:  unicode-uhoai
# Date created:           Tue Nov 27, 2001
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=   unicode-uhoai
PORTVERSION=    2.1
PORTREVISION=   1
CATEGORIES= vietnamese x11-fonts
MASTER_SITES=   http://www.geocities.com/~starkville/mozilla/
DISTNAME=   uhoaiw21

MAINTAINER= obrien@FreeBSD.org
COMMENT=    Unicode TrueType Font with UHoai Vietnamese encoding

USE_ZIP=    yes
NO_WRKSUBDIR=   yes
USE_X_PREFIX=   yes
NO_BUILD=   taken care of in do-install target

BUILD_DEPENDS=  ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir \
        bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS=    mkfontdir:${X_CLIENTS_PORT}

do-install:
    @${MKDIR} ${PREFIX}/lib/X11/fonts/TrueType
    ${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf \
        ${PREFIX}/lib/X11/fonts/TrueType
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>

EXTRACT_BEFORE_ARGS+=   -L