GNU Classpath, Essential Libraries for Java, is a GNU project to create
free core class libraries for use with virtual machines and compilers
for the java programming language.

From mantainer Frederick C. Druseikis <fredd@cse.sc.edu>
This commit is contained in:
kurt 2006-04-11 01:01:34 +00:00
parent d20d578fd8
commit ffc705904f
7 changed files with 265 additions and 0 deletions

55
lang/classpath/Makefile Normal file
View File

@ -0,0 +1,55 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/04/11 01:01:34 kurt Exp $
# max data size too small to build. needs at least 256M
NOT_FOR_ARCHS= m68k sparc vax
COMMENT= "essential libraries for java"
DISTNAME= classpath-0.20
CATEGORIES= lang java
.for _lib in gtkpeer javaio javalang javalangreflect javanet javanio \
javautil jawtgnu
SHARED_LIBS+= ${_lib} 0.20
.endfor
HOMEPAGE= http://www.gnu.org/software/classpath/
MAINTAINER= Frederick C. Druseikis <fredd@cse.sc.edu>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= :zip->=2.3p0:archivers/zip \
:jikes->=1.22p0:lang/jikes
MODULES= converters/libiconv
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
WANTLIB= ICE SM X11 Xext Xft Xrender Xtst atk-1.0.0.0 fontconfig \
freetype gdk-x11-2.0.0.0 gdk_pixbuf-2.0.0.0 glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 gthread-2.0.0.0 \
gtk-x11-2.0.0.0 intl m pango-1.0.0.0 pangoft2-1.0.0.0 \
pangox-1.0.0.0 pangoxft-1.0.0.0
MASTER_SITES= ${MASTER_SITE_GNU:=classpath/}
USE_GMAKE= Yes
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-glibj=zip --enable-gtk-peer --with-jikes \
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
.include <bsd.port.mk>

4
lang/classpath/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (classpath-0.20.tar.gz) = 21e34b8e8acb4f7b31296bfaf4ad560a
RMD160 (classpath-0.20.tar.gz) = a1fc0978c66f9d254a2224d560508bcbeb338748
SHA1 (classpath-0.20.tar.gz) = c1a38c6c6b67d8c8092cc6af6d86d8c99dad272a
SIZE (classpath-0.20.tar.gz) = 7110100

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-examples_Makefile_in,v 1.1.1.1 2006/04/11 01:01:34 kurt Exp $
--- examples/Makefile.in.orig Fri Jan 13 08:36:12 2006
+++ examples/Makefile.in Sun Feb 19 22:31:15 2006
@@ -496,7 +496,7 @@ uninstall-am: uninstall-exampleDATA unin
install-data-local:
srcdir_cnt=`echo $(srcdir) | wc -c`; \
for file in $(ALL_EXAMPLE_FILES); do \
- f=`echo $$file | cut -c$$srcdir_cnt-`; \
+ f=`echo $$file | cut -c$$((srcdir_cnt))-`; \
fdir=`dirname $$f`; \
if test ! -d $(DESTDIR)$(pkgdatadir)/examples/$$fdir; then \
echo "$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/examples/$$fdir"; \
@@ -511,7 +511,7 @@ install-data-local:
uninstall-local:
srcdir_cnt=`echo $(srcdir) | wc -c`; \
for file in $(ALL_EXAMPLE_FILES); do \
- f=`echo $$file | cut -c$$srcdir_cnt-`; \
+ f=`echo $$file | cut -c$$(srcdir_cnt))-`; \
echo "rm -f $(DESTDIR)$(pkgdatadir)/examples/$$f"; \
rm -f $(DESTDIR)$(pkgdatadir)/examples/$$f; \
done
@@ -520,7 +520,7 @@ uninstall-local:
dist-hook:
srcdir_cnt=`echo $(srcdir) | wc -c`; \
for file in $(ALL_EXAMPLE_FILES); do \
- f=`echo $$file | cut -c$$srcdir_cnt-`; \
+ f=`echo $$file | cut -c$$((srcdir_cnt))-`; \
fdir=`dirname $$f`; \
if test ! -d $(distdir)/$$fdir; then \
echo "$(makeinstalldirs) $(distdir)/$$fdir"; \

View File

@ -0,0 +1,38 @@
$OpenBSD: patch-include_Makefile_in,v 1.1.1.1 2006/04/11 01:01:34 kurt Exp $
--- include/Makefile.in.orig Fri Jan 13 08:38:32 2006
+++ include/Makefile.in Sun Feb 19 22:27:38 2006
@@ -464,20 +464,20 @@ distclean-libtool:
uninstall-info-am:
install-includeHEADERS: $(include_HEADERS)
@$(NORMAL_INSTALL)
- test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
+ test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
@list='$(include_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
- echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
- $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
+ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
done
uninstall-includeHEADERS:
@$(NORMAL_UNINSTALL)
@list='$(include_HEADERS)'; for p in $$list; do \
f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
- rm -f "$(DESTDIR)$(includedir)/$$f"; \
+ echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -560,7 +560,7 @@ check: check-am
@CREATE_JNI_HEADERS_FALSE@all-local:
all-am: Makefile $(HEADERS) config.h all-local
installdirs:
- for dir in "$(DESTDIR)$(includedir)"; do \
+ for dir in "$(DESTDIR)$(pkgincludedir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-am

