aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2011-05-11 04:57:29 +0000
committerGreg Lewis <glewis@FreeBSD.org>2011-05-11 04:57:29 +0000
commitc7611e68f6fabb5a5f6e2a7f3f9897699a5e8a28 (patch)
treea89b161f99d1fc1217d22fa16f72d1902a857688 /java
parentd96e84a01a894290f6275938d163d296e8164a5b (diff)
downloadports-c7611e68f6fabb5a5f6e2a7f3f9897699a5e8a28.tar.gz
ports-c7611e68f6fabb5a5f6e2a7f3f9897699a5e8a28.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jai-imageio/Makefile13
-rw-r--r--java/jai-imageio/files/pkg-message-jre.in (renamed from java/jai-imageio/pkg-message-jre)0
-rw-r--r--java/jai-imageio/files/pkg-message-libmap.in (renamed from java/jai-imageio/pkg-message-libmap)0
3 files changed, 7 insertions, 6 deletions
diff --git a/java/jai-imageio/Makefile b/java/jai-imageio/Makefile
index 8d127fa5197d..e2a1dd45f90d 100644
--- a/java/jai-imageio/Makefile
+++ b/java/jai-imageio/Makefile
@@ -21,7 +21,7 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
-RESTRICTED= "Redistribution is not permitted"
+RESTRICTED= Redistribution is not permitted
DOWNLOAD_URL= http://java.sun.com/products/java-media/jai/downloads/download-iio.html
@@ -32,7 +32,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
-IGNORE= "You must manually fetch the \"Linux Install\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again"
+IGNORE= you must manually fetch the "Linux Install" distribution (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
.if ${JAVA_PORT_OS} == "native"
@@ -48,14 +48,15 @@ PLIST_SUB+= INSTALL_IN_JRE=""
pre-install:
.if defined(NOINSTALL_IN_JRE)
- @${SED} -e "s:%%TARGET_DIR%%:${TARGET_DIR}:g" ${MASTERDIR}/pkg-message-jre > ${PKGMESSAGE}
+SUB_FILES= pkg-message-jre
+SUB_LIST= TARGET_DIR=${TARGET_DIR}
.endif
.if defined(WITH_PLUGINWRAPPER)
+SUB_FILES= pkg-message-libmap
.if defined(NOINSTALL_IN_JRE)
- @${ECHO_CMD} >> ${PKGMESSAGE}
- @${SED} -e "s:%%LIBDIR%%:${TARGET_DIR}/lib:g" ${MASTERDIR}/pkg-message-libmap >> ${PKGMESSAGE}
+SUB_LIST= LIBDIR=${TARGET_DIR}/lib
.else
- @${SED} -e "s:%%LIBDIR%%:${JAVA_HOME}/jre/lib/i386:g" ${MASTERDIR}/pkg-message-libmap > ${PKGMESSAGE}
+SUB_LIST= LIBDIR=${JAVA_HOME}/jre/lib/i386
.endif
.endif
diff --git a/java/jai-imageio/pkg-message-jre b/java/jai-imageio/files/pkg-message-jre.in
index 09bcfc552f4c..09bcfc552f4c 100644
--- a/java/jai-imageio/pkg-message-jre
+++ b/java/jai-imageio/files/pkg-message-jre.in
diff --git a/java/jai-imageio/pkg-message-libmap b/java/jai-imageio/files/pkg-message-libmap.in
index 3de1bfbe677b..3de1bfbe677b 100644
--- a/java/jai-imageio/pkg-message-libmap
+++ b/java/jai-imageio/files/pkg-message-libmap.in