freebsd-ports/editors/elvis/Makefile
Chris Piazza 90f74536d2 Import of elvis.
Elvis is intended to be a modern replacement for the classic
ex/vi editor.  Elvis supports many new features, including multiple
edit buffers, multiple windows, multiple user interfaces, and a
variety of display modes including plain text, syntax highlighting,
hex dump, HTML and man page formatter.

PR:		13543
Submitted by:	Christian Weisgerber <naddy@unix-ag.uni-kl.de>
1999-09-04 19:33:38 +00:00

40 lines
1,009 B
Makefile

# New ports collection makefile for: elvis
# Version required: 2.1.3
# Date created: 1999-09-01
# Whom: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
#
# $FreeBSD$
#
DISTNAME= elvis-2.1_3
PKGNAME= elvis-2.1.3
CATEGORIES= editors
MASTER_SITES= ftp://ftp.cs.pdx.edu/pub/elvis/ \
ftp://ftp.false.com/pub/elvis/ \
ftp://ftp.fh-wedel.de/pub/elvis/
MAINTAINER= ports@freebsd.org
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --datadir=${PREFIX}/share/elvis
MAN1= elvis.1 elvtags.1 ref.1
# Support building on systems with or without X11 installed.
.if defined(NO_X11)
CONFIGURE_ARGS+= --with-x=no
.else
USE_XLIB= yes
pre-fetch:
@${ECHO_MSG} "To build this port without X11, define \"NO_X11\"."
.endif
do-install:
.for file in elvis elvtags ref
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lib/${file}.man ${PREFIX}/man/man1/${file}.1
.endfor
@${MKDIR} ${PREFIX}/share/elvis
${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/elvis
.include <bsd.port.mk>