Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2016 18:59:18 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406792 - in head/editors: . the the/files
Message-ID:  <201601201859.u0KIxINd074757@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Wed Jan 20 18:59:18 2016
New Revision: 406792
URL: https://svnweb.freebsd.org/changeset/ports/406792

Log:
  New port: editors/the
  
  In fact, this is a reanimation with a newer version.
  
  THE is a text editor that uses both command line commands and key bindings
  to operate. It is intended to be similar to the VM/CMS System Product
  Editor, XEDIT and to Mansfield Software's, KEDIT.
  
  WWW: http://hessling-editor.sourceforge.net/
  
  PR:		201187
  Submitted by:	Richard Narron <comet.berkeley@gmail.com>

Added:
  head/editors/the/
     - copied from r349686, head/editors/the/
Deleted:
  head/editors/the/files/
Modified:
  head/editors/Makefile
  head/editors/the/Makefile
  head/editors/the/distinfo
  head/editors/the/pkg-plist

Modified: head/editors/Makefile
==============================================================================
--- head/editors/Makefile	Wed Jan 20 18:57:11 2016	(r406791)
+++ head/editors/Makefile	Wed Jan 20 18:59:18 2016	(r406792)
@@ -241,6 +241,7 @@
     SUBDIR += texstudio
     SUBDIR += textroom
     SUBDIR += texworks
+    SUBDIR += the
     SUBDIR += thoteditor
     SUBDIR += tpad
     SUBDIR += tree-widget

Modified: head/editors/the/Makefile
==============================================================================
--- head/editors/the/Makefile	Sun Mar 30 21:59:27 2014	(r349686)
+++ head/editors/the/Makefile	Wed Jan 20 18:59:18 2016	(r406792)
@@ -2,35 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	the
-PORTVERSION=	3.2
-PORTREVISION=	1
+PORTVERSION=	3.3.r4
 CATEGORIES=	editors
-MASTER_SITES=	SF/hessling-editor/hessling-editor/${PORTVERSION}
-DISTNAME=	THE-${PORTVERSION}
+MASTER_SITES=	http://downloads.sourceforge.net/hessling-editor/
+DISTNAME=	THE-${PORTVERSION:S/.r/RC/}
 
-PATCH_SITES=	http://users.comlab.ox.ac.uk/ian.collier/distribution/
-PATCHFILES=	THE-3.1-rexximc.patch
-PATCH_DIST_STRIP=	-p1
+MAINTAINER=	comet.berkeley@gmail.com
+COMMENT=	THE, The Hessling Editor, is like the vm/cms xedit editor
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	"The Hessling Editor", an implementation of the xedit editor
+LICENSE=	GPLv2
 
-DEPRECATED=	Unmaintained since 1999
-EXPIRATION_DATE=	2014-04-10
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-ncurses \
 		--with-rexxincdir=${LOCALBASE}/include \
 		--with-rexxlibdir=${LOCALBASE}/lib
 ALL_TARGET=	all html
 
-MAN1=		the.1
-
-OPTIONS_DEFINE=	XAW3D XCURSES REXX_REGINA DOCS
+OPTIONS_DEFINE=	XAW3D XCURSES REXX_IMC
 XAW3D_DESC=	Enable Xaw3D
 XCURSES_DESC=	Build XCurses (X11) version
 REXX_REGINA_DESC=	Enable Rexx interpreter
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "powerpc"
@@ -39,39 +31,47 @@ BROKEN=		Does not configure on powerpc
 
 .if ${PORT_OPTIONS:MXAW3D}
 CONFIGURE_ARGS+=--with-xaw3d
-LIB_DEPENDS+=	Xaw3d.8:${PORTSDIR}/x11-toolkits/Xaw3d
+LIB_DEPENDS+=	libxaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d
 .endif
 
 .if ${PORT_OPTIONS:MXCURSES}
 CONFIGURE_ARGS+=--with-xcurses \
 		--with-cursesincdir=${LOCALBASE}/include \
 		--with-curseslibdir=${LOCALBASE}/lib
-BUILD_DEPENDS+=	pdcurses-the>=3.2:${PORTSDIR}/devel/pdcurses-the
-LIB_DEPENDS+=	XCurses.2:${PORTSDIR}/devel/pdcurses-the
+BUILD_DEPENDS+=	pdcurses:${PORTSDIR}/devel/pdcurses
+LIB_DEPENDS+=	libxcurses.so:${PORTSDIR}/devel/pdcurses
 PLIST_SUB=	XCURSES="" NCURSES="@comment "
 .else
 PLIST_SUB=	XCURSES="@comment " NCURSES=""
 .endif
 
