aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vnelvis/Makefile
blob: 0bb4a54483129958bf177112d09998d549a06219 (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
# ex:ts=8
# Ports collection makefile for:    vnelvis
# Date created:         Tue Dec 3, 1996
# Whom:                 David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#

PORTNAME=   vnelvis
PORTVERSION=    1.4
CATEGORIES= vietnamese editors
MASTER_SITES=   ftp://ftp.monash.edu.au/pub/vietnam/unix/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= obrien@FreeBSD.org
COMMENT=    A vi clone that speaks Vietnamese

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

CFLAGS+=    -I${PREFIX}/include/viet
MAN1=       vnelvis.1 vnvi.1

post-extract:
    @ cd ${WRKSRC} ; make clean
    @ ${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib
    @ ${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include

post-install:
    ${INSTALL_MAN} ${WRKSRC}/vnelvis.1V ${PREFIX}/man/man1/vnelvis.1
    ${INSTALL_MAN} ${WRKSRC}/vnelvis.1V ${PREFIX}/man/man1/vnvi.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800039
BROKEN=     does not build
.endif

.include <bsd.port.post.mk>