Changeset View
Changeset View
Standalone View
Standalone View
math/maxima/Makefile
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
. endif | . endif | ||||
LISPPORT= sbcl:lang/sbcl | LISPPORT= sbcl:lang/sbcl | ||||
BINDIRECTORY= binary-sbcl | BINDIRECTORY= binary-sbcl | ||||
#LISPBINARY is null so fudge this so deinstall works cleanly | #LISPBINARY is null so fudge this so deinstall works cleanly | ||||
PLIST_SUB+= LISPBINARY="@comment " | PLIST_SUB+= LISPBINARY="@comment " | ||||
MAXIMABINARY= maxima_core | MAXIMABINARY= maxima_core | ||||
.endif | .endif | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 | |||||
# The older makeinfo from the base fails in 10.3 | |||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:print/texinfo | |||||
CONFIGURE_ENV+= MAKEINFO="${LOCALBASE}/bin/makeinfo" | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${GREP} -Fe '.core' -l -r ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ | @${GREP} -Fe '.core' -l -r ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ | ||||
-e 's;\.core;_core;g' | -e 's;\.core;_core;g' | ||||
@${FIND} -X ${WRKSRC}/interfaces/xmaxima -name 'Makefile.in' | ${XARGS} \ | @${FIND} -X ${WRKSRC}/interfaces/xmaxima -name 'Makefile.in' | ${XARGS} \ | ||||
${REINPLACE_CMD} -e "s;tclsh;${TCLSH};g" | ${REINPLACE_CMD} -e "s;tclsh;${TCLSH};g" | ||||
@${REINPLACE_CMD} -e "s;/usr;${LOCALBASE};g" ${WRKSRC}/src/intl.lisp | @${REINPLACE_CMD} -e "s;/usr;${LOCALBASE};g" ${WRKSRC}/src/intl.lisp | ||||
@${REINPLACE_CMD} -e 's;$$maxima_image_base;$${maxima_image_base};g' \ | @${REINPLACE_CMD} -e 's;$$maxima_image_base;$${maxima_image_base};g' \ | ||||
${WRKSRC}/src/maxima.in | ${WRKSRC}/src/maxima.in | ||||
Show All 12 Lines |