9
lang/classpath/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
GNU Classpath, Essential Libraries for Java, is a GNU project to create
free core class libraries for use with virtual machines and compilers
for the java programming language.
Classpath is still a work in progress. The first public release will be
version 1.0. There have been no public releases; however, pre-release
source code is available via GNU's anonymous CVS server, and snapshots
of the Classpath tree have been released and are available from
ftp://ftp.gnu.org/gnu/classpath/

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/04/11 01:01:34 kurt Exp $
@lib lib/classpath/libgtkpeer.so.${LIBgtkpeer_VERSION}
@lib lib/classpath/libjavaio.so.${LIBjavaio_VERSION}
@lib lib/classpath/libjavalang.so.${LIBjavalang_VERSION}
@lib lib/classpath/libjavalangreflect.so.${LIBjavalangreflect_VERSION}
@lib lib/classpath/libjavanet.so.${LIBjavanet_VERSION}
@lib lib/classpath/libjavanio.so.${LIBjavanio_VERSION}
@lib lib/classpath/libjavautil.so.${LIBjavautil_VERSION}
@lib lib/classpath/libjawtgnu.so.${LIBjawtgnu_VERSION}

120
lang/classpath/pkg/PLIST Normal file
View File

@ -0,0 +1,120 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/04/11 01:01:34 kurt Exp $
%%SHARED%%
include/classpath/
include/classpath/jawt.h
include/classpath/jawt_md.h
include/classpath/jni.h
include/classpath/jni_md.h
@info info/hacking.info
@info info/vmintegration.info
lib/classpath/
lib/classpath/libgtkpeer.a
lib/classpath/libgtkpeer.la
lib/classpath/libjavaio.a
lib/classpath/libjavaio.la
lib/classpath/libjavalang.a
lib/classpath/libjavalang.la
lib/classpath/libjavalangreflect.a
lib/classpath/libjavalangreflect.la
lib/classpath/libjavanet.a
lib/classpath/libjavanet.la
lib/classpath/libjavanio.a
lib/classpath/libjavanio.la
lib/classpath/libjavautil.a
lib/classpath/libjavautil.la
lib/classpath/libjawtgnu.a
lib/classpath/libjawtgnu.la
lib/logging.properties
lib/security/
lib/security/classpath.security
share/classpath/
share/classpath/examples/
share/classpath/examples/Makefile.jawt
share/classpath/examples/README
share/classpath/examples/examples.zip
share/classpath/examples/gnu/
share/classpath/examples/gnu/classpath/
share/classpath/examples/gnu/classpath/examples/
share/classpath/examples/gnu/classpath/examples/CORBA/
share/classpath/examples/gnu/classpath/examples/CORBA/NamingService/
share/classpath/examples/gnu/classpath/examples/CORBA/NamingService/Demo.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/DemoServer.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoServant.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoTester.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DirectTest.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/RequestTest.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHolder.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHolder.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHolder.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java
share/classpath/examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/
share/classpath/examples/gnu/classpath/examples/CORBA/swing/README.html
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/Player.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/State.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java
share/classpath/examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java
share/classpath/examples/gnu/classpath/examples/awt/
share/classpath/examples/gnu/classpath/examples/awt/Demo.java
share/classpath/examples/gnu/classpath/examples/datatransfer/
share/classpath/examples/gnu/classpath/examples/datatransfer/Demo.java
share/classpath/examples/gnu/classpath/examples/html/
share/classpath/examples/gnu/classpath/examples/html/Demo.java
share/classpath/examples/gnu/classpath/examples/icons/
share/classpath/examples/gnu/classpath/examples/icons/big-fullscreen.png
share/classpath/examples/gnu/classpath/examples/icons/big-home.png
share/classpath/examples/gnu/classpath/examples/icons/big-warning.png
share/classpath/examples/gnu/classpath/examples/icons/stock-copy.png
share/classpath/examples/gnu/classpath/examples/icons/stock-cut.png
share/classpath/examples/gnu/classpath/examples/icons/stock-go-back.png
share/classpath/examples/gnu/classpath/examples/icons/stock-go-down.png
share/classpath/examples/gnu/classpath/examples/icons/stock-go-forward.png
share/classpath/examples/gnu/classpath/examples/icons/stock-mic.png
share/classpath/examples/gnu/classpath/examples/icons/stock-new.png
share/classpath/examples/gnu/classpath/examples/icons/stock-open.png
share/classpath/examples/gnu/classpath/examples/icons/stock-paste.png
share/classpath/examples/gnu/classpath/examples/icons/stock-quit.png
share/classpath/examples/gnu/classpath/examples/icons/stock-save-as.png
share/classpath/examples/gnu/classpath/examples/icons/stock-save.png
share/classpath/examples/gnu/classpath/examples/icons/stock-spell-check.png
share/classpath/examples/gnu/classpath/examples/jawt/
share/classpath/examples/gnu/classpath/examples/jawt/DemoJAWT.c
share/classpath/examples/gnu/classpath/examples/jawt/DemoJAWT.java
share/classpath/examples/gnu/classpath/examples/midi/
share/classpath/examples/gnu/classpath/examples/midi/Demo.java
share/classpath/examples/gnu/classpath/examples/swing/
share/classpath/examples/gnu/classpath/examples/swing/ButtonDemo.java
share/classpath/examples/gnu/classpath/examples/swing/ComboBoxDemo.java
share/classpath/examples/gnu/classpath/examples/swing/Demo.java
share/classpath/examples/gnu/classpath/examples/swing/FileChooserDemo.java
share/classpath/examples/gnu/classpath/examples/swing/GNULookAndFeel.java
share/classpath/examples/gnu/classpath/examples/swing/ProgressBarDemo.java
share/classpath/examples/gnu/classpath/examples/swing/ScrollBarDemo.java
share/classpath/examples/gnu/classpath/examples/swing/SliderDemo.java
share/classpath/examples/gnu/classpath/examples/swing/TextFieldDemo.java
share/classpath/glibj.zip