1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Don't use a strange prefix

- Strip shared libraries
This commit is contained in:
Antoine Brodin 2014-11-11 23:06:39 +00:00
parent 1362159583
commit 0294a433f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372473
2 changed files with 10 additions and 11 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= rxtx
PORTVERSION= 2.2p2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= comms java
MASTER_SITES= http://rxtx.qbang.org/pub/rxtx/ \
ftp://jarvi.dsl.frii.com/pub/rxtx/
@ -13,17 +13,16 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
MAINTAINER= mirror176@cox.net
COMMENT= Native interface to serial ports in Java
USES= gmake zip libtool
USES= gmake libtool zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_OS= native
GNU_CONFIGURE= yes
CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}
PREFIX= ${JAVA_HOME}/jre
NO_MTREE= yes
PLIST_SUB= ARCH=${ARCH}
PLIST_SUB= ARCH=${ARCH} JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,}
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
lib/ext/RXTXcomm.jar
lib/%%ARCH%%/librxtxParallel.so
lib/%%ARCH%%/librxtxParallel-2.2pre1.so
lib/%%ARCH%%/librxtxSerial.so
lib/%%ARCH%%/librxtxSerial-2.2pre1.so
%%JAVA_HOME%%/jre/lib/ext/RXTXcomm.jar
%%JAVA_HOME%%/jre/lib/%%ARCH%%/librxtxParallel.so
%%JAVA_HOME%%/jre/lib/%%ARCH%%/librxtxParallel-2.2pre1.so
%%JAVA_HOME%%/jre/lib/%%ARCH%%/librxtxSerial.so
%%JAVA_HOME%%/jre/lib/%%ARCH%%/librxtxSerial-2.2pre1.so