blob: dbf80ac1eaa311a348a8e007d6b2b9b2614bd67c (
plain)
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
|
# Created by: David Thiel <lx@redundancy.redundancy.org>
# $FreeBSD$
PORTNAME= vi
PORTVERSION= 050325
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= SF/ex-${PORTNAME}/ex-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= 2bsd-
DISTNAME= ex-${PORTVERSION}
MAINTAINER= lx@FreeBSD.org
COMMENT= The original vi editor, updated to run on modern OSes
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
USES= ncurses tar:bzip2
PRESERVEDIR= /var/preserve/${PKGBASE}
PLIST_SUB= PRESERVEDIR="${PRESERVEDIR}"
post-extract: .SILENT
${RM} -r ${WRKSRC}/libuxre ${WRKSRC}/regexp.h
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>
|