- Stage support

PR:		189697
This commit is contained in:
Martin Wilke
2014-06-04 10:33:00 +00:00
parent 4ce62690b6
commit 94289eab22

View File

@@ -22,14 +22,13 @@ NO_BUILD= YES
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 @@ IGNORE=You must manually fetch ${DISTDESCR} (${DISTFILE}) from ${DOWNLOAD_URL},
do-install:
@${ECHO} -n ">> Copying comm.jar to ${PORTDESTDIR}..."
@${MKDIR} ${PORTDESTDIR}
@${INSTALL_DATA} ${WRKSRC}/comm.jar ${PORTDESTDIR}
@${ECHO} " [ DONE ]"