View | Details | Raw Unified | Return to bug 142704
Collapse All | Expand All

(-)Makefile (-6 / +7 lines)
Lines 21-27 Link Here
21
NO_BUILD=	yes
21
NO_BUILD=	yes
22
ONLY_FOR_ARCHS=	i386
22
ONLY_FOR_ARCHS=	i386
23
23
24
RESTRICTED=	"Redistribution is not permitted"
24
RESTRICTED=	Redistribution is not permitted
25
25
26
DOWNLOAD_URL=	http://java.sun.com/products/java-media/jai/downloads/download-iio.html
26
DOWNLOAD_URL=	http://java.sun.com/products/java-media/jai/downloads/download-iio.html
27
27
Lines 32-38 Link Here
32
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
33
33
34
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
34
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
35
IGNORE=		"You must manually fetch the \"Linux Install\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again"
35
IGNORE=		you must manually fetch the "Linux Install" distribution (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
36
.endif
36
.endif
37
37
38
.if ${JAVA_PORT_OS} == "native"
38
.if ${JAVA_PORT_OS} == "native"
Lines 48-61 Link Here
48
48
49
pre-install:
49
pre-install:
50
.if defined(NOINSTALL_IN_JRE)
50
.if defined(NOINSTALL_IN_JRE)
51
		@${SED} -e "s:%%TARGET_DIR%%:${TARGET_DIR}:g" ${MASTERDIR}/pkg-message-jre > ${PKGMESSAGE}
51
SUB_FILES=	pkg-message-jre
52
SUB_LIST=	TARGET_DIR=${TARGET_DIR}
52
.endif
53
.endif
53
.if defined(WITH_PLUGINWRAPPER)
54
.if defined(WITH_PLUGINWRAPPER)
55
SUB_FILES=	pkg-message-libmap
54
.if defined(NOINSTALL_IN_JRE)
56
.if defined(NOINSTALL_IN_JRE)
55
		@${ECHO_CMD} >> ${PKGMESSAGE}
57
SUB_LIST=	LIBDIR=${TARGET_DIR}/lib
56
		@${SED} -e "s:%%LIBDIR%%:${TARGET_DIR}/lib:g" ${MASTERDIR}/pkg-message-libmap >> ${PKGMESSAGE}
57
.else
58
.else
58
		@${SED} -e "s:%%LIBDIR%%:${JAVA_HOME}/jre/lib/i386:g" ${MASTERDIR}/pkg-message-libmap > ${PKGMESSAGE}
59
SUB_LIST=	LIBDIR=${JAVA_HOME}/jre/lib/i386
59
.endif
60
.endif
60
.endif
61
.endif
61
62
(-)pkg-message-jre (-7 lines)
Removed Link Here
1
The JAI Image I/O Tools are not installed in JRE, so you have to add
2
  %%TARGET_DIR%%/jar/clibwrapper_jiio.jar
3
  %%TARGET_DIR%%/jar/jai_imageio.jar
4
  %%TARGET_DIR%%/jar/mlibwrapper_jai.jar
5
to the CLASSPATH environment variable, and add
6
  %%TARGET_DIR%%/lib
7
to the LD_LIBRARY_PATH environment variable.
(-)pkg-message-libmap (-7 lines)
Removed Link Here
1
In order to use the JAI Image I/O Tools on FreeBSD native JavaVM,
2
describe as follows to your /etc/libmap.conf.
3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4
[%%LIBDIR%%/libclib_jiio.so]
5
libm.so.6	libm.so.2
6
libc.so.6	pluginwrapper/jai.so
7
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(-)files/pkg-message-jre.in (+7 lines)
Added Link Here
1
The JAI Image I/O Tools are not installed in JRE, so you have to add
2
  %%TARGET_DIR%%/jar/clibwrapper_jiio.jar
3
  %%TARGET_DIR%%/jar/jai_imageio.jar
4
  %%TARGET_DIR%%/jar/mlibwrapper_jai.jar
5
to the CLASSPATH environment variable, and add
6
  %%TARGET_DIR%%/lib
7
to the LD_LIBRARY_PATH environment variable.
(-)files/pkg-message-libmap.in (+7 lines)
Added Link Here
1
In order to use the JAI Image I/O Tools on FreeBSD native JavaVM,
2
describe as follows to your /etc/libmap.conf.
3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4
[%%LIBDIR%%/libclib_jiio.so]
5
libm.so.6	libm.so.2
6
libc.so.6	pluginwrapper/jai.so
7
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Return to bug 142704