Lines 46-54
Link Here
|
46 |
TEST_DESC= Add support for running regression test |
46 |
TEST_DESC= Add support for running regression test |
47 |
.endif |
47 |
.endif |
48 |
|
48 |
|
49 |
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall |
|
|
50 |
PKGINSTALL= ${WRKDIR}/pkg-install |
51 |
|
52 |
USES= compiler gmake iconv motif tar:xz |
49 |
USES= compiler gmake iconv motif tar:xz |
53 |
|
50 |
|
54 |
.include <bsd.port.options.mk> |
51 |
.include <bsd.port.options.mk> |
Lines 320-327
Link Here
|
320 |
${STAGEDIR}${PREFIX}/openjdk6-fastdebug/jre/lib/${ARCH} |
317 |
${STAGEDIR}${PREFIX}/openjdk6-fastdebug/jre/lib/${ARCH} |
321 |
.endif |
318 |
.endif |
322 |
.endif |
319 |
.endif |
323 |
@${ECHO_CMD} "#!/bin/sh" > ${PKGDEINSTALL} |
|
|
324 |
@${ECHO_CMD} "#!/bin/sh" > ${PKGINSTALL} |
325 |
.if defined(BUILD_JRE) |
320 |
.if defined(BUILD_JRE) |
326 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-jre && \ |
321 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-jre && \ |
327 |
${FIND} -s . -not -type d | \ |
322 |
${FIND} -s . -not -type d | \ |
Lines 329-336
Link Here
|
329 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-jre && \ |
324 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-jre && \ |
330 |
${FIND} -s . -type d -empty | \ |
325 |
${FIND} -s . -type d -empty | \ |
331 |
${SED} 's,^\./,@dir openjdk6-jre/,' >> ${TMPPLIST} |
326 |
${SED} 's,^\./,@dir openjdk6-jre/,' >> ${TMPPLIST} |
332 |
@${ECHO_CMD} '${TEST} $$2 = DEINSTALL && ${LOCALBASE}/bin/unregistervm ${PREFIX}/openjdk6-jre/bin/java' >> ${PKGDEINSTALL} |
327 |
@${ECHO_CMD} '@javawm ${PREFIX}/openjdk6-jre/bin/java' >> ${TMPPLIST} |
333 |
@${ECHO_CMD} '${TEST} $$2 = POST-INSTALL && ${LOCALBASE}/bin/registervm "${PREFIX}/openjdk6-jre/bin/java # OpenJDK6 JRE"' >> ${PKGINSTALL} |
|
|
334 |
.else |
328 |
.else |
335 |
@cd ${STAGEDIR}${PREFIX}/openjdk6 && \ |
329 |
@cd ${STAGEDIR}${PREFIX}/openjdk6 && \ |
336 |
${FIND} -s . -not -type d | \ |
330 |
${FIND} -s . -not -type d | \ |
Lines 338-345
Link Here
|
338 |
@cd ${STAGEDIR}${PREFIX}/openjdk6 && \ |
332 |
@cd ${STAGEDIR}${PREFIX}/openjdk6 && \ |
339 |
${FIND} -s . -type d -empty | \ |
333 |
${FIND} -s . -type d -empty | \ |
340 |
${SED} 's,^\./,@dir openjdk6/,' >> ${TMPPLIST} |
334 |
${SED} 's,^\./,@dir openjdk6/,' >> ${TMPPLIST} |
341 |
@${ECHO_CMD} '${TEST} $$2 = DEINSTALL && ${LOCALBASE}/bin/unregistervm ${PREFIX}/openjdk6/bin/java' >> ${PKGDEINSTALL} |
335 |
@${ECHO_CMD} '@javawm ${PREFIX}/openjdk6/bin/java' >> ${TMPPLIST} |
342 |
@${ECHO_CMD} '${TEST} $$2 = POST-INSTALL && ${LOCALBASE}/bin/registervm "${PREFIX}/openjdk6/bin/java # OpenJDK6"' >> ${PKGINSTALL} |
|
|
343 |
.if ${PORT_OPTIONS:MFASTDEBUG} |
336 |
.if ${PORT_OPTIONS:MFASTDEBUG} |
344 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-fastdebug && \ |
337 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-fastdebug && \ |
345 |
${FIND} -s . -not -type d | \ |
338 |
${FIND} -s . -not -type d | \ |
Lines 347-357
Link Here
|
347 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-fastdebug && \ |
340 |
@cd ${STAGEDIR}${PREFIX}/openjdk6-fastdebug && \ |
348 |
${FIND} -s . -type d -empty | \ |
341 |
${FIND} -s . -type d -empty | \ |
349 |
${SED} 's,^\./,@dir openjdk6-fastdebug/,' >> ${TMPPLIST} |
342 |
${SED} 's,^\./,@dir openjdk6-fastdebug/,' >> ${TMPPLIST} |
350 |
@${ECHO_CMD} '${TEST} $$2 = DEINSTALL && ${LOCALBASE}/bin/unregistervm ${PREFIX}/openjdk6-fastdebug/bin/java' >> ${PKGDEINSTALL} |
343 |
@${ECHO_CMD} "@javavm ${PREFIX}/openjdk6-fastdebug/bin/java" >> ${TMPPLIST} |
351 |
@${ECHO_CMD} '${TEST} $$2 = POST-INSTALL && ${LOCALBASE}/bin/registervm "${PREFIX}/openjdk6-fastdebug/bin/java # OpenJDK6"' >> ${PKGINSTALL} |
|
|
352 |
.endif |
344 |
.endif |
353 |
.endif |
345 |
.endif |
354 |
@${ECHO_CMD} "exit 0" >> ${PKGDEINSTALL} |
|
|
355 |
@${ECHO_CMD} "exit 0" >> ${PKGINSTALL} |
356 |
|
346 |
|
357 |
.include <bsd.port.post.mk> |
347 |
.include <bsd.port.post.mk> |