aboutsummaryrefslogtreecommitdiff
path: root/math/jlatexmath/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-08-25 10:03:08 +0000
commitc7c32639cce504dbfefa9d1a09034d60600acaca (patch)
tree542278ecb4449b3df78960fd5f6cf7d8be50914f /math/jlatexmath/Makefile
parent42aab3eb75f5152697ee03e5e8457ce58906e2c1 (diff)
downloadports-c7c32639cce504dbfefa9d1a09034d60600acaca.tar.gz
ports-c7c32639cce504dbfefa9d1a09034d60600acaca.zip
Notes
Diffstat (limited to 'math/jlatexmath/Makefile')
-rw-r--r--math/jlatexmath/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/jlatexmath/Makefile b/math/jlatexmath/Makefile
index 06107d850b2d..e9c5e9a3a5b7 100644
--- a/math/jlatexmath/Makefile
+++ b/math/jlatexmath/Makefile
@@ -35,8 +35,6 @@ FOP_RUN_DEPENDS:= ${FOP_BUILD_DEPENDS} \
${JAVALIBDIR}/xml-apis-ext.jar:${PORTSDIR}/textproc/xml-commons
FOP_ALL_TARGET= fop
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|/usr/share/java/fop.jar|${LOCALBASE}/share/java/fop/build/fop.jar|' ${WRKSRC}/fop.properties
${REINPLACE_CMD} -e 's|/usr/share/java/batik.jar|${LOCALBASE}/share/java/batik/batik.jar|' ${WRKSRC}/fop.properties
@@ -47,10 +45,12 @@ pre-install:
-${RMDIR} ${WRKSRC}/examples/Macros/bin
do-install:
-.if ${PORT_OPTIONS:MFOP}
- ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-fop-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jlatexmath-fop.jar
-.endif
${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jlatexmath.jar
+
+do-install-EXAMPLES-on:
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
+do-install-FOP-on:
+ ${INSTALL_DATA} ${WRKSRC}/dist/jlatexmath-fop-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/jlatexmath-fop.jar
+
.include <bsd.port.mk>