ports/189697: Add staging support to comms/java-commapi
Ari Suutari
ari.suutari at syncrontech.com
Mon May 12 07:00:01 UTC 2014
>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:
More information about the freebsd-ports-bugs
mailing list