aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vn7to8/Makefile
blob: a7a5e3d153688658322ed274368273e8d92851f2 (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
# Created by: David O'Brien (obrien@cs.ucdavis.edu)
# $FreeBSD$

PORTNAME=   vn7to8
PORTVERSION=    1.1.1
CATEGORIES= vietnamese
MASTER_SITES=   ftp://ftp.monash.edu.au/pub/vietnam/unix/
DISTNAME=   vn7to8
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Converts between 7-bit Vietnamese VIQR and 8-bit VISCII formats

BUILD_DEPENDS=  ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet

CFLAGS+=    -I${PREFIX}/include/viet

post-extract:
    @${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib
    @${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include

post-install:
    @${INSTALL_MAN} ${FILESDIR}/vn7to8.1 ${STAGEDIR}${PREFIX}/man/man1
    @${INSTALL_MAN} ${FILESDIR}/vn80to81.1 ${STAGEDIR}${PREFIX}/man/man1
    @${INSTALL_MAN} ${FILESDIR}/vn8to7.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>