Date: Mon, 12 May 2014 07:03:00 GMT From: Ari Suutari <ari.suutari@syncrontech.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/189698: Add staging support to comms/java-commapi-freebsd Message-ID: <201405120703.s4C730qm066228@cgiserv.freebsd.org> Resent-Message-ID: <201405120710.s4C7A0lB056832@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189698 >Category: ports >Synopsis: Add staging support to comms/java-commapi-freebsd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon May 12 07:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Ari Suutari >Release: >Organization: >Environment: >Description: Add staging support to port. >How-To-Repeat: >Fix: Apply attached patch. Patch attached with submission follows: --- Makefile.old 2014-05-12 09:45:43.000000000 +0300 +++ Makefile 2014-05-12 09:25:36.000000000 +0300 @@ -30,5 +30,4 @@ %%JAVA_HOME%%/jre/lib/${MACHINE_ARCH}/libParallel.so \ %%JAVA_HOME%%/jre/lib/javax.comm.properties -NO_STAGE= yes .include <bsd.port.mk> --- files/patch-Makefile.old 2014-01-22 19:40:44.000000000 +0200 +++ files/patch-Makefile 2014-05-12 09:41:43.000000000 +0300 @@ -1,5 +1,5 @@ ---- Makefile.orig 2007-02-23 07:45:16.000000000 +0000 -+++ Makefile 2013-10-30 08:31:39.773863242 +0000 +--- 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 @@ -9,7 +9,24 @@ MACHINE_ARCH ?= i386 .SUFFIXES: .java .class -@@ -96,7 +96,7 @@ +@@ -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 @@ -18,7 +35,7 @@ # # Serial driver JNI part # -@@ -105,7 +105,7 @@ +@@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405120703.s4C730qm066228>