summaryrefslogtreecommitdiffstats
path: root/editors/the
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-16 14:31:17 +0000
committerkrion <krion@FreeBSD.org>2003-11-16 14:31:17 +0000
commit5a1832c1ed67b35dd51a354fc88b67145b0147f8 (patch)
tree31bd583dc3069f4e2bb6b267ee4d5b2a93199d7b /editors/the
parent81b180bc2bedb6348a01df1696807261a3893239 (diff)
downloadFreeBSD-ports-5a1832c1ed67b35dd51a354fc88b67145b0147f8.zip
FreeBSD-ports-5a1832c1ed67b35dd51a354fc88b67145b0147f8.tar.gz
- Add option to support rexx-regina
PR: 59329 Submitted by: Ports Fury
Diffstat (limited to 'editors/the')
-rw-r--r--editors/the/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/editors/the/Makefile b/editors/the/Makefile
index f109d5e..00a451e 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
OpenPOWER on IntegriCloud