aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-02-14 05:28:05 +0800
committerhq <hq@FreeBSD.org>2005-02-14 05:28:05 +0800
commitc55000e2eda4ed4c3f873a5402ad358489e80e58 (patch)
treeac894426231bac9471a18c5e6406a79ee92f4c3c /java
parent52eba1976e5f576d63ec932dec2ec3807c929486 (diff)
downloadfreebsd-ports-graphics-c55000e2eda4ed4c3f873a5402ad358489e80e58.tar.gz
freebsd-ports-graphics-c55000e2eda4ed4c3f873a5402ad358489e80e58.tar.zst
freebsd-ports-graphics-c55000e2eda4ed4c3f873a5402ad358489e80e58.zip
- Update to bsd.java.mk 2.0
- ECHO_CMD -> ECHO_MSG
Diffstat (limited to 'java')
-rw-r--r--java/jai-imageio/Makefile11
-rw-r--r--java/jai/Makefile11
2 files changed, 12 insertions, 10 deletions
diff --git a/java/jai-imageio/Makefile b/java/jai-imageio/Makefile
index 57eababa162..b45f6004a76 100644
--- a/java/jai-imageio/Makefile
+++ b/java/jai-imageio/Makefile
@@ -14,7 +14,8 @@ DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION:S/./_/g}-lib-linux-i586
MAINTAINER= java@FreeBSD.org
COMMENT= Plug-ins for the Java Image I/O Framework
-USE_JAVA= 1.4+
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
NO_WRKSUBDIR= yes
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
@@ -58,10 +59,10 @@ pre-install:
.endif
do-install:
- @${ECHO_CMD} -n ">> Creating destination directory..."
+ @${ECHO_MSG} -n ">> Creating destination directory..."
@${MKDIR} ${TARGET_DIR}
- @${ECHO_CMD} " [DONE]"
- @${ECHO_CMD} -n ">> Installing libraries..."
+ @${ECHO_MSG} " [DONE]"
+ @${ECHO_MSG} -n ">> Installing libraries..."
@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT-jai_imageio.txt ${TARGET_DIR}
@${INSTALL_DATA} ${WRKSRC}/LICENSE-jai_imageio.txt ${TARGET_DIR}
@${INSTALL_DATA} ${WRKSRC}/README-jai_imageio.html ${TARGET_DIR}
@@ -77,7 +78,7 @@ do-install:
@${TEST} -e ${JAVA_HOME}/jre/lib/ext/mlibwrapper_jai.jar || ${LN} -sf ${TARGET_DIR}/jar/mlibwrapper_jai.jar ${JAVA_HOME}/jre/lib/ext
@${LN} -sf ${TARGET_DIR}/lib/libclib_jiio.so ${JAVA_HOME}/jre/lib/i386
.endif
- @${ECHO_CMD} " [DONE]"
+ @${ECHO_MSG} " [DONE]"
post-install:
.if defined(NOINSTALL_IN_JRE) || defined(WITH_PLUGINWRAPPER)
diff --git a/java/jai/Makefile b/java/jai/Makefile
index 69b0714b534..8da8067547c 100644
--- a/java/jai/Makefile
+++ b/java/jai/Makefile
@@ -15,7 +15,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}-lib-linux-i586
MAINTAINER= java@FreeBSD.org
COMMENT= High performance image processing libraries for Java
-USE_JAVA= 1.3+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g}
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
@@ -60,10 +61,10 @@ pre-install:
.endif
do-install:
- @${ECHO_CMD} -n ">> Creating destination directory..."
+ @${ECHO_MSG} -n ">> Creating destination directory..."
@${MKDIR} ${TARGET_DIR}
- @${ECHO_CMD} " [DONE]"
- @${ECHO_CMD} -n ">> Installing libraries..."
+ @${ECHO_MSG} " [DONE]"
+ @${ECHO_MSG} -n ">> Installing libraries..."
@${INSTALL_DATA} ${WRKSRC}/COPYRIGHT-jai.txt ${TARGET_DIR}
@${INSTALL_DATA} ${WRKSRC}/INSTALL-jai.txt ${TARGET_DIR}
@${INSTALL_DATA} ${WRKSRC}/LICENSE-jai.txt ${TARGET_DIR}
@@ -80,7 +81,7 @@ do-install:
@${LN} -sf ${TARGET_DIR}/jar/mlibwrapper_jai.jar ${JAVA_HOME}/jre/lib/ext
@${LN} -sf ${TARGET_DIR}/lib/libmlib_jai.so ${JAVA_HOME}/jre/lib/i386
.endif
- @${ECHO_CMD} " [DONE]"
+ @${ECHO_MSG} " [DONE]"
post-install:
.if defined(NOINSTALL_IN_JRE) || defined(WITH_PLUGINWRAPPER)