diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-10-18 10:00:24 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-10-18 10:00:24 +0000 |
commit | 9395d497c5611f28a4e642c90d01399ea97e8261 (patch) | |
tree | d38fbd9ccdc1d828ee50fc0df34ec887ee9fad6f | |
parent | db9a1185a4b478ef1cac1841ceed2c0ea19ed81e (diff) | |
download | ports-9395d497c5611f28a4e642c90d01399ea97e8261.tar.gz ports-9395d497c5611f28a4e642c90d01399ea97e8261.zip |
Notes
-rw-r--r-- | math/scilab/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile index 89f718ed2b2e..ef8a2f426d8c 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -216,8 +216,10 @@ post-patch: ${REINPLACE_CMD} -e 's|$$jardir/fop.jar|${LOCALBASE}/share/java/fop/build/fop.jar|' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|$$jardir/jeuclid-core*.jar|${LOCALBASE}/share/java/jeuclid/repo/jeuclid-core*.jar|' ${WRKSRC}/configure ${MKDIR} ${WRKSRC}/thirdparty +.if !defined(WITHOUT_GUI) ${CP} ${DISTDIR}/${JGRAPHX_JAR} ${WRKSRC}/thirdparty/jgraphx.jar ${REINPLACE_CMD} -e 's|@JGRAPHX@|${DATADIR}/modules/jgraphx.jar|g' ${WRKSRC}/etc/classpath.xml.in +.endif # Build fixes ${REINPLACE_CMD} -e 's|$$(CFLAGS:-O%=)|-I${LOCALBASE}/include -L${LOCALBASE}/lib|' ${WRKSRC}/modules/elementary_functions/Makefile.in ${REINPLACE_CMD} -e 's|freebsd|__FreeBSD__|g' ${WRKSRC}/modules/sparse/includes/spConfig.h @@ -245,6 +247,8 @@ pre-install: @${FIND} ${WRKSRC} -name \*.orig -delete @${FIND} ${WRKSRC} -name \*.bak -delete @${FIND} ${WRKSRC} -name .cvsignore -delete +.if !defined(WITHOUT_GUI) @${MKDIR} ${DATADIR}/modules && ${INSTALL_DATA} ${DISTDIR}/${JGRAPHX_JAR} ${DATADIR}/modules/jgraphx.jar +.endif .include <bsd.port.mk> |