Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 23:06:39 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372473 - head/comms/rxtx
Message-ID:  <201411112306.sABN6d5o069740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Nov 11 23:06:39 2014
New Revision: 372473
URL: https://svnweb.freebsd.org/changeset/ports/372473
QAT: https://qat.redports.org/buildarchive/r372473/

Log:
  - Don't use a strange prefix
  - Strip shared libraries

Modified:
  head/comms/rxtx/Makefile
  head/comms/rxtx/pkg-plist

Modified: head/comms/rxtx/Makefile
==============================================================================
--- head/comms/rxtx/Makefile	Tue Nov 11 22:49:13 2014	(r372472)
+++ head/comms/rxtx/Makefile	Tue Nov 11 23:06:39 2014	(r372473)
@@ -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/
 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>

Modified: head/comms/rxtx/pkg-plist
==============================================================================
--- head/comms/rxtx/pkg-plist	Tue Nov 11 22:49:13 2014	(r372472)
+++ head/comms/rxtx/pkg-plist	Tue Nov 11 23:06:39 2014	(r372473)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411112306.sABN6d5o069740>