pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

oorexx: update to 5.0.0-12583



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Thu Mar 28 21:07:19 2024 +0100
Changeset:	f78224ee90e182b84d820d364991f1a2ffc4a7fa

Modified Files:
	oorexx/Makefile
	oorexx/PLIST
	oorexx/distinfo
Added Files:
	oorexx/patches/patch-CMakeLists.txt

Log Message:
oorexx: update to 5.0.0-12583

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f78224ee90e182b84d820d364991f1a2ffc4a7fa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 oorexx/Makefile                     |  48 +++++-----
 oorexx/PLIST                        | 171 +++++++++++++++++++++++++++++-------
 oorexx/distinfo                     |   7 +-
 oorexx/patches/patch-CMakeLists.txt |  15 ++++
 4 files changed, 182 insertions(+), 59 deletions(-)

diffs:
diff --git a/oorexx/Makefile b/oorexx/Makefile
index 73d75a716d..dbe793e173 100644
--- a/oorexx/Makefile
+++ b/oorexx/Makefile
@@ -1,40 +1,42 @@
-# $NetBSD: Makefile,v 1.5 2012/10/03 21:32:46 asau Exp $
+# $NetBSD$
 #
 
-DISTNAME=	ooRexx-3.2.0
-PKGNAME=	${DISTNAME:S/R/r/}
+DISTNAME=	oorexx-5.0.0-12583
+PKGNAME=	${DISTNAME:C/-[0-9]*$//}
 CATEGORIES=	lang
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=oorexx/}
-LICENSE=	gnu-gpl-v2 AND cpl-1.0
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=oorexx/oorexx/${PKGVERSION_NOREV}/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://oorexx.sourceforge.net/
 COMMENT=	Powerful typeless object-oriented scripting language
+LICENSE=	gnu-gpl-v2 AND cpl-1.0
 
 CONFLICTS=	rexx-imc-[0-9]* rexx-regina-[0-9]*
 
-GNU_CONFIGURE=			yes
-USE_LIBTOOL=			yes
-USE_LANGUAGES=			c c++
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	sh:run
+MAKE_JOBS_SAFE=	no
 
-SUBST_CLASSES+=			fix-mandir
-SUBST_MESSAGE.fix-mandir=	Fixing hard-coded manuals path.
-SUBST_STAGE.fix-mandir=		pre-build
-SUBST_FILES.fix-mandir=		Makefile
-SUBST_SED.fix-mandir=		-e 's|share/man|man|g'
+WRKSRC=		${WRKDIR}
 
-REPLACE_SH+=	platform/unix/rexx.sh
-USE_TOOLS+=	sh:run
+# Runs the built executable bin/rexx during build.
+MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/lib
+
+CMAKE_ARGS+=	-DORX_SHEBANG=${PREFIX}/bin/rexx
+CMAKE_ARGS+=	-DCMAKE_DISABLE_FIND_PACKAGE_Subversion:BOOL=TRUE
 
-REPLACE_INTERPRETER+=	csh
-REPLACE.csh.old=	.*/bin/csh
-REPLACE.csh.new=	/bin/csh
-REPLACE_FILES.csh=	platform/unix/rexx.csh
+# Fix up bad permissions.
+post-install:
+	cd ${DESTDIR}${PREFIX} && \
+	    chmod -R g-w . && \
+	    chmod a-x lib/rexx.img && \
+	    find share/ooRexx/samples/api -name '*.rex' -exec chmod -x {} \; && \
+	    find share/ooRexx/samples -name '*.cls' -exec chmod -x {} \;
 
