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

PORTNAME=   libviet
PORTVERSION=    20010210
PORTREVISION=   1
CATEGORIES= vietnamese devel
MASTER_SITES=   LOCAL/obrien

MAINTAINER= ports@FreeBSD.org
COMMENT=    VIQR<->VISCII conversion and VISCII ctype-like routines

USES=       tar:bzip2

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/lib

OPTIONS_DEFINE= DOCS

MAKE_ARGS=  ${MAKE_ENV:S/CFLAGS/FLAGS/}

MAKE_JOBS_UNSAFE=   yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libvntype.a ${WRKSRC}/libviqr.a \
        ${STAGEDIR}${PREFIX}/lib
    @${MKDIR} ${STAGEDIR}${PREFIX}/include/viet
    (cd ${WRKSRC}/../include && ${INSTALL_DATA} charset.h charseta.h \
        charsetv.h ctype.h portable.h vncompos.h vnkeys.h vntype.h \
        ${STAGEDIR}${PREFIX}/include/viet)

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/../README.lib ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>