From 15a69b70022b33f7b8ea965f1dd6b5263b44bc3d Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sun, 16 Nov 2003 14:31:17 +0000 Subject: [PATCH] - Add option to support rexx-regina PR: 59329 Submitted by: Ports Fury --- editors/the/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/editors/the/Makefile b/editors/the/Makefile index f109d5e5a570..00a451ea5f77 100644 --- a/editors/the/Makefile +++ b/editors/the/Makefile @@ -19,17 +19,24 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= "The Hessling Editor", an implementation of the xedit editor -BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-imc -RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-imc - GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-ncurses --with-rexx=rexximc \ +CONFIGURE_ARGS= --with-ncurses \ --with-rexxincdir=${LOCALBASE}/include \ --with-rexxlibdir=${LOCALBASE}/lib ALL_TARGET= all html MAN1= the.1 +.if defined(WITH_REXX_REGINA) +BUILD_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina +RUN_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina +CONFIGURE_ARGS+= --with-rexx=regina +.else +BUILD_DEPENDS+= rexx:${PORTSDIR}/lang/rexx-imc +RUN_DEPENDS+= rexx:${PORTSDIR}/lang/rexx-imc +CONFIGURE_ARGS+= --with-rexx=rexximc +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/THE