aboutsummaryrefslogtreecommitdiffstats
path: root/editors/2bsd-vi/Makefile
blob: 58bcc6d9605fe52eeef74d5873b7bcb55a830f2c (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
# New ports collection makefile for:    2bsd-vi
# Date created:         2004-07-12
# Whom:             David Thiel <lx@redundancy.redundancy.org>
#
# $FreeBSD$
#

PORTNAME=   vi
PORTVERSION=    050325
CATEGORIES= editors
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ex-vi
PKGNAMEPREFIX=  2bsd-
DISTNAME=   ex-${PORTVERSION}

MAINTAINER= lx@redundancy.redundancy.org
COMMENT=    The original vi editor, updated to run on modern OSes

USE_BZIP2=  yes

PRESERVEDIR=    /var/preserve/${UNIQUENAME}
PLIST_SUB=  PRESERVEDIR="${PRESERVEDIR}"

MAN1=   ex.1 vi.1
MLINKS= ex.1 edit.1  vi.1 vedit.1  vi.1 view.1

post-patch:
.for f in Makefile ex.1 expreserve.c exrecover.c vi.1
    @${REINPLACE_CMD} -e 's|/var/preserve|${PRESERVEDIR}|' ${WRKSRC}/${f}
.endfor

.include <bsd.port.mk>