aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-16 22:31:17 +0800
committerkrion <krion@FreeBSD.org>2003-11-16 22:31:17 +0800
commit5a1832c1ed67b35dd51a354fc88b67145b0147f8 (patch)
tree31bd583dc3069f4e2bb6b267ee4d5b2a93199d7b /editors
parent81b180bc2bedb6348a01df1696807261a3893239 (diff)
downloadfreebsd-ports-gnome-5a1832c1ed67b35dd51a354fc88b67145b0147f8.tar.gz
freebsd-ports-gnome-5a1832c1ed67b35dd51a354fc88b67145b0147f8.tar.zst
freebsd-ports-gnome-5a1832c1ed67b35dd51a354fc88b67145b0147f8.zip
- Add option to support rexx-regina
PR: 59329 Submitted by: Ports Fury
Diffstat (limited to 'editors')
-rw-r--r--editors/the/Makefile15
1 files 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