mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
New port: devel/libmatthew
Selection of libraries for Java which are useful and not provided with Java. - Unix Sockets Library: This is a collection of classes and native code to allow you to read and write Unix sockets in Java. - Debug Library: This is a comprehensive logging and debugging solution. - CGI Library: This is a collection of classes and native code to allow you to write CGI applications in Java. - I/O Library: This provides a few much needed extensions to the Java I/O subsystem. Firstly, there is a class which will connect and InputStream with an OutputStream and copy data between them. Secondly there are two classes for inserting into an Input or OutputStream pipe a command line command, so that everything is piped through that command. Thirdly there are a pair of classes for splitting streams in two. This can either be to two OuputStreams, or to an OutputStream and a file. Equivelent to the UNIX tool tee in UNIX pipes. - Hexdump: This class formats byte-arrays in hex and ascii for display. WWW: http://www.matthew.ath.cx/projects/java/
This commit is contained in:
parent
b84f9f3c56
commit
da58f852c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529128
6 changed files with 95 additions and 0 deletions
|
@ -1242,6 +1242,7 @@
|
|||
SUBDIR += liblxqt
|
||||
SUBDIR += libmaa
|
||||
SUBDIR += libmatheval
|
||||
SUBDIR += libmatthew
|
||||
SUBDIR += libmba
|
||||
SUBDIR += libmill
|
||||
SUBDIR += libmimedir
|
||||
|
|
27
devel/libmatthew/Makefile
Normal file
27
devel/libmatthew/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libmatthew
|
||||
DISTVERSION= 0.8.1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://www.matthew.ath.cx/projects/java/
|
||||
DISTNAME= ${PORTNAME}-java-${DISTVERSION}
|
||||
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
COMMENT= Selection of Java libraries by Matthew Johnson
|
||||
|
||||
LICENSE= EXPAT
|
||||
LICENSE_NAME= Expat License
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
USES= gmake localbase:ldconfig
|
||||
USE_JAVA= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
MAKE_ENV= JAVA_HOME='${JAVA_HOME}' \
|
||||
LDSHAREFLAGS='-fpic -shared'
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/jni/*-java.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/libmatthew/distinfo
Normal file
3
devel/libmatthew/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1585137871
|
||||
SHA256 (libmatthew-java-0.8.1.tar.gz) = 46782b940c71d8db07470633efcf65c2aeda94de9a846fe178a5918fb2ad026f
|
||||
SIZE (libmatthew-java-0.8.1.tar.gz) = 29064
|
32
devel/libmatthew/files/patch-Makefile
Normal file
32
devel/libmatthew/files/patch-Makefile
Normal file
|
@ -0,0 +1,32 @@
|
|||
--- Makefile.orig 2020-03-25 12:08:05 UTC
|
||||
+++ Makefile
|
||||
@@ -6,13 +6,13 @@ GCJ?=gcj
|
||||
CC?=gcc
|
||||
LD?=gcc
|
||||
JPPFLAGS+=-C -P
|
||||
-CFLAGS+=-Wall -Os -pedantic -Werror
|
||||
+CFLAGS+=-Wall -pedantic -Werror
|
||||
CSTD?=-std=c99
|
||||
CSHAREFLAG+=-fpic -fno-stack-protector
|
||||
GCJJNIFLAG=-fjni
|
||||
JVERCFLAGS+=-source 1.5
|
||||
JCFLAGS+=
|
||||
-INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
|
||||
+INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd
|
||||
JAVADOCFLAGS?=-quiet -author -link http://java.sun.com/j2se/1.4.2/docs/api/
|
||||
|
||||
LDVER?=$(shell ld -v | cut -d' ' -f1)
|
||||
@@ -91,11 +91,11 @@ libmatthew-java-$(MATTVER).tar.gz: Makefile cx cgi-jav
|
||||
tar zcf $@ libmatthew-java-$(MATTVER)
|
||||
|
||||
debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp
|
||||
- make .enabledebug
|
||||
+ $(MAKE) .enabledebug
|
||||
echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest
|
||||
(cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class)
|
||||
debug-disable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp
|
||||
- make .disabledebug
|
||||
+ $(MAKE) .disabledebug
|
||||
echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest
|
||||
(cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class)
|
||||
.enabledebug: cx/ath/matthew/debug/Debug.jpp
|
18
devel/libmatthew/pkg-descr
Normal file
18
devel/libmatthew/pkg-descr
Normal file
|
@ -0,0 +1,18 @@
|
|||
Selection of libraries for Java which are useful and not provided with Java.
|
||||
|
||||
- Unix Sockets Library: This is a collection of classes and native code to
|
||||
allow you to read and write Unix sockets in Java.
|
||||
- Debug Library: This is a comprehensive logging and debugging solution.
|
||||
- CGI Library: This is a collection of classes and native code to allow you to
|
||||
write CGI applications in Java.
|
||||
- I/O Library: This provides a few much needed extensions to the Java I/O
|
||||
subsystem. Firstly, there is a class which will connect and InputStream with
|
||||
an OutputStream and copy data between them. Secondly there are two classes
|
||||
for inserting into an Input or OutputStream pipe a command line command, so
|
||||
that everything is piped through that command. Thirdly there are a pair of
|
||||
classes for splitting streams in two. This can either be to two OuputStreams,
|
||||
or to an OutputStream and a file. Equivelent to the UNIX tool tee in UNIX
|
||||
pipes.
|
||||
- Hexdump: This class formats byte-arrays in hex and ascii for display.
|
||||
|
||||
WWW: http://www.matthew.ath.cx/projects/java/
|
14
devel/libmatthew/pkg-plist
Normal file
14
devel/libmatthew/pkg-plist
Normal file
|
@ -0,0 +1,14 @@
|
|||
lib/jni/libcgi-java.so
|
||||
lib/jni/libunix-java.so
|
||||
%%JAVASHAREDIR%%/cgi-0.6.jar
|
||||
%%JAVASHAREDIR%%/cgi.jar
|
||||
%%JAVASHAREDIR%%/debug-disable-1.1.jar
|
||||
%%JAVASHAREDIR%%/debug-disable.jar
|
||||
%%JAVASHAREDIR%%/debug-enable-1.1.jar
|
||||
%%JAVASHAREDIR%%/debug-enable.jar
|
||||
%%JAVASHAREDIR%%/hexdump-0.2.jar
|
||||
%%JAVASHAREDIR%%/hexdump.jar
|
||||
%%JAVASHAREDIR%%/io-0.1.jar
|
||||
%%JAVASHAREDIR%%/io.jar
|
||||
%%JAVASHAREDIR%%/unix-0.5.jar
|
||||
%%JAVASHAREDIR%%/unix.jar
|
Loading…
Add table
Reference in a new issue