espie a813079932 Kill a large set of deprecated variables.
Thoroughly unsubtle, most mkdir -p should probably be INSTALL* at
*install stage, and echo/ECHO_MSG is somewhat unsorted.

It's quite possible I missed a few automated changes...
2000-02-11 01:09:59 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2000/02/11 01:10:11 espie Exp $
WITH_EDITLINE= yes
DISTNAME= rc-1.6
CATEGORIES= plan9 shells
MASTER_SITES= http://www.star.le.ac.uk/~tjg/rc/release/ \
ftp://ftp.sys.toronto.edu/pub/rc/
MASTER_SITES0= http://www.star.le.ac.uk/~tjg/rc/misc/
NEED_VERSION= 1.121
MAINTAINER= markus@openbsd.org
SEPARATE_BUILD= concurrent
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-history
.if defined(WITH_READLINE) && ${WITH_READLINE:U} == YES
CONFIGURE_ARGS+= --with-readline
.elif defined(WITH_EDITLINE) && ${WITH_EDITLINE:U} == YES
DISTFILES= ${DISTNAME}.tar.gz editline-1.5.tar.gz:0
EDITLINE= ${WRKSRC}/../editline
CONFIGURE_ARGS+= --with-editline
CONFIGURE_ENV+= LIBS="-L${EDITLINE}"
.endif
pre-fetch:
.if !defined(NO_WARNINGS)
.if !defined(WITH_READLINE) && !defined(WITH_EDITLINE)
@echo '*******************************************************'
@echo '* Note that you can build rc using the readline or *'
@echo '* editline library (emacs style command line editing) *'
@echo '* by setting the shell variable WITH_READLINE or *'
@echo '* WITH_EDITLINE to yes *'
@echo '*******************************************************'
.endif
.endif
pre-configure:
.if defined(WITH_EDITLINE) && ${WITH_EDITLINE:U} == YES
@echo "===> Compiling editline"
(cd ${EDITLINE} && make)
.endif
.include <bsd.port.mk>