aboutsummaryrefslogtreecommitdiffstats
path: root/math
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
parent3c2e4540271526c6787284e077a21a299c4ae05e (diff)
downloadfreebsd-ports-graphics-8c131cd4dca963b28e13ef22af47e40dd499a1ab.tar.gz
freebsd-ports-graphics-8c131cd4dca963b28e13ef22af47e40dd499a1ab.tar.zst
freebsd-ports-graphics-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')
-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 78d5545f3df..0d026963b6c 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