Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 06:56:42 GMT
From:      Ari Suutari <ari.suutari@syncrontech.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189697: Add staging support to comms/java-commapi
Message-ID:  <201405120656.s4C6ugPq049018@cgiserv.freebsd.org>
Resent-Message-ID: <201405120700.s4C701l3053383@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189697
>Category:       ports
>Synopsis:       Add staging support to comms/java-commapi
>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:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Ari Suutari
>Release:        
>Organization:
>Environment:
>Description:
Add support for staging.
>How-To-Repeat:

>Fix:
Apply attached patch.

Patch attached with submission follows:

--- Makefile.old	2014-05-12 08:55:30.000000000 +0300
+++ Makefile	2014-05-12 09:22:11.000000000 +0300
@@ -22,14 +22,13 @@
 WRKSRC=		${WRKDIR}
 DISTDESCR=	"the Java Communications API ${PORTVERSION} for Generic Platform"
 DOWNLOAD_URL=	"https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=JAVACOMM-3.0.1-LX-SP-G-F@CDS-CDS_SMI"
-PORTDESTDIR=	${JAVA_HOME}/jre/lib/ext
+PORTDESTDIR=	${STAGEDIR}${JAVA_HOME}/jre/lib/ext
 DISTFILE=	${DISTNAME}${EXTRACT_SUFX}
 DISTPATH=	${DISTDIR}/${DISTFILE}
 
 PLIST_SUB+=	JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
 PLIST_FILES+=	%%JAVA_HOME%%/jre/lib/ext/comm.jar
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if !exists(${DISTPATH})
@@ -38,6 +37,7 @@
 
 do-install:
 	@${ECHO} -n ">> Copying comm.jar to ${PORTDESTDIR}..."
+	@${MKDIR} ${PORTDESTDIR}
 	@${INSTALL_DATA} ${WRKSRC}/comm.jar ${PORTDESTDIR}
 	@${ECHO} " [ DONE ]"
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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