aboutsummaryrefslogtreecommitdiff
path: root/comms/java-commapi-freebsd
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-06-07 00:34:18 +0000
committerRene Ladan <rene@FreeBSD.org>2018-06-07 00:34:18 +0000
commit7b4e2fac310c869ae726093c8477595ea2ba05f7 (patch)
tree22d4c67d5416102a354a83bb192b7cc40174dd2c /comms/java-commapi-freebsd
parentb73a392dad3a1f203cc30e27691a2ba317f33f39 (diff)
downloadports-7b4e2fac310c869ae726093c8477595ea2ba05f7.tar.gz
ports-7b4e2fac310c869ae726093c8477595ea2ba05f7.zip
Notes
Diffstat (limited to 'comms/java-commapi-freebsd')
-rw-r--r--comms/java-commapi-freebsd/Makefile37
-rw-r--r--comms/java-commapi-freebsd/distinfo2
-rw-r--r--comms/java-commapi-freebsd/files/patch-Makefile46
-rw-r--r--comms/java-commapi-freebsd/pkg-descr3
4 files changed, 0 insertions, 88 deletions
diff --git a/comms/java-commapi-freebsd/Makefile b/comms/java-commapi-freebsd/Makefile
deleted file mode 100644
index f653a4d10f1c..000000000000
--- a/comms/java-commapi-freebsd/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Created by: Ari Suutari <ari.suutari@syncrontech.com>
-# $FreeBSD$
-
-PORTNAME= java-commapi-freebsd
-PORTVERSION= 0.9
-PORTREVISION= 1
-CATEGORIES= comms java
-MASTER_SITES= http://www.syncrontech.org/freebsd/
-DISTNAME= freebsd-commapi-${PORTVERSION}
-
-MAINTAINER= ari.suutari@syncrontech.com
-COMMENT= Java Communication API for FreeBSD
-
-DEPRECATED= Depends on BROKEN and expiring comms/java-commapi
-EXPIRATION_DATE= 2018-06-06
-
-BUILD_DEPENDS= ${JDKDIR}/jre/lib/ext/comm.jar:comms/java-commapi
-RUN_DEPENDS= ${JDKDIR}/jre/lib/ext/comm.jar:comms/java-commapi
-
-MAKE_JOBS_UNSAFE= yes
-
-USE_JAVA= yes
-JAVA_VERSION= 1.6+
-JAVA_OS= native
-JAVA_BUILD= yes
-
-JDKDIR= ${JAVA_HOME}
-
-MAKE_ENV= JAVA_HOME=${JDKDIR}
-
-PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
-PLIST_FILES= %%JAVA_HOME%%/jre/lib/ext/CommDriver.jar \
- %%JAVA_HOME%%/jre/lib/${MACHINE_ARCH}/libSerial.so \
- %%JAVA_HOME%%/jre/lib/${MACHINE_ARCH}/libParallel.so \
- %%JAVA_HOME%%/jre/lib/javax.comm.properties
-
-.include <bsd.port.mk>
diff --git a/comms/java-commapi-freebsd/distinfo b/comms/java-commapi-freebsd/distinfo
deleted file mode 100644
index c79bd7c04e27..000000000000
--- a/comms/java-commapi-freebsd/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (freebsd-commapi-0.9.tar.gz) = a27a8ccacf9bab8d9c71fe833f5df1144b9cfa8b772d6d72f57dfb4141c5785b
-SIZE (freebsd-commapi-0.9.tar.gz) = 16122
diff --git a/comms/java-commapi-freebsd/files/patch-Makefile b/comms/java-commapi-freebsd/files/patch-Makefile
deleted file mode 100644
index d824816a8b63..000000000000
--- a/comms/java-commapi-freebsd/files/patch-Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
---- Makefile.old 2014-05-12 09:30:47.000000000 +0300
-+++ Makefile 2014-05-12 09:40:31.000000000 +0300
-@@ -24,7 +24,7 @@
- JAVAC_CLASSPATH = $(JAVA_HOME)/jre/lib/ext/comm.jar
- JAVAH = $(JAVA_HOME)/bin/javah
- JARFILE = jar/CommDriver.jar
--CFLAGS = -O1 -fPIC -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
-+CFLAGS += -fPIC -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
- MACHINE_ARCH ?= i386
-
- .SUFFIXES: .java .class
-@@ -38,10 +38,12 @@
- # Install stuff
- #
- install: all
-- install -c -o bin -g bin -m 0444 lib/libParallel.so $(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
-- install -c -o bin -g bin -m 0444 lib/libSerial.so $(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
-- install -c -o bin -g bin -m 0444 javax.comm.properties $(JAVA_HOME)/jre/lib
-- install -c -o bin -g bin -m 0444 $(JARFILE) $(JAVA_HOME)/jre/lib/ext
-+ install -d -c -o bin -g bin -m 0755 $(DESTDIR)$(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
-+ install -d -c -o bin -g bin -m 0755 $(DESTDIR)$(JAVA_HOME)/jre/lib/ext
-+ install -c -o bin -g bin -m 0444 lib/libParallel.so $(DESTDIR)$(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
-+ install -c -o bin -g bin -m 0444 lib/libSerial.so $(DESTDIR)$(JAVA_HOME)/jre/lib/$(MACHINE_ARCH)
-+ install -c -o bin -g bin -m 0444 javax.comm.properties $(DESTDIR)$(JAVA_HOME)/jre/lib
-+ install -c -o bin -g bin -m 0444 $(JARFILE) $(DESTDIR)$(JAVA_HOME)/jre/lib/ext
-
- #
- # Clean all files produced by compile
-@@ -96,7 +98,7 @@
- src/$(JAVA_PKG_DIR)/javax_comm_ParallelPort.h \
- src/$(JAVA_PKG_DIR)/javax_comm_ParallelPortEvent.h
- if [ ! -d lib ]; then mkdir lib; fi
-- gcc $(CFLAGS) -o lib/libParallel.so src/$(JAVA_PKG_DIR)/libParallel.c
-+ $(CC) $(CFLAGS) -o lib/libParallel.so src/$(JAVA_PKG_DIR)/libParallel.c
- #
- # Serial driver JNI part
- #
-@@ -105,7 +107,7 @@
- src/$(JAVA_PKG_DIR)/javax_comm_SerialPort.h \
- src/$(JAVA_PKG_DIR)/javax_comm_SerialPortEvent.h
- if [ ! -d lib ]; then mkdir lib; fi
-- gcc $(CFLAGS) -o lib/libSerial.so src/$(JAVA_PKG_DIR)/libSerial.c
-+ $(CC) $(CFLAGS) -o lib/libSerial.so src/$(JAVA_PKG_DIR)/libSerial.c
-
- .java.class:
- $(JAVAC) -classpath src:$(JAVAC_CLASSPATH) $*.java
diff --git a/comms/java-commapi-freebsd/pkg-descr b/comms/java-commapi-freebsd/pkg-descr
deleted file mode 100644
index f7b144eaee6b..000000000000
--- a/comms/java-commapi-freebsd/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the official port of Sun's Java Communication API for FreeBSD.
-This API allows communications across RS-232 and
-parallel lines using Java technology under FreeBSD.