Lines 34-40
Link Here
|
34 |
PACKED_JARS= lib/charsets lib/deploy lib/ext/localedata lib/javaws lib/jsse lib/plugin lib/rt |
34 |
PACKED_JARS= lib/charsets lib/deploy lib/ext/localedata lib/javaws lib/jsse lib/plugin lib/rt |
35 |
UNPACK_CMD= ${WRKSRC}/bin/unpack200 |
35 |
UNPACK_CMD= ${WRKSRC}/bin/unpack200 |
36 |
|
36 |
|
37 |
NO_STAGE= yes |
|
|
38 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
39 |
|
38 |
|
40 |
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) |
39 |
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) |
Lines 56-73
Link Here
|
56 |
|
55 |
|
57 |
post-patch: |
56 |
post-patch: |
58 |
${REINPLACE_CMD} -i.orig -e 's:^#!/bin/bash:#!/bin/sh:' ${WRKSRC}/bin/jcontrol |
57 |
${REINPLACE_CMD} -i.orig -e 's:^#!/bin/bash:#!/bin/sh:' ${WRKSRC}/bin/jcontrol |
59 |
@${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f |
58 |
@${FIND} ${WRKSRC} -name '*.orig' -delete |
60 |
|
59 |
|
61 |
# XXX: This is missing a "${BRANDELF} -t Linux <executables>". |
60 |
# XXX: This is missing a "${BRANDELF} -t Linux <executables>". |
62 |
|
61 |
|
63 |
do-install: |
62 |
do-install: |
64 |
${MKDIR} ${APP_HOME} |
63 |
${MKDIR} ${STAGEDIR}${APP_HOME} |
65 |
cd ${WRKSRC} && ${FIND} . -print \ |
64 |
cd ${WRKSRC} && ${FIND} . -print \ |
66 |
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${APP_HOME} |
65 |
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${STAGEDIR}${APP_HOME} |
67 |
|
66 |
|
68 |
post-install: |
67 |
post-install: |
69 |
${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Sun-JRE${PORTVERSION}" |
68 |
${SED} -e "s:%%JRE_HOME%%:${APP_HOME}:g; \ |
70 |
${SED} -e "s:%%JRE_HOME%%:${APP_HOME}:g" \ |
69 |
s:%%STAGEDIR%%:${STAGEDIR}:" \ |
71 |
< ${FILESDIR}/pkg-install.in > ${PKGINSTALL} |
70 |
< ${FILESDIR}/pkg-install.in > ${PKGINSTALL} |
72 |
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
71 |
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
73 |
|
72 |
|