-REPLACE_INTERPRETER+=	rexx
-REPLACE.rexx.old=	.*/bin/rexx
-REPLACE.rexx.new=	${PREFIX}/bin/rexx
-REPLACE_FILES.rexx=	samples/*.rex
+# We really want ncurses!
+PREFER.curses=	pkgsrc
 
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/oorexx/PLIST b/oorexx/PLIST
index c1d7b96639..7f6df2309f 100644
--- a/oorexx/PLIST
+++ b/oorexx/PLIST
@@ -1,45 +1,150 @@
 @comment $NetBSD: PLIST,v 1.2 2009/10/11 10:45:00 thomasklausner Exp $
-bin/oorexx-config
+bin/csvStream.cls
+bin/dateparser.cls
+bin/json.cls
+bin/mime.cls
+bin/ncurses.cls
 bin/rexx
-bin/rexx.cat
-bin/rexx.img
 bin/rexxc
-bin/rxdelipc
+bin/rexxtry.rex
+bin/rxapi
 bin/rxftp.cls
-bin/rxmigrate
 bin/rxqueue
 bin/rxregexp.cls
 bin/rxsubcom
+bin/smtp.cls
+bin/socket.cls
+bin/streamsocket.cls
+include/oorexxapi.h
+include/oorexxerrors.h
 include/rexx.h
-lib/ooRexx/librexx.la
-lib/ooRexx/librexxapi.la
-lib/ooRexx/librexxutil.la
-lib/ooRexx/librxmath.la
-lib/ooRexx/librxregexp.la
-lib/ooRexx/librxsock.la
+include/rexxapidefs.h
+include/rexxapitypes.h
+include/rexxplatformapis.h
+include/rexxplatformdefs.h
+lib/libhostemu.so
+lib/libhostemu.so.3
+lib/libhostemu.so.4
+lib/liborxncurses.so
+lib/liborxncurses.so.3
+lib/liborxncurses.so.4
+lib/librexx.so
+lib/librexx.so.3
+lib/librexx.so.4
+lib/librexxapi.so
+lib/librexxapi.so.3
+lib/librexxapi.so.4
+lib/librxmath.so
+lib/librxmath.so.3
+lib/librxmath.so.4
+lib/librxregexp.so
+lib/librxregexp.so.3
+lib/librxregexp.so.4
+lib/librxsock.so
+lib/librxsock.so.3
+lib/librxsock.so.4
+lib/librxunixsys.so
+lib/librxunixsys.so.3
+lib/librxunixsys.so.4
+lib/rexx.img
 man/man1/rexx.1
 man/man1/rexxc.1
-man/man1/rxmigrate.1
 man/man1/rxqueue.1
 man/man1/rxsubcom.1
-share/ooRexx/ccreply.rex
-share/ooRexx/complex.rex
-share/ooRexx/factor.rex
-share/ooRexx/greply.rex
-share/ooRexx/guess.rex
-share/ooRexx/ktguard.rex
-share/ooRexx/makestring.rex
-share/ooRexx/month.rex
-share/ooRexx/pipe.rex
-share/ooRexx/properties.rex
-share/ooRexx/qdate.rex
-share/ooRexx/qtime.rex
-share/ooRexx/readme
-share/ooRexx/rexx.csh
-share/ooRexx/rexx.sh
-share/ooRexx/rexxcps.rex
-share/ooRexx/rexxtry.rex
-share/ooRexx/semcls.rex
-share/ooRexx/stack.rex
-share/ooRexx/usecomp.rex
-share/ooRexx/usepipe.rex
+share/ooRexx/samples/api/c++/callsample/HelloWorld.rex
+share/ooRexx/samples/api/c++/callsample/Makefile.unix
+share/ooRexx/samples/api/c++/callsample/Makefile.windows
+share/ooRexx/samples/api/c++/callsample/backward.fnc
+share/ooRexx/samples/api/c++/callsample/readme.txt
+share/ooRexx/samples/api/c++/callsample/runRexxProgram
+share/ooRexx/samples/api/c++/callsample/runRexxProgram.cpp
+share/ooRexx/samples/api/c++/callsample/stackOverflow
+share/ooRexx/samples/api/c++/callsample/stackOverflow.cpp
+share/ooRexx/samples/api/c++/callsample/tooRecursiveTrapped.rex
+share/ooRexx/samples/api/c++/callsample/tooRecursiveUnhandled.rex
+share/ooRexx/samples/api/c++/external/Makefile.unix
+share/ooRexx/samples/api/c++/external/Makefile.windows
+share/ooRexx/samples/api/c++/external/external_methods.cpp
+share/ooRexx/samples/api/c++/external/external_methods_routines.cpp
+share/ooRexx/samples/api/c++/external/external_routines.cpp
+share/ooRexx/samples/api/c++/external/libexternal_methods.so
+share/ooRexx/samples/api/c++/external/libexternal_methods_routines.so
+share/ooRexx/samples/api/c++/external/libexternal_routines.so
+share/ooRexx/samples/api/c++/external/readme.txt
+share/ooRexx/samples/api/c++/external/useExternalMethods.rex
+share/ooRexx/samples/api/c++/external/useExternalMethodsRoutines.rex
+share/ooRexx/samples/api/c++/external/useExternalRoutines.rex
+share/ooRexx/samples/api/c++/external/useExternalRoutines2.rex
+share/ooRexx/samples/api/c++/readme.txt
+share/ooRexx/samples/api/classic/callrexx.README
+share/ooRexx/samples/api/classic/callrexx/Makefile.unix
+share/ooRexx/samples/api/classic/callrexx/callrexx1
+share/ooRexx/samples/api/classic/callrexx/callrexx1.cpp
+share/ooRexx/samples/api/classic/callrexx/callrexx2
+share/ooRexx/samples/api/classic/callrexx/callrexx2.c
+share/ooRexx/samples/api/classic/callrexx/del_macro.rex
+share/ooRexx/samples/api/classic/callrexx/example.rex
+share/ooRexx/samples/api/classic/callrexx/load_macro.rex
+share/ooRexx/samples/api/classic/callrexx/macros.rex
+share/ooRexx/samples/api/classic/callrexx/startrx1.rex
+share/ooRexx/samples/api/classic/callrexx/startrx2.rex
+share/ooRexx/samples/api/classic/callrexx/startrx3.rex
+share/ooRexx/samples/api/classic/rexxapi.README
+share/ooRexx/samples/api/classic/rexxapi1/Makefile.apple
+share/ooRexx/samples/api/classic/rexxapi1/Makefile.linux
+share/ooRexx/samples/api/classic/rexxapi1/apitest1.rex
+share/ooRexx/samples/api/classic/rexxapi1/librexxapi1.so
+share/ooRexx/samples/api/classic/rexxapi1/readme.txt
+share/ooRexx/samples/api/classic/rexxapi1/rexxapi1.c
+share/ooRexx/samples/api/classic/rexxapi2/Makefile.apple
+share/ooRexx/samples/api/classic/rexxapi2/Makefile.linux
+share/ooRexx/samples/api/classic/rexxapi2/apitest2.rex
+share/ooRexx/samples/api/classic/rexxapi2/librexxapi2.so
+share/ooRexx/samples/api/classic/rexxapi2/readme.txt
+share/ooRexx/samples/api/classic/rexxapi2/rexxapi2.c
+share/ooRexx/samples/api/classic/rexxapi3/Makefile.apple
+share/ooRexx/samples/api/classic/rexxapi3/Makefile.linux
+share/ooRexx/samples/api/classic/rexxapi3/apitest3.rex
+share/ooRexx/samples/api/classic/rexxapi3/librexxapi3.so
+share/ooRexx/samples/api/classic/rexxapi3/readme.txt
+share/ooRexx/samples/api/classic/rexxapi3/rexxapi3.c
+share/ooRexx/samples/api/readme.txt
+share/ooRexx/samples/arithmeticEvaluation.rex
+share/ooRexx/samples/arrayCallback.rex
+share/ooRexx/samples/ccreply.rex
+share/ooRexx/samples/complex.cls
+share/ooRexx/samples/concurrency.rex
+share/ooRexx/samples/constrained.rex
+share/ooRexx/samples/delegation.rex
+share/ooRexx/samples/dynamicMethod.rex
+share/ooRexx/samples/factor.rex
+share/ooRexx/samples/greply.rex
+share/ooRexx/samples/guess.rex
+share/ooRexx/samples/interface.rex
+share/ooRexx/samples/jabberwocky.txt
+share/ooRexx/samples/ktguard.rex
+share/ooRexx/samples/makestring.rex
+share/ooRexx/samples/month.rex
+share/ooRexx/samples/philfork.rex
+share/ooRexx/samples/pipe.cls
+share/ooRexx/samples/properties.rex
+share/ooRexx/samples/qdate.rex
+share/ooRexx/samples/qtime.rex
+share/ooRexx/samples/readme.txt
+share/ooRexx/samples/rexxcps.rex
+share/ooRexx/samples/scclient.rex
+share/ooRexx/samples/scserver.rex
+share/ooRexx/samples/semcls.cls
+share/ooRexx/samples/sfclient.rex
+share/ooRexx/samples/sfserver.rex
+share/ooRexx/samples/singleLinkedList.rex
+share/ooRexx/samples/sortComposite.rex
+share/ooRexx/samples/stack.rex
+share/ooRexx/samples/synchronousConcurrency.rex
+share/ooRexx/samples/timezone.rex
+share/ooRexx/samples/treeDirectory.cls
+share/ooRexx/samples/treeTraversal.rex
+share/ooRexx/samples/usecomp.rex
+share/ooRexx/samples/usepipe.rex
+share/ooRexx/samples/usesingleton.rex
+share/ooRexx/samples/usetree.rex
diff --git a/oorexx/distinfo b/oorexx/distinfo
index 038a101a6c..3448101c5d 100644
--- a/oorexx/distinfo
+++ b/oorexx/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1.1.1 2007/12/26 15:23:05 netcap Exp $
 
-RMD160 (ooRexx-3.2.0.tar.gz) = 3f1c08611eb24b05b2657a9de9da583a0699e1b8
-SHA512 (ooRexx-3.2.0.tar.gz) = 513e8594ff82f1e898f25c550013f187f53bf2f0bdc591f5524ad69d73f7abcbe930e20f0ef93f10b809ef042cc81b48a7c3743b67060eb8f250298c115128b6
-Size (ooRexx-3.2.0.tar.gz) = 3765565 bytes
+BLAKE2s (oorexx-5.0.0-12583.tar.gz) = 0d889b43ce033718ba530dccfa5e4ae2732968a9de1d7b850b4b0d5db8854d0e
+SHA512 (oorexx-5.0.0-12583.tar.gz) = 141af22e0a99731d50492940d5db55cc59099e5a7fa8acba918d1ae82bcd6e2983fb0ca71bbbf044cc4fc89e740c8a0ac81237eea5812d7a570f825bba5d08b9
+Size (oorexx-5.0.0-12583.tar.gz) = 6398458 bytes
+SHA1 (patch-CMakeLists.txt) = 4a9a7883c344766f62e92fca5241ce6cd6835baa
diff --git a/oorexx/patches/patch-CMakeLists.txt b/oorexx/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..e690692337
--- /dev/null
+++ b/oorexx/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Doesn't respect CMAKE_INSTALL_MANDIR.
+
+--- CMakeLists.txt.orig	2024-03-28 19:06:54.459436295 +0000
++++ CMakeLists.txt
+@@ -290,7 +290,7 @@ else ()
+    set (INSTALL_INCLUDE_DIR include)
+    set (INSTALL_SAMPLES_DIR share/${CMAKE_PROJECT_NAME}/samples)
+    set (INSTALL_DOC_DIR share/${CMAKE_PROJECT_NAME}/doc)
+-   set (INSTALL_MAN_DIR share/man)
++   set (INSTALL_MAN_DIR ${CMAKE_INSTALL_MANDIR})
+ endif ()
+ 
+ # Set compiler and linker flags common to all build environments


Home | Main Index | Thread Index | Old Index