1999-09-04 15:33:38 -04:00
|
|
|
# New ports collection makefile for: elvis
|
|
|
|
# Date created: 1999-09-01
|
|
|
|
# Whom: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 20:25:54 -04:00
|
|
|
PORTNAME= elvis
|
|
|
|
PORTVERSION= 2.1.4
|
1999-09-04 15:33:38 -04:00
|
|
|
CATEGORIES= editors
|
1999-10-27 03:15:48 -04:00
|
|
|
MASTER_SITES= ftp://ftp.cs.pdx.edu/pub/elvis/ \
|
|
|
|
ftp://ftp.false.com/pub/elvis/ \
|
1999-09-04 15:33:38 -04:00
|
|
|
ftp://ftp.fh-wedel.de/pub/elvis/
|
2000-04-13 20:25:54 -04:00
|
|
|
DISTNAME= ${PORTNAME}-2.1_4
|
1999-09-04 15:33:38 -04:00
|
|
|
|
1999-10-27 03:15:48 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-09-04 15:33:38 -04:00
|
|
|
|
|
|
|
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.
|
2000-04-16 20:18:05 -04:00
|
|
|
.if defined(WITHOUT_X11)
|
1999-09-04 15:33:38 -04:00
|
|
|
CONFIGURE_ARGS+= --with-x=no
|
|
|
|
.else
|
|
|
|
USE_XLIB= yes
|
|
|
|
|
|
|
|
pre-fetch:
|
2000-04-16 20:18:05 -04:00
|
|
|
@${ECHO_MSG} "To build this port without X11, define \"WITHOUT_X11\"."
|
1999-09-04 15:33:38 -04:00
|
|
|
.endif
|
|
|
|
|
1999-10-27 03:15:48 -04:00
|
|
|
pre-configure:
|
|
|
|
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/configure
|
|
|
|
|
1999-09-04 15:33:38 -04:00
|
|
|
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>
|