1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 0.8 release.

Requested by:	maintainer
This commit is contained in:
Alex Dupre 2007-02-23 08:42:57 +00:00
parent 9d4f5552a9
commit 7c13ebd280
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185736
3 changed files with 10 additions and 22 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= java-commapi-freebsd
PORTVERSION= 0.7
PORTVERSION= 0.8
CATEGORIES= comms java
MASTER_SITES= http://www.syncrontech.org/freebsd/
DISTNAME= freebsd-commapi-${PORTVERSION}

View File

@ -1,3 +1,3 @@
MD5 (freebsd-commapi-0.7.tar.gz) = 8b8abbe2e595dbbecbb05c8ae32c1c0b
SHA256 (freebsd-commapi-0.7.tar.gz) = 42aa17d789a52d86446013074e0ac764b184c8c32991c085aea27b9ef41640a5
SIZE (freebsd-commapi-0.7.tar.gz) = 15930
MD5 (freebsd-commapi-0.8.tar.gz) = 5b5e6142b8f81c2f6438016d7e0d678e
SHA256 (freebsd-commapi-0.8.tar.gz) = 30672d5e2b47febacb643a724044f7256f30e5a6962f9aa6738188cd47244ad7
SIZE (freebsd-commapi-0.8.tar.gz) = 16054

View File

@ -1,23 +1,11 @@
--- Makefile.orig Thu Jan 30 04:31:19 2003
+++ Makefile Wed Oct 12 23:13:45 2005
@@ -24,7 +24,8 @@
--- Makefile.orig Fri Feb 23 09:33:44 2007
+++ Makefile Fri Feb 23 09:34:09 2007
@@ -24,7 +24,7 @@
JAVAC_CLASSPATH = $(JAVA_HOME)/jre/lib/ext/comm.jar
JAVAH = $(JAVA_HOME)/bin/javah
JARFILE = jar/CommDriver.jar
-CFLAGS = -O1 -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
+CFLAGS = -O1 -fPIC -shared -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/freebsd -I$(JAVA_HOME)/include/bsd
+MACHINE_ARCH ?= i386
-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
@@ -37,8 +38,8 @@
# Install stuff
#
install: all
- install -c -o bin -g bin -m 0444 lib/libParallel.so $(JAVA_HOME)/jre/lib/i386
- install -c -o bin -g bin -m 0444 lib/libSerial.so $(JAVA_HOME)/jre/lib/i386
+ 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