1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/editors/2bsd-vi/Makefile
Chris Hutchinson f755375b37 *: Move manpages to share/man
PR:		277322
2024-02-27 19:30:55 +03:00

33 lines
804 B
Makefile

PORTNAME= vi
PORTVERSION= 050325
PORTREVISION= 3
CATEGORIES= editors
MASTER_SITES= SF/ex-${PORTNAME}/ex-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= 2bsd-
DISTNAME= ex-${PORTVERSION}
MAINTAINER= portmaster@BSDforge.com
COMMENT= The original vi editor, updated to run on modern OSes
WWW= https://ex-vi.sourceforge.net/
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>