aboutsummaryrefslogtreecommitdiff
path: root/editors/the
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:31:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-16 14:31:17 +0000
commit15a69b70022b33f7b8ea965f1dd6b5263b44bc3d (patch)
treefa6338092145176fd39f432b05e246bd25db1030 /editors/the
parent23e1072b98c728bfda8794aa059d5a82788ca6ee (diff)
downloadports-15a69b70022b33f7b8ea965f1dd6b5263b44bc3d.tar.gz
ports-15a69b70022b33f7b8ea965f1dd6b5263b44bc3d.zip
Notes
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 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