aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk-java
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-04-25 11:47:49 +0800
committerlawrance <lawrance@FreeBSD.org>2005-04-25 11:47:49 +0800
commit8c131cd4dca963b28e13ef22af47e40dd499a1ab (patch)
treee717f3f4e7280799a5626a1dc7c784e11c56df3f /math/vtk-java
parent3c2e4540271526c6787284e077a21a299c4ae05e (diff)
downloadfreebsd-ports-gnome-8c131cd4dca963b28e13ef22af47e40dd499a1ab.tar.gz
freebsd-ports-gnome-8c131cd4dca963b28e13ef22af47e40dd499a1ab.tar.zst
freebsd-ports-gnome-8c131cd4dca963b28e13ef22af47e40dd499a1ab.zip
Fix plist error - only create example directories when WITH_TESTING is set.
Reported by: pointykris Approved by: clement (mentor, implicit)
Diffstat (limited to 'math/vtk-java')
-rw-r--r--math/vtk-java/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/vtk-java/Makefile b/math/vtk-java/Makefile
index 78d5545f3dfd..0d026963b6c4 100644
--- a/math/vtk-java/Makefile
+++ b/math/vtk-java/Makefile
@@ -65,10 +65,10 @@ do-install: install-cnotice install-binaries install-libs
@${ECHO_MSG} "Installing ${DESTJARFILE} to ${JAVAJARDIR} ..."
@${INSTALL_DATA} ${WRKSRC}/bin/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
+.if defined(WITH_TESTING)
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${TESTINGDIR}
@${MKDIR} ${TESTINGDIR}/Java
-.if defined(WITH_TESTING)
@${ECHO_MSG} "Installing Java tests to ${TESTINGDIR}/Java ..."
.for i in AxesActor SimpleVTK TestVTKCanvas TestInternalFrames ImagePlaneWidget
@${INSTALL_DATA} ${WRKSRC}/Wrapping/Java/${i}*.class ${TESTINGDIR}/Java