-.if ${PORT_OPTIONS:MREXX_REGINA}
-BUILD_DEPENDS+=	regina:${PORTSDIR}/lang/rexx-regina
-RUN_DEPENDS+=	regina:${PORTSDIR}/lang/rexx-regina
-CONFIGURE_ARGS+=	--with-rexx=regina
-.else
+.if ${PORT_OPTIONS:MREXX_IMC}
 BUILD_DEPENDS+=	rexx:${PORTSDIR}/lang/rexx-imc
 RUN_DEPENDS+=	rexx:${PORTSDIR}/lang/rexx-imc
 CONFIGURE_ARGS+=	--with-rexx=rexximc
+.else
+BUILD_DEPENDS+=	regina:${PORTSDIR}/lang/rexx-regina
+RUN_DEPENDS+=	regina:${PORTSDIR}/lang/rexx-regina
+CONFIGURE_ARGS+=	--with-rexx=regina
 .endif
 
+post-extract:
+	${REINPLACE_CMD} -e 's|(datadir)/THE|(datadir)/the|g' \
+		 	-e 's|/share/THE|/share/the|g'	 ${WRKSRC}/Makefile.in
+
+pre-install:
+	${MKDIR}				${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.html	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/the64.gif    	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/the64.png	${STAGEDIR}${DOCSDIR}
+
 post-install:
 .if ${PORT_OPTIONS:MXCURSES}
-	@${LN} -sf xthe ${PREFIX}/bin/the
+	${STRIP_CMD}	${STAGEDIR}${PREFIX}/bin/xthe
+	${LN} -sf xthe 	${STAGEDIR}${PREFIX}/bin/the
 .else
-	@${LN} -sf nthe ${PREFIX}/bin/the
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${PREFIX}/share/doc/THE
-	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/THE
+	${STRIP_CMD}	${STAGEDIR}${PREFIX}/bin/nthe
+	${LN} -sf nthe 	${STAGEDIR}${PREFIX}/bin/the
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/editors/the/distinfo
==============================================================================
--- head/editors/the/distinfo	Sun Mar 30 21:59:27 2014	(r349686)
+++ head/editors/the/distinfo	Wed Jan 20 18:59:18 2016	(r406792)
@@ -1,4 +1,2 @@
-SHA256 (THE-3.2.tar.gz) = 1606a82f6514f5a99247ba89f7744d2c0e98a38a221af52df7580ea3bca7f2d6
-SIZE (THE-3.2.tar.gz) = 818682
-SHA256 (THE-3.1-rexximc.patch) = 23a0bcc5d135baf6741ec36c4abec08648b23f7ab984c5acc9ea23ff7855899e
-SIZE (THE-3.1-rexximc.patch) = 1595
+SHA256 (THE-3.3RC4.tar.gz) = 8781cd1ae2616a4d424e4847f881709b140cf7da209fe46828170d90a63bd1f0
+SIZE (THE-3.3RC4.tar.gz) = 1156675

Modified: head/editors/the/pkg-plist
==============================================================================
--- head/editors/the/pkg-plist	Sun Mar 30 21:59:27 2014	(r349686)
+++ head/editors/the/pkg-plist	Wed Jan 20 18:59:18 2016	(r406792)
@@ -1,56 +1,70 @@
 %%NCURSES%%bin/nthe
 bin/the
 %%XCURSES%%bin/xthe
-share/THE/THE_Help.txt
-share/THE/abf.tld
-share/THE/append.the
-share/THE/build.the
-share/THE/c.tld
-share/THE/cobol.tld
-share/THE/codecomp.the
-share/THE/comm.the
-share/THE/compile.the
-share/THE/config.the
-share/THE/csh.tld
-share/THE/cua.the
-share/THE/demo.the
-share/THE/fortran.tld
-share/THE/html.tld
-share/THE/java.tld
-share/THE/js.tld
-share/THE/l.the
-share/THE/m4.tld
-share/THE/make.tld
-share/THE/match.the
-share/THE/nl.the
-share/THE/nsi.tld
-share/THE/opl.tld
-share/THE/plsql.tld
-share/THE/rexx.tld
-share/THE/rm.the
-share/THE/sh.tld
-share/THE/spec.tld
-share/THE/spell.the
-share/THE/tags.the
-share/THE/total.the
-share/THE/uncomm.the
-share/THE/words.the
-%%PORTDOCS%%share/doc/THE/app1.html
-%%PORTDOCS%%share/doc/THE/app2.html
-%%PORTDOCS%%share/doc/THE/app3.html
-%%PORTDOCS%%share/doc/THE/app4.html
-%%PORTDOCS%%share/doc/THE/app5.html
-%%PORTDOCS%%share/doc/THE/app6.html
-%%PORTDOCS%%share/doc/THE/app7.html
-%%PORTDOCS%%share/doc/THE/comm.html
-%%PORTDOCS%%share/doc/THE/commset.html
-%%PORTDOCS%%share/doc/THE/commsos.html
-%%PORTDOCS%%share/doc/THE/fdl.html
-%%PORTDOCS%%share/doc/THE/glossary.html
-%%PORTDOCS%%share/doc/THE/history.html
-%%PORTDOCS%%share/doc/THE/index.html
-%%PORTDOCS%%share/doc/THE/overview.html
-%%PORTDOCS%%share/doc/THE/query.html
-%%PORTDOCS%%share/doc/THE/quickref.html
-%%PORTDOCS%%@dirrm share/doc/THE
-@dirrm share/THE
+man/man1/the.1.gz
+@dir %%DATADIR%%
+%%DATADIR%%/THE_Help.txt
+%%DATADIR%%/abf.tld
+%%DATADIR%%/append.the
+%%DATADIR%%/build.the
+%%DATADIR%%/c.tld
+%%DATADIR%%/cdiff.tld
+%%DATADIR%%/cobol.tld
+%%DATADIR%%/codecomp.the
+%%DATADIR%%/comm.the
+%%DATADIR%%/compile.the
+%%DATADIR%%/complete.the
+%%DATADIR%%/config.the
+%%DATADIR%%/csh.tld
+%%DATADIR%%/cua.the
+%%DATADIR%%/demo.the
+%%DATADIR%%/diff.tld
+%%DATADIR%%/dir.tld
+%%DATADIR%%/fortran.tld
+%%DATADIR%%/html.tld
+%%DATADIR%%/java.tld
+%%DATADIR%%/js.tld
+%%DATADIR%%/l.the
+%%DATADIR%%/m4.tld
+%%DATADIR%%/make.tld
+%%DATADIR%%/match.the
+%%DATADIR%%/nl.the
+%%DATADIR%%/nsi.tld
+%%DATADIR%%/objc.tld
+%%DATADIR%%/opl.tld
+%%DATADIR%%/plsql.tld
+%%DATADIR%%/rexx.syntax
+%%DATADIR%%/rexx.tld
+%%DATADIR%%/rexxdw.syntax
+%%DATADIR%%/rexxeec.syntax
+%%DATADIR%%/rexxutil.syntax
+%%DATADIR%%/rm.the
+%%DATADIR%%/sh.tld
+%%DATADIR%%/spec.tld
+%%DATADIR%%/spell.the
+%%DATADIR%%/syntax.the
+%%DATADIR%%/tags.the
+%%DATADIR%%/total.the
+%%DATADIR%%/udiff.tld
+%%DATADIR%%/uncomm.the
+%%DATADIR%%/words.the
+@dir %%PORTDOCS%%%%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/app1.html
+%%PORTDOCS%%%%DOCSDIR%%/app2.html
+%%PORTDOCS%%%%DOCSDIR%%/app3.html
+%%PORTDOCS%%%%DOCSDIR%%/app4.html
+%%PORTDOCS%%%%DOCSDIR%%/app5.html
+%%PORTDOCS%%%%DOCSDIR%%/app6.html
+%%PORTDOCS%%%%DOCSDIR%%/app7.html
+%%PORTDOCS%%%%DOCSDIR%%/comm.html
+%%PORTDOCS%%%%DOCSDIR%%/commset.html
+%%PORTDOCS%%%%DOCSDIR%%/commsos.html
+%%PORTDOCS%%%%DOCSDIR%%/fdl.html
+%%PORTDOCS%%%%DOCSDIR%%/glossary.html
+%%PORTDOCS%%%%DOCSDIR%%/history.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/query.html
+%%PORTDOCS%%%%DOCSDIR%%/quickref.html
+%%PORTDOCS%%%%DOCSDIR%%/the64.gif
+%%PORTDOCS%%%%DOCSDIR%%/the64.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601201859.u0KIxINd074757>